Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/core/input/SimpleInputState.h

    r2907 r2908  
    5959        ~SimpleInputState() { }
    6060
    61         void updateInput(float dt);
    62         void updateInput(float dt, unsigned int device);
     61        void tickInput(float dt);
     62        void tickInput(float dt, unsigned int device);
    6363
    6464        void keyPressed (const KeyEvent& evt);
     
    8787    };
    8888
    89     inline void SimpleInputState::updateInput(float dt)
     89    inline void SimpleInputState::tickInput(float dt)
    9090    {
    9191        for (unsigned int i = 0; i < allHandlers_.size(); ++i)
    9292        {
    93             allHandlers_[i]->updateInput(dt);
     93            allHandlers_[i]->tickInput(dt);
    9494        }
    9595    }
    9696
    97     inline void SimpleInputState::updateInput(float dt, unsigned int device)
     97    inline void SimpleInputState::tickInput(float dt, unsigned int device)
    9898    {
    9999        switch (device)
     
    101101        case InputDevice::Keyboard:
    102102            if (keyHandler_)
    103                 keyHandler_->updateKey(dt);
     103                keyHandler_->tickKey(dt);
    104104            break;
    105105
    106106        case InputDevice::Mouse:
    107107            if (mouseHandler_)
    108                 mouseHandler_->updateMouse(dt);
     108                mouseHandler_->tickMouse(dt);
    109109            break;
    110110
    111111        default: // joy sticks
    112112            if (joyStickHandler_[device - 2])
    113                 joyStickHandler_[device - 2]->updateJoyStick(dt, device - 2);
     113                joyStickHandler_[device - 2]->tickJoyStick(dt, device - 2);
    114114            break;
    115115        }
Note: See TracChangeset for help on using the changeset viewer.