Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2009, 1:59:00 AM (15 years ago)
Author:
landauf
Message:

Merged gui branch back to trunk.

I did 2 small changes in IngameManager.cc on line 777 and 888 (yes, really), because const_reverse_iterator strangely doesn't work on MinGW.

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/core/input/KeyBinder.cc

    r2713 r2896  
    4242#include "core/CoreIncludes.h"
    4343#include "core/ConfigFileManager.h"
    44 #include "core/Core.h"
    4544#include "InputCommands.h"
    4645#include "InputManager.h"
     
    309308    }
    310309
    311     void KeyBinder::tickMouse(float dt)
     310    void KeyBinder::updateMouse(float dt)
    312311    {
    313312        if (bDeriveMouseInput_)
     
    349348            // Why dividing relative value by dt? The reason lies in the simple fact, that when you
    350349            // press a button that has relative movement, that value has to be multiplied by dt to be
    351             // frame rate independent. This can easily (and only) be done in tickInput(float).
     350            // frame rate independent. This can easily (and only) be done in updateInput(float).
    352351            // Hence we need to divide by dt here for the mouse to compensate, because the relative
    353352            // move movements have nothing to do with dt.
     
    362361    }
    363362
    364     void KeyBinder::tickJoyStick(float dt, unsigned int joyStick)
     363    void KeyBinder::updateJoyStick(float dt, unsigned int joyStick)
    365364    {
    366365        for (unsigned int i = 0; i < JoyStickAxisCode::numberOfAxes * 2; i++)
Note: See TracChangeset for help on using the changeset viewer.