Changeset 4368 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 28, 2005, 4:16:27 PM (20 years ago)
- Location:
- orxonox/trunk/src/util/event
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/event/event_handler.h
r4366 r4368 48 48 private: 49 49 EventHandler(void); 50 51 static EventHandler* singletonRef; 52 53 54 public: 55 /* i will make a special class for the key mappings incl ini parsing! TEMP only: */ 56 static int PEV_UP; 57 static int PEV_DOWN; 58 static int PEV_LEFT; 59 static int PEV_RIGHT; 60 61 static int PEV_STRAFE_LEFT; 62 static int PEV_STRAFE_RIGHT; 63 64 static int PEV_FIRE1; 65 static int PEV_FIRE2; 66 67 static int PEV_VIEW1; 68 static int PEV_VIEW2; 69 static int PEV_VIEW3; 70 static int PEV_VIEW4; 50 71 51 72 52 private: 53 static EventHandler* singletonRef; 73 54 KeyBindings* keyAliases; 74 55 EventListener*** listeners; //!< a list of registered listeners -
orxonox/trunk/src/util/event/key_mapper.h
r4367 r4368 20 20 virtual ~KeyMapper(); 21 21 22 void loadKeyBindings(const char* fileName); 23 24 private: 25 int* nameToIndex (char* name); 26 27 public: 28 static int PEV_UP; 29 static int PEV_DOWN; 30 static int PEV_LEFT; 31 static int PEV_RIGHT; 32 33 static int PEV_STRAFE_LEFT; 34 static int PEV_STRAFE_RIGHT; 35 36 static int PEV_FIRE1; 37 static int PEV_FIRE2; 38 39 static int PEV_VIEW1; 40 static int PEV_VIEW2; 41 static int PEV_VIEW3; 42 static int PEV_VIEW4; 43 44 private: 45 KeyBindings* keyAliases; 22 46 }; 23 47
Note: See TracChangeset
for help on using the changeset viewer.