Changeset 6656 for code/branches/gamestate
- Timestamp:
- Mar 30, 2010, 11:28:21 AM (15 years ago)
- Location:
- code/branches/gamestate/src/libraries/core/input
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestate/src/libraries/core/input/InputManager.h
r6537 r6656 40 40 #include "util/TriBool.h" 41 41 #include "core/WindowEventListener.h" 42 #include "InputState.h"43 42 44 43 // tolua_begin -
code/branches/gamestate/src/libraries/core/input/InputPrereqs.h
r6417 r6656 42 42 #include <ois/OISMouse.h> 43 43 #include <ois/OISJoyStick.h> 44 #include "util/OrxEnum.h" 44 45 45 46 namespace orxonox … … 448 449 }; 449 450 } 451 452 //! Enumeration wrapper for input state priorities 453 struct InputStatePriority : OrxEnum<InputStatePriority> 454 { 455 OrxEnumConstructors(InputStatePriority); 456 457 static const int Empty = -1; 458 static const int Dynamic = 0; 459 460 static const int HighPriority = 1000; 461 static const int Console = HighPriority + 0; 462 static const int Calibrator = HighPriority + 1; 463 static const int Detector = HighPriority + 2; 464 }; 450 465 } 451 466 -
code/branches/gamestate/src/libraries/core/input/InputState.h
r6537 r6656 36 36 #include <vector> 37 37 38 #include "util/OrxEnum.h"39 38 #include "util/TriBool.h" 40 39 #include "InputHandler.h" … … 43 42 namespace orxonox 44 43 { 45 //! Enumeration wrapper for input state priorities46 struct InputStatePriority : OrxEnum<InputStatePriority>47 {48 OrxEnumConstructors(InputStatePriority);49 50 static const int Empty = -1;51 static const int Dynamic = 0;52 53 static const int HighPriority = 1000;54 static const int Console = HighPriority + 0;55 static const int Calibrator = HighPriority + 1;56 static const int Detector = HighPriority + 2;57 };58 59 60 44 /** 61 45 @brief
Note: See TracChangeset
for help on using the changeset viewer.