Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9876 in orxonox.OLD for trunk/src/lib/event/event_def.h


Ignore:
Timestamp:
Oct 3, 2006, 2:38:31 PM (18 years ago)
Author:
bensch
Message:

compiles better on Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_def.h

    r8148 r9876  
    88
    99#ifdef HAVE_SDL_H
    10 #include "SDL_keysym.h"
     10 #include "SDL_keysym.h"
    1111#else
    12 #include "SDL/SDL_keysym.h"
     12 #include "SDL/SDL_keysym.h"
    1313#endif
    1414
    15 
    1615//! these are the extended event types, that are not included in SDL_keysym
    17 typedef enum extEventTyes
    18 {
     16typedef enum {
    1917  EV_MOUSE_BUTTON_LEFT           = SDLK_LAST + 1,
    2018  EV_MOUSE_BUTTON_MIDDLE,
     
    3735
    3836  EV_NUMBER
    39 };
     37} extEventTyes;
    4038
    4139
    4240//! this is an enumeration of all states of the event_handler/game
    43 typedef enum elState
     41typedef enum
    4442{
    4543  ES_NULL         = -1,
     
    4846  ES_MENU         = 2,       //!< orxonox menu state
    4947  ES_SHELL        = 3,       //!< if we are in shell Modus
    50 
     48 
    5149  ES_ALL          = 4,       //!< you want to register events for all states
    5250
    53   ES_NUMBER       = 5,       //!< the number of states
    54 };
    55 
    56 
    57 
     51  ESTATE_NUMBER   = 5        //!< the number of states < Namespace-problem in windows.
     52} elState;
    5853
    5954#endif /* _EVENT_DEF_H */
Note: See TracChangeset for help on using the changeset viewer.