Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4364 in orxonox.OLD for orxonox/trunk/src/util/event/event_handler.h


Ignore:
Timestamp:
May 28, 2005, 3:14:43 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: filled the flush function with more sense :) and rearanged some structures

File:
1 edited

Legend:

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

    r4362 r4364  
    1515
    1616
    17 #define N_STD_KEYS SDLK_LAST
    18 #define N_BUTTONS 6
    19 #define DEFAULT_KEYBIND_FILE "~/.orxonox/orxonox.conf"
    20 
    21 typedef enum elState
    22   {
    23     ES_GAME,
    24     ES_GAME_MENU,
    25     ES_MENU,
    26 
    27     ES_ALL,
    28 
    29     ES_NUMBER,
    30   };
    3117
    3218//! Key aliasing structure
     
    5339  void subscribeListener(EventListener* el, elState state, int eventType);
    5440  void unsubscribeListener(int eventType, elState state);
    55   void flush();
     41  void flush(elState state);
    5642 
    5743  void loadKeyBindings(const char* fileName);
Note: See TracChangeset for help on using the changeset viewer.