Changeset 1414 for code/branches/network/src/core
- Timestamp:
- May 24, 2008, 10:08:42 PM (17 years ago)
- Location:
- code/branches/network/src/core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/CorePrereqs.h
r1413 r1414 35 35 #define _CorePrereqs_H__ 36 36 37 #include " OrxonoxPlatform.h"37 #include "util/OrxonoxPlatform.h" 38 38 39 39 #include <string> -
code/branches/network/src/core/InputManager.cc
r1413 r1414 421 421 422 422 case IS_GUI: 423 // TODO: do stuff424 423 break; 425 424 -
code/branches/network/src/core/KeyBinder.cc
r1413 r1414 188 188 // check for param command 189 189 int paramIndex = eval.getEvaluatedExecutor()->getAxisParamIndex(); 190 // TODO: check in Executor for correct paramIndex191 190 if (paramIndex >= 0) 192 191 { … … 231 230 cmd->evaluation_ = eval; 232 231 233 //TODO: check CommandEvaluation for correct KeybindMode234 232 if (mode == KeybindMode::None) 235 233 mode = eval.getEvaluatedExecutor()->getKeybindMode(); … … 757 755 void KeyBinder::joyStickAxisMoved(int joyStickID, int axis, int value) 758 756 { 759 // TODO: check whether 16 bit integer as general axis value is a good idea (works under windows)757 // TODO: Use proper calibration values instead of generally 16-bit integer 760 758 int i = 8 + axis * 2; 761 759 if (value >= 0) -
code/branches/network/src/core/KeyBinder.h
r1413 r1414 48 48 namespace orxonox 49 49 { 50 class _CoreExport BaseCommand51 {52 public:53 virtual ~BaseCommand() { }54 virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0;55 };56 57 50 class _CoreExport BufferedParamCommand 58 51 { … … 65 58 int paramIndex_; 66 59 CommandEvaluation evaluation_; 60 }; 61 62 class _CoreExport BaseCommand 63 { 64 public: 65 virtual ~BaseCommand() { } 66 virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0; 67 67 }; 68 68
Note: See TracChangeset
for help on using the changeset viewer.