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/ExtendedInputState.cc

    r2907 r2908  
    402402    }
    403403
    404     void ExtendedInputState::updateInput(float dt)
     404    void ExtendedInputState::tickInput(float dt)
    405405    {
    406406        for (unsigned int i = 0; i < allHandlers_.size(); ++i)
    407407        {
    408             allHandlers_[i]->updateInput(dt);
    409         }
    410     }
    411 
    412     void ExtendedInputState::updateInput(float dt, unsigned int device)
     408            allHandlers_[i]->tickInput(dt);
     409        }
     410    }
     411
     412    void ExtendedInputState::tickInput(float dt, unsigned int device)
    413413    {
    414414        switch (device)
     
    416416        case Keyboard:
    417417            for (unsigned int i = 0; i < keyHandlers_.size(); ++i)
    418                 keyHandlers_[i]->updateKey(dt);
     418                keyHandlers_[i]->tickKey(dt);
    419419            break;
    420420
    421421        case Mouse:
    422422            for (unsigned int i = 0; i < mouseHandlers_.size(); ++i)
    423                 mouseHandlers_[i]->updateMouse(dt);
     423                mouseHandlers_[i]->tickMouse(dt);
    424424            break;
    425425
    426426        default: // joy sticks
    427427            for (unsigned int i = 0; i < joyStickHandlers_[device - 2].size(); ++i)
    428                 joyStickHandlers_[device - 2][i]->updateJoyStick(dt, device - 2);
     428                joyStickHandlers_[device - 2][i]->tickJoyStick(dt, device - 2);
    429429            break;
    430430        }
Note: See TracChangeset for help on using the changeset viewer.