Changeset 1428 for code/branches/network/src/core/InputManager.h
- Timestamp:
- May 26, 2008, 11:36:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/InputManager.h
r1426 r1428 65 65 public: 66 66 IntVector2 sliderStates[4]; 67 }; 68 69 /** 70 * Struct for storing a custom input state 71 */ 72 struct StoredState 73 { 74 std::vector<KeyHandler*> activeKeyHandlers_; 75 std::vector<MouseHandler*> activeMouseHandlers_; 76 std::vector<std::vector<JoyStickHandler*> > activeJoyStickHandlers_; 77 std::vector<std::pair<InputTickable*, HandlerState> > activeHandlers_; 67 78 }; 68 79 … … 158 169 void _updateTickables(); 159 170 171 void _saveState(); 172 void _restoreState(); 173 160 174 void tick(float dt); 161 175 … … 191 205 unsigned int keyboardModifiers_; 192 206 InputState savedState_; 207 StoredState savedHandlers_; 193 208 194 209 //! Keeps track of the joy stick POV states
Note: See TracChangeset
for help on using the changeset viewer.