diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2004-03-23 01:02:18 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2004-03-23 01:02:18 +0300 |
commit | 00291b5cf4a0f16ddca425b74ed30e8ac35d40e2 (patch) | |
tree | 952bb1c2f6fd8c2f34b950597ed0fa73a4ea7594 /source/gameengine/GameLogic/SCA_KeyboardManager.cpp | |
parent | 5b90aafbd6815e29343f8e9aba9e3e20f85b3cc0 (diff) |
[GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics.
[SCons] Build with Solid as default when enabling the gameengine in the build process
[SCons] Build solid and qhull from the extern directory and link statically against them
That was about it.
There are a few things that needs double checking:
* Makefiles
* Projectfiles
* All the other systems than Linux and Windows on which the build (with scons) has been successfully tested.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_KeyboardManager.cpp')
-rw-r--r-- | source/gameengine/GameLogic/SCA_KeyboardManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/GameLogic/SCA_KeyboardManager.cpp b/source/gameengine/GameLogic/SCA_KeyboardManager.cpp index 79dbdbe0dc6..039f0c14801 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardManager.cpp +++ b/source/gameengine/GameLogic/SCA_KeyboardManager.cpp @@ -46,8 +46,8 @@ SCA_KeyboardManager::SCA_KeyboardManager(SCA_LogicManager* logicmgr, SCA_IInputDevice* inputdev) : SCA_EventManager(KEYBOARD_EVENTMGR), - m_logicmanager(logicmgr), - m_inputDevice(inputdev) + m_inputDevice(inputdev), + m_logicmanager(logicmgr) { } @@ -70,7 +70,7 @@ void SCA_KeyboardManager::NextFrame(double curtime,double deltatime) { //const SCA_InputEvent& event = GetEventValue(SCA_IInputDevice::KX_EnumInputs inputcode)=0; // cerr << "SCA_KeyboardManager::NextFrame"<< endl; - for (int i=0;i<m_sensors.size();i++) + for (unsigned int i=0;i<m_sensors.size();i++) { SCA_KeyboardSensor* keysensor = (SCA_KeyboardSensor*)m_sensors[i]; keysensor->Activate(m_logicmanager,NULL); |