Last change
on this file since 4364 was
4364,
checked in by patrick, 19 years ago
|
orxonox/trunk: filled the flush function with more sense and rearanged some structures
|
File size:
574 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file event_def.h |
---|
3 | \brief some central definitions |
---|
4 | |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _EVENT_DEF_H |
---|
8 | #define _EVENT_DEF_H |
---|
9 | |
---|
10 | #include "SDL_keysym.h" |
---|
11 | |
---|
12 | #define CMD_LENGHT 16 |
---|
13 | #define N_STD_KEYS SDLK_LAST |
---|
14 | #define N_BUTTONS 6 |
---|
15 | #define DEFAULT_KEYBIND_FILE "~/.orxonox/orxonox.conf" |
---|
16 | |
---|
17 | |
---|
18 | typedef enum extEventTyes |
---|
19 | { |
---|
20 | EV_MOUSE_MOTION = SDLK_LAST, |
---|
21 | EV_MOUSE_BUTTON, |
---|
22 | EV_JOY_AXIS_MOTION, |
---|
23 | EV_JOY_BALL_MOTION, |
---|
24 | EV_JOY_HAT_MOTION, |
---|
25 | EV_JOY_BUTTON |
---|
26 | }; |
---|
27 | |
---|
28 | typedef enum elState |
---|
29 | { |
---|
30 | ES_GAME, |
---|
31 | ES_GAME_MENU, |
---|
32 | ES_MENU, |
---|
33 | |
---|
34 | ES_ALL, |
---|
35 | |
---|
36 | ES_NUMBER, |
---|
37 | }; |
---|
38 | |
---|
39 | |
---|
40 | #endif /* _EVENT_DEF_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.