[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.
This commit is contained in:
@@ -52,8 +52,8 @@
|
||||
SCA_MouseManager::SCA_MouseManager(SCA_LogicManager* logicmgr,
|
||||
SCA_IInputDevice* mousedev)
|
||||
: SCA_EventManager(MOUSE_EVENTMGR),
|
||||
m_logicmanager(logicmgr),
|
||||
m_mousedevice (mousedev)
|
||||
m_mousedevice (mousedev),
|
||||
m_logicmanager(logicmgr)
|
||||
{
|
||||
m_xpos = 0;
|
||||
m_ypos = 0;
|
||||
@@ -78,7 +78,7 @@ void SCA_MouseManager::NextFrame(double curtime,double deltatime)
|
||||
{
|
||||
if (m_mousedevice)
|
||||
{
|
||||
for (int i = 0; i < m_sensors.size(); i++)
|
||||
for (unsigned int i = 0; i < m_sensors.size(); i++)
|
||||
{
|
||||
SCA_MouseSensor* mousesensor = (SCA_MouseSensor*) m_sensors[i];
|
||||
// (0,0) is the Upper Left corner in our local window
|
||||
|
||||
Reference in New Issue
Block a user