Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2009, 10:34:54 AM (16 years ago)
Author:
rgrieder
Message:

Renaming "tick" to "update" for all those classes not inheriting from Tickable to avoid confusions.
GameState::ticked still exists, but that's going to change anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/input/KeyBinder.cc

    r2713 r2800  
    309309    }
    310310
    311     void KeyBinder::tickMouse(float dt)
     311    void KeyBinder::updateMouse(float dt)
    312312    {
    313313        if (bDeriveMouseInput_)
     
    349349            // Why dividing relative value by dt? The reason lies in the simple fact, that when you
    350350            // 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).
     351            // frame rate independent. This can easily (and only) be done in updateInput(float).
    352352            // Hence we need to divide by dt here for the mouse to compensate, because the relative
    353353            // move movements have nothing to do with dt.
     
    362362    }
    363363
    364     void KeyBinder::tickJoyStick(float dt, unsigned int joyStick)
     364    void KeyBinder::updateJoyStick(float dt, unsigned int joyStick)
    365365    {
    366366        for (unsigned int i = 0; i < JoyStickAxisCode::numberOfAxes * 2; i++)
Note: See TracChangeset for help on using the changeset viewer.