Subversion Repositories eduke32

Rev

Rev 4945 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4711 helixhorne 1
 
2
#ifndef EDUKE32_EVENTS_DEFS_H_
3
#define EDUKE32_EVENTS_DEFS_H_
4
 
5
// the order of these can't be changed or else compatibility with EDuke 2.0 mods will break
6
// KEEPINSYNC with EventNames[] and lunatic/con_lang.lua
7
enum GameEvent_t {
8
    EVENT_INIT,  // 0
9
    EVENT_ENTERLEVEL,
10
    EVENT_RESETWEAPONS,
11
    EVENT_RESETINVENTORY,
12
    EVENT_HOLSTER,
13
    EVENT_LOOKLEFT,  // 5
14
    EVENT_LOOKRIGHT,
15
    EVENT_SOARUP,
16
    EVENT_SOARDOWN,
17
    EVENT_CROUCH,
18
    EVENT_JUMP,  // 10
19
    EVENT_RETURNTOCENTER,
20
    EVENT_LOOKUP,
21
    EVENT_LOOKDOWN,
22
    EVENT_AIMUP,
23
    EVENT_FIRE,  // 15
24
    EVENT_CHANGEWEAPON,
25
    EVENT_GETSHOTRANGE,
26
    EVENT_GETAUTOAIMANGLE,
27
    EVENT_GETLOADTILE,
28
    EVENT_CHEATGETSTEROIDS,  // 20
29
    EVENT_CHEATGETHEAT,
30
    EVENT_CHEATGETBOOT,
31
    EVENT_CHEATGETSHIELD,
32
    EVENT_CHEATGETSCUBA,
33
    EVENT_CHEATGETHOLODUKE,  // 25
34
    EVENT_CHEATGETJETPACK,
35
    EVENT_CHEATGETFIRSTAID,
36
    EVENT_QUICKKICK,
37
    EVENT_INVENTORY,
38
    EVENT_USENIGHTVISION,  // 30
39
    EVENT_USESTEROIDS,
40
    EVENT_INVENTORYLEFT,
41
    EVENT_INVENTORYRIGHT,
42
    EVENT_HOLODUKEON,
43
    EVENT_HOLODUKEOFF,  // 35
44
    EVENT_USEMEDKIT,
45
    EVENT_USEJETPACK,
46
    EVENT_TURNAROUND,
47
    EVENT_DISPLAYWEAPON,
48
    EVENT_FIREWEAPON,  // 40
49
    EVENT_SELECTWEAPON,
50
    EVENT_MOVEFORWARD,
51
    EVENT_MOVEBACKWARD,
52
    EVENT_TURNLEFT,
53
    EVENT_TURNRIGHT,  // 45
54
    EVENT_STRAFELEFT,
55
    EVENT_STRAFERIGHT,
56
    EVENT_WEAPKEY1,
57
    EVENT_WEAPKEY2,
58
    EVENT_WEAPKEY3,  // 50
59
    EVENT_WEAPKEY4,
60
    EVENT_WEAPKEY5,
61
    EVENT_WEAPKEY6,
62
    EVENT_WEAPKEY7,
63
    EVENT_WEAPKEY8,  // 55
64
    EVENT_WEAPKEY9,
65
    EVENT_WEAPKEY10,
66
    EVENT_DRAWWEAPON,
67
    EVENT_DISPLAYCROSSHAIR,
68
    EVENT_DISPLAYREST,  // 60
69
    EVENT_DISPLAYSBAR,
70
    EVENT_RESETPLAYER,
71
    EVENT_INCURDAMAGE,
72
    EVENT_AIMDOWN,
73
    EVENT_GAME,  // 65
74
    EVENT_PREVIOUSWEAPON,
75
    EVENT_NEXTWEAPON,
76
    EVENT_SWIMUP,
77
    EVENT_SWIMDOWN,
78
    EVENT_GETMENUTILE,  // 70
79
    EVENT_SPAWN,
80
    EVENT_LOGO,
81
    EVENT_EGS,
82
    EVENT_DOFIRE,
83
    EVENT_PRESSEDFIRE,  // 75
84
    EVENT_USE,
85
    EVENT_PROCESSINPUT,
86
    EVENT_FAKEDOMOVETHINGS,
87
    EVENT_DISPLAYROOMS,
88
    EVENT_KILLIT,  // 80
89
    EVENT_LOADACTOR,
90
    EVENT_DISPLAYBONUSSCREEN,
91
    EVENT_DISPLAYMENU,
92
    EVENT_DISPLAYMENUREST,
93
    EVENT_DISPLAYLOADINGSCREEN,  // 85
94
    EVENT_ANIMATESPRITES,
95
    EVENT_NEWGAME,
96
    EVENT_SOUND,
97
    EVENT_CHECKTOUCHDAMAGE,
98
    EVENT_CHECKFLOORDAMAGE,  // 90
99
    EVENT_LOADGAME,
100
    EVENT_SAVEGAME,
101
    EVENT_PREGAME,
102
    EVENT_CHANGEMENU,
103
    EVENT_DAMAGEHPLANE,  // 95
104
    EVENT_ACTIVATECHEAT,
105
#ifdef LUNATIC
106
    EVENT_ANIMATEALLSPRITES,
107
#endif
108
    MAXEVENTS
109
};
110
 
111
#endif