Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10698 in orxonox.OLD for trunk/src/lib/event


Ignore:
Timestamp:
Jun 14, 2007, 5:33:43 PM (18 years ago)
Author:
snellen
Message:

merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!

Location:
trunk/src/lib/event
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/key_mapper.cc

    r10638 r10698  
    4747int KeyMapper::PEV_JUMP              = EV_UNKNOWN;
    4848int KeyMapper::PEV_ACTION            = EV_UNKNOWN;
     49int KeyMapper::PEV_CROUCH            = EV_UNKNOWN;
    4950
    5051int KeyMapper::PEV_FIRE1             = EV_UNKNOWN;
     
    8788      {&KeyMapper::PEV_JUMP,                 CONFIG_NAME_PLAYER_JUMP,            SDLK_SPACE},
    8889      {&KeyMapper::PEV_ACTION,               CONFIG_NAME_PLAYER_ACTION,          SDLK_u},
     90      {&KeyMapper::PEV_CROUCH,               CONFIG_NAME_PLAYER_CROUCH,          SDLK_LCTRL},
     91
    8992
    9093      {&KeyMapper::PEV_FIRE1,                CONFIG_NAME_PLAYER_FIRE,            EV_MOUSE_BUTTON_LEFT},
  • trunk/src/lib/event/key_mapper.h

    r10638 r10698  
    5858  static int PEV_JUMP;              //!< jump
    5959  static int PEV_ACTION;            //!< the action (or use) key
     60  static int PEV_CROUCH;            //!< crouch
    6061
    6162  static int PEV_FIRE1;             //!< fire button 1
Note: See TracChangeset for help on using the changeset viewer.