Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4452 in orxonox.OLD for orxonox/trunk/src/util/event/key_mapper.h


Ignore:
Timestamp:
Jun 1, 2005, 11:18:44 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: key_mapper.* commented and reviewed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/event/key_mapper.h

    r4412 r4452  
    1313
    1414
    15 
    16 
    17 
     15//! A mapping from key-name to key-id
    1816typedef struct orxKeyMapping
    1917{
     
    3937
    4038 public:
    41   static int PEV_UP;
    42   static int PEV_DOWN;
    43   static int PEV_LEFT;
    44   static int PEV_RIGHT;
     39  static int PEV_UP;                //!< up button
     40  static int PEV_DOWN;              //!< down buttton
     41  static int PEV_LEFT;              //!< left button
     42  static int PEV_RIGHT;             //!< right button
    4543 
    46   static int PEV_STRAFE_LEFT;
    47   static int PEV_STRAFE_RIGHT;
     44  static int PEV_STRAFE_LEFT;       //!< strafe left button
     45  static int PEV_STRAFE_RIGHT;      //!< strafe right button
    4846 
    49   static int PEV_FIRE1;
    50   static int PEV_FIRE2;
    51   static int PEV_PREVIOUS_WEAPON;
    52   static int PEV_NEXT_WEAPON;
     47  static int PEV_FIRE1;             //!< fire button 1
     48  static int PEV_FIRE2;             //!< fire button 2
     49  static int PEV_PREVIOUS_WEAPON;   //!< prev weapon button
     50  static int PEV_NEXT_WEAPON;       //!< next weapon button
    5351
    54   static int PEV_VIEW0;
    55   static int PEV_VIEW1;
    56   static int PEV_VIEW2;
    57   static int PEV_VIEW3;
    58   static int PEV_VIEW4;
    59   static int PEV_VIEW5;
     52  static int PEV_VIEW0;             //!< view 0 button
     53  static int PEV_VIEW1;             //!< view 1 button
     54  static int PEV_VIEW2;             //!< view 2 button
     55  static int PEV_VIEW3;             //!< view 3 button
     56  static int PEV_VIEW4;             //!< view 4 button
     57  static int PEV_VIEW5;             //!< view 5 button
    6058
    61   static int PEV_NEXT_WORLD;
    62   static int PEV_PREVIOUS_WORLD;
     59  static int PEV_NEXT_WORLD;        //!< next world button
     60  static int PEV_PREVIOUS_WORLD;    //!< prev world button
    6361
    64   static int PEV_PAUSE;
    65   static int PEV_QUIT;
     62  static int PEV_PAUSE;             //!< pause button
     63  static int PEV_QUIT;              //!< quit button
    6664
    6765 private:
    68   Sint32 coord[2];
     66  Sint32 coord[2];                   //!< temp place to save variables in nameToIndex() function
    6967};
    7068
Note: See TracChangeset for help on using the changeset viewer.