Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 2, 2005, 10:55:47 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: 1. the crosshair is registered, @patrick: i thought it was a little bit harder… worked myself through the EventSystem, it is quite cool :)

  1. Player now knows a loadParams and init routine

also testing the Crosshair inside of the Player

File:
1 edited

Legend:

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

    r4662 r4780  
    1818//! these are the extended event types, that are not included in SDL_keysym
    1919typedef enum extEventTyes
    20   {
    21     EV_MOUSE_BUTTON_LEFT = SDLK_LAST,
    22     EV_MOUSE_BUTTON_MIDDLE,
    23     EV_MOUSE_BUTTON_RIGHT,
    24     EV_MOUSE_BUTTON_WHEELUP,
    25     EV_MOUSE_BUTTON_WHEELDOWN,
    26     EV_MOUSE_MOTION,
    27     EV_JOY_AXIS_MOTION,
    28     EV_JOY_BALL_MOTION,
    29     EV_JOY_HAT_MOTION,
    30     EV_JOY_BUTTON,
     20{
     21  EV_MOUSE_BUTTON_LEFT            = SDLK_LAST,
     22  EV_MOUSE_BUTTON_MIDDLE,
     23  EV_MOUSE_BUTTON_RIGHT,
     24  EV_MOUSE_BUTTON_WHEELUP,
     25  EV_MOUSE_BUTTON_WHEELDOWN,
     26  EV_MOUSE_MOTION                 = SDL_MOUSEMOTION,
     27  EV_JOY_AXIS_MOTION,
     28  EV_JOY_BALL_MOTION,
     29  EV_JOY_HAT_MOTION,
     30  EV_JOY_BUTTON,
    3131
    32     EV_UNKNOWN,
     32  EV_UNKNOWN,
    3333
    34     EV_NUMBER
    35   };
     34  EV_NUMBER,
     35
     36  EV_VIDEO_RESIZE                 = SDL_VIDEORESIZE
     37};
    3638
    3739
Note: See TracChangeset for help on using the changeset viewer.