Last change
on this file since 4403 was
4387,
checked in by patrick, 20 years ago
|
orxonox/trunk: little fix to prevent compile error
|
File size:
644 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 | #include "stdincl.h" |
---|
12 | |
---|
13 | |
---|
14 | #define CMD_LENGHT 16 |
---|
15 | #define N_STD_KEYS SDLK_LAST |
---|
16 | #define N_BUTTONS 6 |
---|
17 | #define DEFAULT_KEYBIND_FILE "~/.orxonox/orxonox.conf" |
---|
18 | |
---|
19 | #define EVENT_QUEUE_LENGTH 32 |
---|
20 | |
---|
21 | typedef enum extEventTyes |
---|
22 | { |
---|
23 | EV_MOUSE_MOTION = SDLK_LAST, |
---|
24 | EV_MOUSE_BUTTON, |
---|
25 | EV_JOY_AXIS_MOTION, |
---|
26 | EV_JOY_BALL_MOTION, |
---|
27 | EV_JOY_HAT_MOTION, |
---|
28 | EV_JOY_BUTTON, |
---|
29 | |
---|
30 | EV_NUMBER |
---|
31 | }; |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | typedef enum elState |
---|
36 | { |
---|
37 | ES_GAME, |
---|
38 | ES_GAME_MENU, |
---|
39 | ES_MENU, |
---|
40 | |
---|
41 | ES_ALL, |
---|
42 | |
---|
43 | ES_NUMBER, |
---|
44 | }; |
---|
45 | |
---|
46 | |
---|
47 | #endif /* _EVENT_DEF_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.