[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/input controller.cxx,1.26,1.27 contro
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/input controller.cxx,1.26,1.27 controller.hxx,1.17,1.18 |
Date: |
15 Apr 2003 19:06:52 -0000 |
Update of /var/lib/cvs/Games/Pingus/src/input
In directory dark:/tmp/cvs-serv5042/input
Modified Files:
controller.cxx controller.hxx
Log Message:
- removed obsolete mouse show/hide stuff
- fixed software cursor a bit
- made the current controller globally reachable
Index: controller.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/input/controller.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- controller.cxx 20 Dec 2002 01:22:32 -0000 1.26
+++ controller.cxx 15 Apr 2003 19:06:50 -0000 1.27
@@ -43,6 +43,8 @@
using namespace Pointers;
using namespace Scrollers;
+Controller* Controller::current_controller = 0;
+
Controller::Controller (const std::string& configfile)
: standard_pointer(0),
scroller(0),
Index: controller.hxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/input/controller.hxx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- controller.hxx 20 Dec 2002 01:22:32 -0000 1.17
+++ controller.hxx 15 Apr 2003 19:06:50 -0000 1.18
@@ -62,7 +62,12 @@
void update (float delta);
+ static void set_current(Controller* controller) { current_controller =
controller; }
+ static Controller* get_current() { return current_controller; }
+
private:
+ static Controller* current_controller;
+
void create_action_buttons (xmlNodePtr cur);
Controller (const Controller&);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/input controller.cxx,1.26,1.27 controller.hxx,1.17,1.18,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/gui cursor.cxx,1.1,1.2 display.cxx,1.1,1.2 display.hxx,1.1,1.2 screen_manager.cxx,1.7,1.8
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.49,1.50 object_selector.cxx,1.37,1.38
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/gui cursor.cxx,1.1,1.2 display.cxx,1.1,1.2 display.hxx,1.1,1.2 screen_manager.cxx,1.7,1.8
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.49,1.50 object_selector.cxx,1.37,1.38
- Index(es):