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[]
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     EVENT_DISPLAYINACTIVEMENU,
106     EVENT_DISPLAYINACTIVEMENUREST,
107     EVENT_CUTSCENE,
108     EVENT_DISPLAYCURSOR,
109     EVENT_DISPLAYLEVELSTATS,
110     EVENT_DISPLAYCAMERAOSD,
111     EVENT_DISPLAYROOMSCAMERA,
112     EVENT_DISPLAYSTART,
113     EVENT_WORLD,
114     EVENT_PREWORLD,
115     EVENT_PRELEVEL,
116     EVENT_DISPLAYSPIT,
117     EVENT_DISPLAYFIST,
118     EVENT_DISPLAYKNEE,
119     EVENT_DISPLAYKNUCKLES,
120     EVENT_DISPLAYSCUBA,
121     EVENT_DISPLAYTIP,
122     EVENT_DISPLAYACCESS,
123     EVENT_MOVESECTOR,
124     EVENT_MOVEEFFECTORS,
125     EVENT_DISPLAYOVERHEADMAPTEXT,
126     EVENT_PRELOADGAME,
127     EVENT_POSTSAVEGAME,
128     EVENT_PRECUTSCENE,
129     EVENT_SKIPCUTSCENE,
130     EVENT_SCREEN,
131     EVENT_DISPLAYROOMSEND,
132     EVENT_DISPLAYEND,
133     EVENT_OPENMENUSOUND,
134     EVENT_RECOGSOUND,
135     EVENT_UPDATESCREENAREA,
136     EVENT_DISPLAYBORDER,
137     EVENT_SETDEFAULTS,
138     EVENT_MAINMENUSCREEN,
139     EVENT_NEWGAMESCREEN,
140     EVENT_ENDLEVELSCREEN,
141     EVENT_EXITGAMESCREEN,
142     EVENT_EXITPROGRAMSCREEN,
143     EVENT_ALTFIRE,
144     EVENT_ALTWEAPON,
145     EVENT_DISPLAYOVERHEADMAPPLAYER,
146     EVENT_MENUCURSORLEFT,
147     EVENT_MENUCURSORRIGHT,
148     EVENT_MENUCURSORSHADE,
149     EVENT_MENUSHADESELECTED,
150     EVENT_PLAYLEVELMUSICSLOT,
151     EVENT_CONTINUELEVELMUSICSLOT,
152     EVENT_DISPLAYPOINTER,
153     EVENT_LASTWEAPON,
154     EVENT_DAMAGESPRITE,
155     EVENT_POSTDAMAGESPRITE,
156     EVENT_DAMAGEWALL,
157     EVENT_DAMAGEFLOOR,
158     EVENT_DAMAGECEILING,
159     EVENT_DISPLAYROOMSCAMERATILE,
160     EVENT_RESETGOTPICS,
161     EVENT_VALIDATESTART,
162     EVENT_NEWGAMECUSTOM,
163     EVENT_INITCOMPLETE,
164     EVENT_CAPIR,
165     MAXEVENTS
166 };
167 
168 #endif
169