Subversion Repositories eduke32

Rev

Rev 4969 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4969 Rev 4970
1
//-------------------------------------------------------------------------
1
//-------------------------------------------------------------------------
2
/*
2
/*
3
Copyright (C) 2010 EDuke32 developers and contributors
3
Copyright (C) 2010 EDuke32 developers and contributors
4

4

5
This file is part of EDuke32.
5
This file is part of EDuke32.
6

6

7
EDuke32 is free software; you can redistribute it and/or
7
EDuke32 is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License version 2
8
modify it under the terms of the GNU General Public License version 2
9
as published by the Free Software Foundation.
9
as published by the Free Software Foundation.
10

10

11
This program is distributed in the hope that it will be useful,
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14

14

15
See the GNU General Public License for more details.
15
See the GNU General Public License for more details.
16

16

17
You should have received a copy of the GNU General Public License
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20
*/
20
*/
21
//-------------------------------------------------------------------------
21
//-------------------------------------------------------------------------
22
22
23
#ifndef gamedef_h_
23
#ifndef gamedef_h_
24
#define gamedef_h_
24
#define gamedef_h_
25
25
26
#include "build.h"  // hashtable_t
26
#include "build.h"  // hashtable_t
27
#include "common.h"  // tokenlist
27
#include "common.h"  // tokenlist
28
28
29
#ifdef __cplusplus
29
#ifdef __cplusplus
30
extern "C" {
30
extern "C" {
31
#endif
31
#endif
32
32
33
#define MAXGAMEEVENTS   128
33
#define MAXGAMEEVENTS   128
34
#define LABEL_HASPARM2  1
34
#define LABEL_HASPARM2  1
35
#define LABEL_ISSTRING  2
35
#define LABEL_ISSTRING  2
36
36
37
#define MAXCHEATLEN             20
37
#define MAXCHEATLEN             20
38
#define NUMCHEATCODES           (int32_t)ARRAY_SIZE(CheatStrings)
38
#define NUMCHEATCODES           (int32_t)ARRAY_SIZE(CheatStrings)
39
39
40
extern intptr_t *insptr;
40
extern intptr_t *insptr;
41
extern hashtable_t h_gamefuncs;
41
extern hashtable_t h_gamefuncs;
42
42
43
#if !defined LUNATIC
43
#if !defined LUNATIC
44
extern hashtable_t h_gamevars;
44
extern hashtable_t h_gamevars;
45
extern hashtable_t h_arrays;
45
extern hashtable_t h_arrays;
46
extern hashtable_t h_labels;
46
extern hashtable_t h_labels;
47
47
48
extern int32_t g_iReturnVarID;      // var ID of "RETURN"
48
extern int32_t g_iReturnVarID;      // var ID of "RETURN"
49
extern int32_t g_iWeaponVarID;      // var ID of "WEAPON"
49
extern int32_t g_iWeaponVarID;      // var ID of "WEAPON"
50
extern int32_t g_iWorksLikeVarID;   // var ID of "WORKSLIKE"
50
extern int32_t g_iWorksLikeVarID;   // var ID of "WORKSLIKE"
51
extern int32_t g_iZRangeVarID;      // var ID of "ZRANGE"
51
extern int32_t g_iZRangeVarID;      // var ID of "ZRANGE"
52
extern int32_t g_iAngRangeVarID;    // var ID of "ANGRANGE"
52
extern int32_t g_iAngRangeVarID;    // var ID of "ANGRANGE"
53
extern int32_t g_iAimAngleVarID;    // var ID of "AUTOAIMANGLE"
53
extern int32_t g_iAimAngleVarID;    // var ID of "AUTOAIMANGLE"
54
extern int32_t g_iLoTagID;          // var ID of "LOTAG"
54
extern int32_t g_iLoTagID;          // var ID of "LOTAG"
55
extern int32_t g_iHiTagID;          // var ID of "HITAG"
55
extern int32_t g_iHiTagID;          // var ID of "HITAG"
56
extern int32_t g_iTextureID;        // var ID of "TEXTURE"
56
extern int32_t g_iTextureID;        // var ID of "TEXTURE"
57
extern int32_t g_iThisActorID;      // var ID of "THISACTOR"
57
extern int32_t g_iThisActorID;      // var ID of "THISACTOR"
58
extern int32_t g_iSpriteVarID;
58
extern int32_t g_iSpriteVarID;
59
extern int32_t g_iSectorVarID;
59
extern int32_t g_iSectorVarID;
60
extern int32_t g_iWallVarID;
60
extern int32_t g_iWallVarID;
61
extern int32_t g_iPlayerVarID;
61
extern int32_t g_iPlayerVarID;
62
extern int32_t g_iActorVarID;
62
extern int32_t g_iActorVarID;
63
63
64
extern intptr_t *apScriptGameEvent[MAXGAMEEVENTS];
64
extern intptr_t *apScriptGameEvent[MAXGAMEEVENTS];
65
#endif
65
#endif
66
66
67
extern int32_t otherp;
67
extern int32_t otherp;
68
extern char CheatStrings[][MAXCHEATLEN];
68
extern char CheatStrings[][MAXCHEATLEN];
69
extern char g_szScriptFileName[BMAX_PATH];
69
extern char g_szScriptFileName[BMAX_PATH];
70
extern int32_t g_totalLines,g_lineNumber;
70
extern int32_t g_totalLines,g_lineNumber;
71
extern int32_t g_numCompilerErrors,g_numCompilerWarnings,g_numQuoteRedefinitions;
71
extern int32_t g_numCompilerErrors,g_numCompilerWarnings,g_numQuoteRedefinitions;
72
extern int32_t g_scriptVersion;
72
extern int32_t g_scriptVersion;
73
extern uint32_t g_scriptDateVersion;  // YYYYMMDD
73
extern uint32_t g_scriptDateVersion;  // YYYYMMDD
74
extern char g_szBuf[1024];
74
extern char g_szBuf[1024];
75
75
76
extern const char *EventNames[];  // MAXEVENTS
76
extern const char *EventNames[];  // MAXEVENTS
77
77
78
#if !defined LUNATIC
78
#if !defined LUNATIC
79
extern intptr_t *g_scriptPtr;
79
extern intptr_t *g_scriptPtr;
80
80
81
typedef struct
81
typedef struct
82
{
82
{
83
    const char *name;
83
    const char *name;
84
    int lId, flags, maxParm2;
84
    int lId, flags, maxParm2;
85
} memberlabel_t;
85
} memberlabel_t;
86
86
87
extern const memberlabel_t SectorLabels[];
87
extern const memberlabel_t SectorLabels[];
88
extern const memberlabel_t WallLabels[];
88
extern const memberlabel_t WallLabels[];
89
extern const memberlabel_t ActorLabels[];
89
extern const memberlabel_t ActorLabels[];
90
extern const memberlabel_t PlayerLabels[];
90
extern const memberlabel_t PlayerLabels[];
91
extern const memberlabel_t ProjectileLabels[];
91
extern const memberlabel_t ProjectileLabels[];
92
extern const memberlabel_t userdeflabels[];
92
extern const memberlabel_t userdeflabels[];
93
extern const memberlabel_t InputLabels[];
93
extern const memberlabel_t InputLabels[];
94
extern const memberlabel_t TsprLabels[];
94
extern const memberlabel_t TsprLabels[];
95
#endif
95
#endif
96
96
97
int32_t C_AllocQuote(int32_t qnum);
97
int32_t C_AllocQuote(int32_t qnum);
98
void C_InitQuotes(void);
98
void C_InitQuotes(void);
99
void C_InitProjectiles(void);
99
void C_InitProjectiles(void);
100
100
101
typedef struct {
101
typedef struct {
102
    int g_i, g_p, g_x;
102
    int g_i, g_p, g_x;
103
    int32_t *g_t;
103
    int32_t *g_t;
104
    spritetype *g_sp;
104
    spritetype *g_sp;
105
    DukePlayer_t *g_pp;
105
    DukePlayer_t *g_pp;
106
    int g_flags;
106
    int g_flags;
107
} vmstate_t;
107
} vmstate_t;
108
108
109
extern vmstate_t vm;
109
extern vmstate_t vm;
110
110
111
void G_DoGameStartup(const int32_t *params);
111
void G_DoGameStartup(const int32_t *params);
112
void C_DefineMusic(int32_t vol, int32_t lev, const char *fn);
112
void C_DefineMusic(int32_t vol, int32_t lev, const char *fn);
113
113
114
#if defined LUNATIC
114
#if defined LUNATIC
115
void C_DefineSound(int32_t sndidx, const char *fn, int32_t args[5]);
115
void C_DefineSound(int32_t sndidx, const char *fn, int32_t args[5]);
116
void C_DefineQuote(int32_t qnum, const char *qstr);
116
void C_DefineQuote(int32_t qnum, const char *qstr);
117
void C_DefineVolumeName(int32_t vol, const char *name);
117
void C_DefineVolumeName(int32_t vol, const char *name);
118
void C_DefineSkillName(int32_t skill, const char *name);
118
void C_DefineSkillName(int32_t skill, const char *name);
119
void C_DefineLevelName(int32_t vol, int32_t lev, const char *fn,
119
void C_DefineLevelName(int32_t vol, int32_t lev, const char *fn,
120
                       int32_t partime, int32_t designertime,
120
                       int32_t partime, int32_t designertime,
121
                       const char *levelname);
121
                       const char *levelname);
122
void C_DefineGameFuncName(int32_t idx, const char *name);
122
void C_DefineGameFuncName(int32_t idx, const char *name);
123
void C_DefineGameType(int32_t idx, int32_t flags, const char *name);
123
void C_DefineGameType(int32_t idx, int32_t flags, const char *name);
124
int32_t C_SetDefName(const char *name);
124
int32_t C_SetDefName(const char *name);
125
void C_DefineProjectile(int32_t j, int32_t what, int32_t val);
125
void C_DefineProjectile(int32_t j, int32_t what, int32_t val);
126
void C_SetCfgName(const char *cfgname);
126
void C_SetCfgName(const char *cfgname);
127
#else
127
#else
128
void C_ReportError(int32_t iError);
128
void C_ReportError(int32_t iError);
129
void C_Compile(const char *filenam);
129
void C_Compile(const char *filenam);
130
130
131
extern int32_t g_errorLineNum;
131
extern int32_t g_errorLineNum;
132
extern int32_t g_tw;
132
extern int32_t g_tw;
133
extern const char *keyw[];
133
extern const char *keyw[];
134
134
135
// KEEPINSYNC lunatic/con_lang.lua
135
// KEEPINSYNC lunatic/con_lang.lua
136
enum SystemString_t {
136
enum SystemString_t {
137
    STR_MAPNAME,
137
    STR_MAPNAME,
138
    STR_MAPFILENAME,
138
    STR_MAPFILENAME,
139
    STR_PLAYERNAME,
139
    STR_PLAYERNAME,
140
    STR_VERSION,
140
    STR_VERSION,
141
    STR_GAMETYPE,
141
    STR_GAMETYPE,
142
    STR_VOLUMENAME,
142
    STR_VOLUMENAME,
143
    STR_YOURTIME,
143
    STR_YOURTIME,
144
    STR_PARTIME,
144
    STR_PARTIME,
145
    STR_DESIGNERTIME,
145
    STR_DESIGNERTIME,
146
    STR_BESTTIME,
146
    STR_BESTTIME,
147
};
147
};
148
148
149
enum ScriptError_t
149
enum ScriptError_t
150
{
150
{
151
    ERROR_CLOSEBRACKET,
151
    ERROR_CLOSEBRACKET,
152
    ERROR_EVENTONLY,
152
    ERROR_EVENTONLY,
153
    ERROR_EXCEEDSMAXTILES,
153
    ERROR_EXCEEDSMAXTILES,
154
    ERROR_EXPECTEDKEYWORD,
154
    ERROR_EXPECTEDKEYWORD,
155
    ERROR_FOUNDWITHIN,
155
    ERROR_FOUNDWITHIN,
156
    ERROR_ISAKEYWORD,
156
    ERROR_ISAKEYWORD,
157
    ERROR_NOENDSWITCH,
157
    ERROR_NOENDSWITCH,
158
    ERROR_NOTAGAMEDEF,
158
    ERROR_NOTAGAMEDEF,
159
    ERROR_NOTAGAMEVAR,
159
    ERROR_NOTAGAMEVAR,
160
    ERROR_NOTAGAMEARRAY,
160
    ERROR_NOTAGAMEARRAY,
161
    ERROR_GAMEARRAYBNC,
161
    ERROR_GAMEARRAYBNC,
162
    ERROR_GAMEARRAYBNO,
162
    ERROR_GAMEARRAYBNO,
163
    ERROR_INVALIDARRAYWRITE,
163
    ERROR_INVALIDARRAYWRITE,
164
    ERROR_OPENBRACKET,
164
    ERROR_OPENBRACKET,
165
    ERROR_PARAMUNDEFINED,
165
    ERROR_PARAMUNDEFINED,
166
    ERROR_SYMBOLNOTRECOGNIZED,
166
    ERROR_SYMBOLNOTRECOGNIZED,
167
    ERROR_SYNTAXERROR,
167
    ERROR_SYNTAXERROR,
168
    ERROR_VARREADONLY,
168
    ERROR_VARREADONLY,
169
    ERROR_ARRAYREADONLY,
169
    ERROR_ARRAYREADONLY,
170
    ERROR_VARTYPEMISMATCH,
170
    ERROR_VARTYPEMISMATCH,
171
    WARNING_BADGAMEVAR,
171
    WARNING_BADGAMEVAR,
172
    WARNING_DUPLICATECASE,
172
    WARNING_DUPLICATECASE,
173
    WARNING_DUPLICATEDEFINITION,
173
    WARNING_DUPLICATEDEFINITION,
174
    WARNING_EVENTSYNC,
174
    WARNING_EVENTSYNC,
175
    WARNING_LABELSONLY,
175
    WARNING_LABELSONLY,
176
    WARNING_NAMEMATCHESVAR
176
    WARNING_NAMEMATCHESVAR
177
};
177
};
178
178
179
enum PlayerLabel_t
179
enum PlayerLabel_t
180
{
180
{
181
    PLAYER_ZOOM,
181
    PLAYER_ZOOM,
182
    PLAYER_EXITX,
182
    PLAYER_EXITX,
183
    PLAYER_EXITY,
183
    PLAYER_EXITY,
184
    PLAYER_LOOGIEX,
184
    PLAYER_LOOGIEX,
185
    PLAYER_LOOGIEY,
185
    PLAYER_LOOGIEY,
186
    PLAYER_NUMLOOGS,
186
    PLAYER_NUMLOOGS,
187
    PLAYER_LOOGCNT,
187
    PLAYER_LOOGCNT,
188
    PLAYER_POSX,
188
    PLAYER_POSX,
189
    PLAYER_POSY,
189
    PLAYER_POSY,
190
    PLAYER_POSZ,
190
    PLAYER_POSZ,
191
    PLAYER_HORIZ,
191
    PLAYER_HORIZ,
192
    PLAYER_OHORIZ,
192
    PLAYER_OHORIZ,
193
    PLAYER_OHORIZOFF,
193
    PLAYER_OHORIZOFF,
194
    PLAYER_INVDISPTIME,
194
    PLAYER_INVDISPTIME,
195
    PLAYER_BOBPOSX,
195
    PLAYER_BOBPOSX,
196
    PLAYER_BOBPOSY,
196
    PLAYER_BOBPOSY,
197
    PLAYER_OPOSX,
197
    PLAYER_OPOSX,
198
    PLAYER_OPOSY,
198
    PLAYER_OPOSY,
199
    PLAYER_OPOSZ,
199
    PLAYER_OPOSZ,
200
    PLAYER_PYOFF,
200
    PLAYER_PYOFF,
201
    PLAYER_OPYOFF,
201
    PLAYER_OPYOFF,
202
    PLAYER_POSXV,
202
    PLAYER_POSXV,
203
    PLAYER_POSYV,
203
    PLAYER_POSYV,
204
    PLAYER_POSZV,
204
    PLAYER_POSZV,
205
    PLAYER_LAST_PISSED_TIME,
205
    PLAYER_LAST_PISSED_TIME,
206
    PLAYER_TRUEFZ,
206
    PLAYER_TRUEFZ,
207
    PLAYER_TRUECZ,
207
    PLAYER_TRUECZ,
208
    PLAYER_PLAYER_PAR,
208
    PLAYER_PLAYER_PAR,
209
    PLAYER_VISIBILITY,
209
    PLAYER_VISIBILITY,
210
    PLAYER_BOBCOUNTER,
210
    PLAYER_BOBCOUNTER,
211
    PLAYER_WEAPON_SWAY,
211
    PLAYER_WEAPON_SWAY,
212
    PLAYER_PALS_TIME,
212
    PLAYER_PALS_TIME,
213
    PLAYER_RANDOMFLAMEX,
213
    PLAYER_RANDOMFLAMEX,
214
    PLAYER_CRACK_TIME,
214
    PLAYER_CRACK_TIME,
215
    PLAYER_AIM_MODE,
215
    PLAYER_AIM_MODE,
216
    PLAYER_ANG,
216
    PLAYER_ANG,
217
    PLAYER_OANG,
217
    PLAYER_OANG,
218
    PLAYER_ANGVEL,
218
    PLAYER_ANGVEL,
219
    PLAYER_CURSECTNUM,
219
    PLAYER_CURSECTNUM,
220
    PLAYER_LOOK_ANG,
220
    PLAYER_LOOK_ANG,
221
    PLAYER_LAST_EXTRA,
221
    PLAYER_LAST_EXTRA,
222
    PLAYER_SUBWEAPON,
222
    PLAYER_SUBWEAPON,
223
    PLAYER_AMMO_AMOUNT,
223
    PLAYER_AMMO_AMOUNT,
224
    PLAYER_WACKEDBYACTOR,
224
    PLAYER_WACKEDBYACTOR,
225
    PLAYER_FRAG,
225
    PLAYER_FRAG,
226
    PLAYER_FRAGGEDSELF,
226
    PLAYER_FRAGGEDSELF,
227
    PLAYER_CURR_WEAPON,
227
    PLAYER_CURR_WEAPON,
228
    PLAYER_LAST_WEAPON,
228
    PLAYER_LAST_WEAPON,
229
    PLAYER_TIPINCS,
229
    PLAYER_TIPINCS,
230
    PLAYER_HORIZOFF,
230
    PLAYER_HORIZOFF,
231
    PLAYER_WANTWEAPONFIRE,
231
    PLAYER_WANTWEAPONFIRE,
232
    PLAYER_HOLODUKE_AMOUNT,
232
    PLAYER_HOLODUKE_AMOUNT,
233
    PLAYER_NEWOWNER,
233
    PLAYER_NEWOWNER,
234
    PLAYER_HURT_DELAY,
234
    PLAYER_HURT_DELAY,
235
    PLAYER_HBOMB_HOLD_DELAY,
235
    PLAYER_HBOMB_HOLD_DELAY,
236
    PLAYER_JUMPING_COUNTER,
236
    PLAYER_JUMPING_COUNTER,
237
    PLAYER_AIRLEFT,
237
    PLAYER_AIRLEFT,
238
    PLAYER_KNEE_INCS,
238
    PLAYER_KNEE_INCS,
239
    PLAYER_ACCESS_INCS,
239
    PLAYER_ACCESS_INCS,
240
    PLAYER_FTA,
240
    PLAYER_FTA,
241
    PLAYER_FTQ,
241
    PLAYER_FTQ,
242
    PLAYER_ACCESS_WALLNUM,
242
    PLAYER_ACCESS_WALLNUM,
243
    PLAYER_ACCESS_SPRITENUM,
243
    PLAYER_ACCESS_SPRITENUM,
244
    PLAYER_KICKBACK_PIC,
244
    PLAYER_KICKBACK_PIC,
245
    PLAYER_GOT_ACCESS,
245
    PLAYER_GOT_ACCESS,
246
    PLAYER_WEAPON_ANG,
246
    PLAYER_WEAPON_ANG,
247
    PLAYER_FIRSTAID_AMOUNT,
247
    PLAYER_FIRSTAID_AMOUNT,
248
    PLAYER_SOMETHINGONPLAYER,
248
    PLAYER_SOMETHINGONPLAYER,
249
    PLAYER_ON_CRANE,
249
    PLAYER_ON_CRANE,
250
    PLAYER_I,
250
    PLAYER_I,
251
    PLAYER_ONE_PARALLAX_SECTNUM,
251
    PLAYER_ONE_PARALLAX_SECTNUM,
252
    PLAYER_OVER_SHOULDER_ON,
252
    PLAYER_OVER_SHOULDER_ON,
253
    PLAYER_RANDOM_CLUB_FRAME,
253
    PLAYER_RANDOM_CLUB_FRAME,
254
    PLAYER_FIST_INCS,
254
    PLAYER_FIST_INCS,
255
    PLAYER_ONE_EIGHTY_COUNT,
255
    PLAYER_ONE_EIGHTY_COUNT,
256
    PLAYER_CHEAT_PHASE,
256
    PLAYER_CHEAT_PHASE,
257
    PLAYER_DUMMYPLAYERSPRITE,
257
    PLAYER_DUMMYPLAYERSPRITE,
258
    PLAYER_EXTRA_EXTRA8,
258
    PLAYER_EXTRA_EXTRA8,
259
    PLAYER_QUICK_KICK,
259
    PLAYER_QUICK_KICK,
260
    PLAYER_HEAT_AMOUNT,
260
    PLAYER_HEAT_AMOUNT,
261
    PLAYER_ACTORSQU,
261
    PLAYER_ACTORSQU,
262
    PLAYER_TIMEBEFOREEXIT,
262
    PLAYER_TIMEBEFOREEXIT,
263
    PLAYER_CUSTOMEXITSOUND,
263
    PLAYER_CUSTOMEXITSOUND,
264
    PLAYER_WEAPRECS,
264
    PLAYER_WEAPRECS,
265
    PLAYER_WEAPRECCNT,
265
    PLAYER_WEAPRECCNT,
266
    PLAYER_INTERFACE_TOGGLE_FLAG,
266
    PLAYER_INTERFACE_TOGGLE_FLAG,
267
    PLAYER_ROTSCRNANG,
267
    PLAYER_ROTSCRNANG,
268
    PLAYER_DEAD_FLAG,
268
    PLAYER_DEAD_FLAG,
269
    PLAYER_SHOW_EMPTY_WEAPON,
269
    PLAYER_SHOW_EMPTY_WEAPON,
270
    PLAYER_SCUBA_AMOUNT,
270
    PLAYER_SCUBA_AMOUNT,
271
    PLAYER_JETPACK_AMOUNT,
271
    PLAYER_JETPACK_AMOUNT,
272
    PLAYER_STEROIDS_AMOUNT,
272
    PLAYER_STEROIDS_AMOUNT,
273
    PLAYER_SHIELD_AMOUNT,
273
    PLAYER_SHIELD_AMOUNT,
274
    PLAYER_HOLODUKE_ON,
274
    PLAYER_HOLODUKE_ON,
275
    PLAYER_PYCOUNT,
275
    PLAYER_PYCOUNT,
276
    PLAYER_WEAPON_POS,
276
    PLAYER_WEAPON_POS,
277
    PLAYER_FRAG_PS,
277
    PLAYER_FRAG_PS,
278
    PLAYER_TRANSPORTER_HOLD,
278
    PLAYER_TRANSPORTER_HOLD,
279
    PLAYER_LAST_FULL_WEAPON,
279
    PLAYER_LAST_FULL_WEAPON,
280
    PLAYER_FOOTPRINTSHADE,
280
    PLAYER_FOOTPRINTSHADE,
281
    PLAYER_BOOT_AMOUNT,
281
    PLAYER_BOOT_AMOUNT,
282
    PLAYER_SCREAM_VOICE,
282
    PLAYER_SCREAM_VOICE,
283
    PLAYER_GM,
283
    PLAYER_GM,
284
    PLAYER_ON_WARPING_SECTOR,
284
    PLAYER_ON_WARPING_SECTOR,
285
    PLAYER_FOOTPRINTCOUNT,
285
    PLAYER_FOOTPRINTCOUNT,
286
    PLAYER_HBOMB_ON,
286
    PLAYER_HBOMB_ON,
287
    PLAYER_JUMPING_TOGGLE,
287
    PLAYER_JUMPING_TOGGLE,
288
    PLAYER_RAPID_FIRE_HOLD,
288
    PLAYER_RAPID_FIRE_HOLD,
289
    PLAYER_ON_GROUND,
289
    PLAYER_ON_GROUND,
290
    PLAYER_NAME,
290
    PLAYER_NAME,
291
    PLAYER_INVEN_ICON,
291
    PLAYER_INVEN_ICON,
292
    PLAYER_BUTTONPALETTE,
292
    PLAYER_BUTTONPALETTE,
293
    PLAYER_JETPACK_ON,
293
    PLAYER_JETPACK_ON,
294
    PLAYER_SPRITEBRIDGE,
294
    PLAYER_SPRITEBRIDGE,
295
    PLAYER_LASTRANDOMSPOT,
295
    PLAYER_LASTRANDOMSPOT,
296
    PLAYER_SCUBA_ON,
296
    PLAYER_SCUBA_ON,
297
    PLAYER_FOOTPRINTPAL,
297
    PLAYER_FOOTPRINTPAL,
298
    PLAYER_HEAT_ON,
298
    PLAYER_HEAT_ON,
299
    PLAYER_HOLSTER_WEAPON,
299
    PLAYER_HOLSTER_WEAPON,
300
    PLAYER_FALLING_COUNTER,
300
    PLAYER_FALLING_COUNTER,
301
    PLAYER_GOTWEAPON,
301
    PLAYER_GOTWEAPON,
302
    PLAYER_REFRESH_INVENTORY,
302
    PLAYER_REFRESH_INVENTORY,
303
    PLAYER_PALETTE,
303
    PLAYER_PALETTE,
304
    PLAYER_TOGGLE_KEY_FLAG,
304
    PLAYER_TOGGLE_KEY_FLAG,
305
    PLAYER_KNUCKLE_INCS,
305
    PLAYER_KNUCKLE_INCS,
306
    PLAYER_WALKING_SND_TOGGLE,
306
    PLAYER_WALKING_SND_TOGGLE,
307
    PLAYER_PALOOKUP,
307
    PLAYER_PALOOKUP,
308
    PLAYER_HARD_LANDING,
308
    PLAYER_HARD_LANDING,
309
    PLAYER_MAX_SECRET_ROOMS,
309
    PLAYER_MAX_SECRET_ROOMS,
310
    PLAYER_SECRET_ROOMS,
310
    PLAYER_SECRET_ROOMS,
311
    PLAYER_PALS,
311
    PLAYER_PALS,
312
    PLAYER_MAX_ACTORS_KILLED,
312
    PLAYER_MAX_ACTORS_KILLED,
313
    PLAYER_ACTORS_KILLED,
313
    PLAYER_ACTORS_KILLED,
314
    PLAYER_RETURN_TO_CENTER,
314
    PLAYER_RETURN_TO_CENTER,
315
    PLAYER_RUNSPEED,
315
    PLAYER_RUNSPEED,
316
    PLAYER_SBS,
316
    PLAYER_SBS,
317
    PLAYER_RELOADING,
317
    PLAYER_RELOADING,
318
    PLAYER_AUTO_AIM,
318
    PLAYER_AUTO_AIM,
319
    PLAYER_MOVEMENT_LOCK,
319
    PLAYER_MOVEMENT_LOCK,
320
    PLAYER_SOUND_PITCH,
320
    PLAYER_SOUND_PITCH,
321
    PLAYER_WEAPONSWITCH,
321
    PLAYER_WEAPONSWITCH,
322
    PLAYER_TEAM,
322
    PLAYER_TEAM,
323
    PLAYER_MAX_PLAYER_HEALTH,
323
    PLAYER_MAX_PLAYER_HEALTH,
324
    PLAYER_MAX_SHIELD_AMOUNT,
324
    PLAYER_MAX_SHIELD_AMOUNT,
325
    PLAYER_MAX_AMMO_AMOUNT,
325
    PLAYER_MAX_AMMO_AMOUNT,
326
    PLAYER_LAST_QUICK_KICK,
326
    PLAYER_LAST_QUICK_KICK,
327
    PLAYER_AUTOSTEP,
327
    PLAYER_AUTOSTEP,
328
    PLAYER_AUTOSTEP_SBW,
328
    PLAYER_AUTOSTEP_SBW,
329
    PLAYER_END
329
    PLAYER_END
330
};
330
};
331
331
332
enum UserdefsLabel_t
332
enum UserdefsLabel_t
333
{
333
{
334
    USERDEFS_GOD,
334
    USERDEFS_GOD,
335
    USERDEFS_WARP_ON,
335
    USERDEFS_WARP_ON,
336
    USERDEFS_CASHMAN,
336
    USERDEFS_CASHMAN,
337
    USERDEFS_EOG,
337
    USERDEFS_EOG,
338
    USERDEFS_SHOWALLMAP,
338
    USERDEFS_SHOWALLMAP,
339
    USERDEFS_SHOW_HELP,
339
    USERDEFS_SHOW_HELP,
340
    USERDEFS_SCROLLMODE,
340
    USERDEFS_SCROLLMODE,
341
    USERDEFS_CLIPPING,
341
    USERDEFS_CLIPPING,
342
    USERDEFS_USER_NAME,
342
    USERDEFS_USER_NAME,
343
    USERDEFS_RIDECULE,
343
    USERDEFS_RIDECULE,
344
    USERDEFS_SAVEGAME,
344
    USERDEFS_SAVEGAME,
345
    USERDEFS_PWLOCKOUT,
345
    USERDEFS_PWLOCKOUT,
346
    USERDEFS_RTSNAME,
346
    USERDEFS_RTSNAME,
347
    USERDEFS_OVERHEAD_ON,
347
    USERDEFS_OVERHEAD_ON,
348
    USERDEFS_LAST_OVERHEAD,
348
    USERDEFS_LAST_OVERHEAD,
349
    USERDEFS_SHOWWEAPONS,
349
    USERDEFS_SHOWWEAPONS,
350
    USERDEFS_PAUSE_ON,
350
    USERDEFS_PAUSE_ON,
351
    USERDEFS_FROM_BONUS,
351
    USERDEFS_FROM_BONUS,
352
    USERDEFS_CAMERASPRITE,
352
    USERDEFS_CAMERASPRITE,
353
    USERDEFS_LAST_CAMSPRITE,
353
    USERDEFS_LAST_CAMSPRITE,
354
    USERDEFS_LAST_LEVEL,
354
    USERDEFS_LAST_LEVEL,
355
    USERDEFS_SECRETLEVEL,
355
    USERDEFS_SECRETLEVEL,
356
    USERDEFS_CONST_VISIBILITY,
356
    USERDEFS_CONST_VISIBILITY,
357
    USERDEFS_UW_FRAMERATE,
357
    USERDEFS_UW_FRAMERATE,
358
    USERDEFS_CAMERA_TIME,
358
    USERDEFS_CAMERA_TIME,
359
    USERDEFS_FOLFVEL,
359
    USERDEFS_FOLFVEL,
360
    USERDEFS_FOLAVEL,
360
    USERDEFS_FOLAVEL,
361
    USERDEFS_FOLX,
361
    USERDEFS_FOLX,
362
    USERDEFS_FOLY,
362
    USERDEFS_FOLY,
363
    USERDEFS_FOLA,
363
    USERDEFS_FOLA,
364
    USERDEFS_RECCNT,
364
    USERDEFS_RECCNT,
365
    USERDEFS_ENTERED_NAME,
365
    USERDEFS_ENTERED_NAME,
366
    USERDEFS_SCREEN_TILTING,
366
    USERDEFS_SCREEN_TILTING,
367
    USERDEFS_SHADOWS,
367
    USERDEFS_SHADOWS,
368
    USERDEFS_FTA_ON,
368
    USERDEFS_FTA_ON,
369
    USERDEFS_EXECUTIONS,
369
    USERDEFS_EXECUTIONS,
370
    USERDEFS_AUTO_RUN,
370
    USERDEFS_AUTO_RUN,
371
    USERDEFS_COORDS,
371
    USERDEFS_COORDS,
372
    USERDEFS_TICKRATE,
372
    USERDEFS_TICKRATE,
373
    USERDEFS_M_COOP,
373
    USERDEFS_M_COOP,
374
    USERDEFS_COOP,
374
    USERDEFS_COOP,
375
    USERDEFS_SCREEN_SIZE,
375
    USERDEFS_SCREEN_SIZE,
376
    USERDEFS_LOCKOUT,
376
    USERDEFS_LOCKOUT,
377
    USERDEFS_CROSSHAIR,
377
    USERDEFS_CROSSHAIR,
378
    USERDEFS_WCHOICE,
378
    USERDEFS_WCHOICE,
379
    USERDEFS_PLAYERAI,
379
    USERDEFS_PLAYERAI,
380
    USERDEFS_RESPAWN_MONSTERS,
380
    USERDEFS_RESPAWN_MONSTERS,
381
    USERDEFS_RESPAWN_ITEMS,
381
    USERDEFS_RESPAWN_ITEMS,
382
    USERDEFS_RESPAWN_INVENTORY,
382
    USERDEFS_RESPAWN_INVENTORY,
383
    USERDEFS_RECSTAT,
383
    USERDEFS_RECSTAT,
384
    USERDEFS_MONSTERS_OFF,
384
    USERDEFS_MONSTERS_OFF,
385
    USERDEFS_BRIGHTNESS,
385
    USERDEFS_BRIGHTNESS,
386
    USERDEFS_M_RESPAWN_ITEMS,
386
    USERDEFS_M_RESPAWN_ITEMS,
387
    USERDEFS_M_RESPAWN_MONSTERS,
387
    USERDEFS_M_RESPAWN_MONSTERS,
388
    USERDEFS_M_RESPAWN_INVENTORY,
388
    USERDEFS_M_RESPAWN_INVENTORY,
389
    USERDEFS_M_RECSTAT,
389
    USERDEFS_M_RECSTAT,
390
    USERDEFS_M_MONSTERS_OFF,
390
    USERDEFS_M_MONSTERS_OFF,
391
    USERDEFS_DETAIL,
391
    USERDEFS_DETAIL,
392
    USERDEFS_M_FFIRE,
392
    USERDEFS_M_FFIRE,
393
    USERDEFS_FFIRE,
393
    USERDEFS_FFIRE,
394
    USERDEFS_M_PLAYER_SKILL,
394
    USERDEFS_M_PLAYER_SKILL,
395
    USERDEFS_M_LEVEL_NUMBER,
395
    USERDEFS_M_LEVEL_NUMBER,
396
    USERDEFS_M_VOLUME_NUMBER,
396
    USERDEFS_M_VOLUME_NUMBER,
397
    USERDEFS_MULTIMODE,
397
    USERDEFS_MULTIMODE,
398
    USERDEFS_PLAYER_SKILL,
398
    USERDEFS_PLAYER_SKILL,
399
    USERDEFS_LEVEL_NUMBER,
399
    USERDEFS_LEVEL_NUMBER,
400
    USERDEFS_VOLUME_NUMBER,
400
    USERDEFS_VOLUME_NUMBER,
401
    USERDEFS_M_MARKER,
401
    USERDEFS_M_MARKER,
402
    USERDEFS_MARKER,
402
    USERDEFS_MARKER,
403
    USERDEFS_MOUSEFLIP,
403
    USERDEFS_MOUSEFLIP,
404
    USERDEFS_STATUSBARSCALE,
404
    USERDEFS_STATUSBARSCALE,
405
    USERDEFS_DRAWWEAPON,
405
    USERDEFS_DRAWWEAPON,
406
    USERDEFS_MOUSEAIMING,
406
    USERDEFS_MOUSEAIMING,
407
    USERDEFS_WEAPONSWITCH,
407
    USERDEFS_WEAPONSWITCH,
408
    USERDEFS_DEMOCAMS,
408
    USERDEFS_DEMOCAMS,
409
    USERDEFS_COLOR,
409
    USERDEFS_COLOR,
410
    USERDEFS_MSGDISPTIME,
410
    USERDEFS_MSGDISPTIME,
411
    USERDEFS_STATUSBARMODE,
411
    USERDEFS_STATUSBARMODE,
412
    USERDEFS_M_NOEXITS,
412
    USERDEFS_M_NOEXITS,
413
    USERDEFS_NOEXITS,
413
    USERDEFS_NOEXITS,
414
    USERDEFS_AUTOVOTE,
414
    USERDEFS_AUTOVOTE,
415
    USERDEFS_AUTOMSG,
415
    USERDEFS_AUTOMSG,
416
    USERDEFS_IDPLAYERS,
416
    USERDEFS_IDPLAYERS,
417
    USERDEFS_TEAM,
417
    USERDEFS_TEAM,
418
    USERDEFS_VIEWBOB,
418
    USERDEFS_VIEWBOB,
419
    USERDEFS_WEAPONSWAY,
419
    USERDEFS_WEAPONSWAY,
420
    USERDEFS_ANGLEINTERPOLATION,
420
    USERDEFS_ANGLEINTERPOLATION,
421
    USERDEFS_OBITUARIES,
421
    USERDEFS_OBITUARIES,
422
    USERDEFS_LEVELSTATS,
422
    USERDEFS_LEVELSTATS,
423
    USERDEFS_CROSSHAIRSCALE,
423
    USERDEFS_CROSSHAIRSCALE,
424
    USERDEFS_ALTHUD,
424
    USERDEFS_ALTHUD,
425
    USERDEFS_DISPLAY_BONUS_SCREEN,
425
    USERDEFS_DISPLAY_BONUS_SCREEN,
426
    USERDEFS_SHOW_LEVEL_TEXT,
426
    USERDEFS_SHOW_LEVEL_TEXT,
427
    USERDEFS_WEAPONSCALE,
427
    USERDEFS_WEAPONSCALE,
428
    USERDEFS_TEXTSCALE,
428
    USERDEFS_TEXTSCALE,
429
    USERDEFS_RUNKEY_MODE,
429
    USERDEFS_RUNKEY_MODE,
430
    USERDEFS_M_ORIGIN_X,
430
    USERDEFS_M_ORIGIN_X,
431
    USERDEFS_M_ORIGIN_Y,
431
    USERDEFS_M_ORIGIN_Y,
432
    USERDEFS_PLAYERBEST,
432
    USERDEFS_PLAYERBEST,
-
 
433
    USERDEFS_MUSICTOGGLE,
433
    USERDEFS_END
434
    USERDEFS_END
434
};
435
};
435
436
436
enum SectorLabel_t
437
enum SectorLabel_t
437
{
438
{
438
    SECTOR_WALLPTR,
439
    SECTOR_WALLPTR,
439
    SECTOR_WALLNUM,
440
    SECTOR_WALLNUM,
440
    SECTOR_CEILINGZ,
441
    SECTOR_CEILINGZ,
441
    SECTOR_FLOORZ,
442
    SECTOR_FLOORZ,
442
    SECTOR_CEILINGSTAT,
443
    SECTOR_CEILINGSTAT,
443
    SECTOR_FLOORSTAT,
444
    SECTOR_FLOORSTAT,
444
    SECTOR_CEILINGPICNUM,
445
    SECTOR_CEILINGPICNUM,
445
    SECTOR_CEILINGSLOPE,
446
    SECTOR_CEILINGSLOPE,
446
    SECTOR_CEILINGSHADE,
447
    SECTOR_CEILINGSHADE,
447
    SECTOR_CEILINGPAL,
448
    SECTOR_CEILINGPAL,
448
    SECTOR_CEILINGXPANNING,
449
    SECTOR_CEILINGXPANNING,
449
    SECTOR_CEILINGYPANNING,
450
    SECTOR_CEILINGYPANNING,
450
    SECTOR_FLOORPICNUM,
451
    SECTOR_FLOORPICNUM,
451
    SECTOR_FLOORSLOPE,
452
    SECTOR_FLOORSLOPE,
452
    SECTOR_FLOORSHADE,
453
    SECTOR_FLOORSHADE,
453
    SECTOR_FLOORPAL,
454
    SECTOR_FLOORPAL,
454
    SECTOR_FLOORXPANNING,
455
    SECTOR_FLOORXPANNING,
455
    SECTOR_FLOORYPANNING,
456
    SECTOR_FLOORYPANNING,
456
    SECTOR_VISIBILITY,
457
    SECTOR_VISIBILITY,
457
    SECTOR_FOGPAL,
458
    SECTOR_FOGPAL,
458
    SECTOR_LOTAG,
459
    SECTOR_LOTAG,
459
    SECTOR_HITAG,
460
    SECTOR_HITAG,
460
    SECTOR_EXTRA,
461
    SECTOR_EXTRA,
461
    SECTOR_CEILINGBUNCH,
462
    SECTOR_CEILINGBUNCH,
462
    SECTOR_FLOORBUNCH,
463
    SECTOR_FLOORBUNCH,
463
    SECTOR_ULOTAG,
464
    SECTOR_ULOTAG,
464
    SECTOR_UHITAG,
465
    SECTOR_UHITAG,
465
    SECTOR_END
466
    SECTOR_END
466
};
467
};
467
468
468
enum WallLabel_t
469
enum WallLabel_t
469
{
470
{
470
    WALL_X,
471
    WALL_X,
471
    WALL_Y,
472
    WALL_Y,
472
    WALL_POINT2,
473
    WALL_POINT2,
473
    WALL_NEXTWALL,
474
    WALL_NEXTWALL,
474
    WALL_NEXTSECTOR,
475
    WALL_NEXTSECTOR,
475
    WALL_CSTAT,
476
    WALL_CSTAT,
476
    WALL_PICNUM,
477
    WALL_PICNUM,
477
    WALL_OVERPICNUM,
478
    WALL_OVERPICNUM,
478
    WALL_SHADE,
479
    WALL_SHADE,
479
    WALL_PAL,
480
    WALL_PAL,
480
    WALL_XREPEAT,
481
    WALL_XREPEAT,
481
    WALL_YREPEAT,
482
    WALL_YREPEAT,
482
    WALL_XPANNING,
483
    WALL_XPANNING,
483
    WALL_YPANNING,
484
    WALL_YPANNING,
484
    WALL_LOTAG,
485
    WALL_LOTAG,
485
    WALL_HITAG,
486
    WALL_HITAG,
486
    WALL_EXTRA,
487
    WALL_EXTRA,
487
    WALL_ULOTAG,
488
    WALL_ULOTAG,
488
    WALL_UHITAG,
489
    WALL_UHITAG,
489
    WALL_END
490
    WALL_END
490
};
491
};
491
492
492
enum ActorLabel_t
493
enum ActorLabel_t
493
{
494
{
494
    ACTOR_X,
495
    ACTOR_X,
495
    ACTOR_Y,
496
    ACTOR_Y,
496
    ACTOR_Z,
497
    ACTOR_Z,
497
    ACTOR_CSTAT,
498
    ACTOR_CSTAT,
498
    ACTOR_PICNUM,
499
    ACTOR_PICNUM,
499
    ACTOR_SHADE,
500
    ACTOR_SHADE,
500
    ACTOR_PAL,
501
    ACTOR_PAL,
501
    ACTOR_CLIPDIST,
502
    ACTOR_CLIPDIST,
502
    ACTOR_DETAIL,
503
    ACTOR_DETAIL,
503
    ACTOR_XREPEAT,
504
    ACTOR_XREPEAT,
504
    ACTOR_YREPEAT,
505
    ACTOR_YREPEAT,
505
    ACTOR_XOFFSET,
506
    ACTOR_XOFFSET,
506
    ACTOR_YOFFSET,
507
    ACTOR_YOFFSET,
507
    ACTOR_SECTNUM,
508
    ACTOR_SECTNUM,
508
    ACTOR_STATNUM,
509
    ACTOR_STATNUM,
509
    ACTOR_ANG,
510
    ACTOR_ANG,
510
    ACTOR_OWNER,
511
    ACTOR_OWNER,
511
    ACTOR_XVEL,
512
    ACTOR_XVEL,
512
    ACTOR_YVEL,
513
    ACTOR_YVEL,
513
    ACTOR_ZVEL,
514
    ACTOR_ZVEL,
514
    ACTOR_LOTAG,
515
    ACTOR_LOTAG,
515
    ACTOR_HITAG,
516
    ACTOR_HITAG,
516
    ACTOR_EXTRA,
517
    ACTOR_EXTRA,
517
    ACTOR_HTCGG,
518
    ACTOR_HTCGG,
518
    ACTOR_HTPICNUM,
519
    ACTOR_HTPICNUM,
519
    ACTOR_HTANG,
520
    ACTOR_HTANG,
520
    ACTOR_HTEXTRA,
521
    ACTOR_HTEXTRA,
521
    ACTOR_HTOWNER,
522
    ACTOR_HTOWNER,
522
    ACTOR_HTMOVFLAG,
523
    ACTOR_HTMOVFLAG,
523
    ACTOR_HTTEMPANG,
524
    ACTOR_HTTEMPANG,
524
    ACTOR_HTACTORSTAYPUT,
525
    ACTOR_HTACTORSTAYPUT,
525
    ACTOR_HTDISPICNUM,
526
    ACTOR_HTDISPICNUM,
526
    ACTOR_HTTIMETOSLEEP,
527
    ACTOR_HTTIMETOSLEEP,
527
    ACTOR_HTFLOORZ,
528
    ACTOR_HTFLOORZ,
528
    ACTOR_HTCEILINGZ,
529
    ACTOR_HTCEILINGZ,
529
    ACTOR_HTLASTVX,
530
    ACTOR_HTLASTVX,
530
    ACTOR_HTLASTVY,
531
    ACTOR_HTLASTVY,
531
    ACTOR_HTBPOSX,
532
    ACTOR_HTBPOSX,
532
    ACTOR_HTBPOSY,
533
    ACTOR_HTBPOSY,
533
    ACTOR_HTBPOSZ,
534
    ACTOR_HTBPOSZ,
534
    ACTOR_HTG_T,
535
    ACTOR_HTG_T,
535
    ACTOR_ANGOFF,
536
    ACTOR_ANGOFF,
536
    ACTOR_PITCH,
537
    ACTOR_PITCH,
537
    ACTOR_ROLL,
538
    ACTOR_ROLL,
538
    ACTOR_MDXOFF,
539
    ACTOR_MDXOFF,
539
    ACTOR_MDYOFF,
540
    ACTOR_MDYOFF,
540
    ACTOR_MDZOFF,
541
    ACTOR_MDZOFF,
541
    ACTOR_MDFLAGS,
542
    ACTOR_MDFLAGS,
542
    ACTOR_XPANNING,
543
    ACTOR_XPANNING,
543
    ACTOR_YPANNING,
544
    ACTOR_YPANNING,
544
    ACTOR_HTFLAGS,
545
    ACTOR_HTFLAGS,
545
    ACTOR_ALPHA,
546
    ACTOR_ALPHA,
546
    ACTOR_ULOTAG,
547
    ACTOR_ULOTAG,
547
    ACTOR_UHITAG,
548
    ACTOR_UHITAG,
548
    ACTOR_ISVALID,
549
    ACTOR_ISVALID,
549
    ACTOR_END
550
    ACTOR_END
550
};
551
};
551
552
552
enum InputLabel_t
553
enum InputLabel_t
553
{
554
{
554
    INPUT_AVEL,
555
    INPUT_AVEL,
555
    INPUT_HORZ,
556
    INPUT_HORZ,
556
    INPUT_FVEL,
557
    INPUT_FVEL,
557
    INPUT_SVEL,
558
    INPUT_SVEL,
558
    INPUT_BITS,
559
    INPUT_BITS,
559
    INPUT_EXTBITS,
560
    INPUT_EXTBITS,
560
    INPUT_END
561
    INPUT_END
561
};
562
};
562
563
563
#endif
564
#endif
564
// KEEPINSYNC lunatic/con_lang.lua
565
// KEEPINSYNC lunatic/con_lang.lua
565
enum ProjectileLabel_t
566
enum ProjectileLabel_t
566
{
567
{
567
    PROJ_WORKSLIKE,  // 0
568
    PROJ_WORKSLIKE,  // 0
568
    PROJ_SPAWNS,
569
    PROJ_SPAWNS,
569
    PROJ_SXREPEAT,
570
    PROJ_SXREPEAT,
570
    PROJ_SYREPEAT,
571
    PROJ_SYREPEAT,
571
    PROJ_SOUND,
572
    PROJ_SOUND,
572
    PROJ_ISOUND,  // 5
573
    PROJ_ISOUND,  // 5
573
    PROJ_VEL,
574
    PROJ_VEL,
574
    PROJ_EXTRA,
575
    PROJ_EXTRA,
575
    PROJ_DECAL,
576
    PROJ_DECAL,
576
    PROJ_TRAIL,
577
    PROJ_TRAIL,
577
    PROJ_TXREPEAT,  // 10
578
    PROJ_TXREPEAT,  // 10
578
    PROJ_TYREPEAT,
579
    PROJ_TYREPEAT,
579
    PROJ_TOFFSET,
580
    PROJ_TOFFSET,
580
    PROJ_TNUM,
581
    PROJ_TNUM,
581
    PROJ_DROP,
582
    PROJ_DROP,
582
    PROJ_CSTAT,  // 15
583
    PROJ_CSTAT,  // 15
583
    PROJ_CLIPDIST,
584
    PROJ_CLIPDIST,
584
    PROJ_SHADE,
585
    PROJ_SHADE,
585
    PROJ_XREPEAT,
586
    PROJ_XREPEAT,
586
    PROJ_YREPEAT,
587
    PROJ_YREPEAT,
587
    PROJ_PAL,  // 20
588
    PROJ_PAL,  // 20
588
    PROJ_EXTRA_RAND,
589
    PROJ_EXTRA_RAND,
589
    PROJ_HITRADIUS,
590
    PROJ_HITRADIUS,
590
    PROJ_MOVECNT,
591
    PROJ_MOVECNT,
591
    PROJ_OFFSET,
592
    PROJ_OFFSET,
592
    PROJ_BOUNCES,  // 25
593
    PROJ_BOUNCES,  // 25
593
    PROJ_BSOUND,
594
    PROJ_BSOUND,
594
    PROJ_RANGE,
595
    PROJ_RANGE,
595
    PROJ_FLASH_COLOR,
596
    PROJ_FLASH_COLOR,
596
    PROJ_USERDATA,
597
    PROJ_USERDATA,
597
    PROJ_END
598
    PROJ_END
598
};
599
};
599
#if !defined LUNATIC
600
#if !defined LUNATIC
600
601
601
enum ScriptKeywords_t
602
enum ScriptKeywords_t
602
{
603
{
603
    CON_DEFINELEVELNAME,    // 0
604
    CON_DEFINELEVELNAME,    // 0
604
    CON_ACTOR,              // 1
605
    CON_ACTOR,              // 1
605
    CON_ADDAMMO,            // 2
606
    CON_ADDAMMO,            // 2
606
    CON_IFRND,              // 3
607
    CON_IFRND,              // 3
607
    CON_ENDA,               // 4
608
    CON_ENDA,               // 4
608
    CON_IFCANSEE,           // 5
609
    CON_IFCANSEE,           // 5
609
    CON_IFHITWEAPON,        // 6
610
    CON_IFHITWEAPON,        // 6
610
    CON_ACTION,             // 7
611
    CON_ACTION,             // 7
611
    CON_IFPDISTL,           // 8
612
    CON_IFPDISTL,           // 8
612
    CON_IFPDISTG,           // 9
613
    CON_IFPDISTG,           // 9
613
    CON_ELSE,               // 10
614
    CON_ELSE,               // 10
614
    CON_STRENGTH,           // 11
615
    CON_STRENGTH,           // 11
615
    CON_BREAK,              // 12
616
    CON_BREAK,              // 12
616
    CON_SHOOT,              // 13
617
    CON_SHOOT,              // 13
617
    CON_PALFROM,            // 14
618
    CON_PALFROM,            // 14
618
    CON_SOUND,              // 15
619
    CON_SOUND,              // 15
619
    CON_FALL,               // 16
620
    CON_FALL,               // 16
620
    CON_STATE,              // 17
621
    CON_STATE,              // 17
621
    CON_ENDS,               // 18
622
    CON_ENDS,               // 18
622
    CON_DEFINE,             // 19
623
    CON_DEFINE,             // 19
623
    CON_RETURN,             // 20
624
    CON_RETURN,             // 20
624
    CON_IFAI,               // 21
625
    CON_IFAI,               // 21
625
    CON_KILLIT,             // 22
626
    CON_KILLIT,             // 22
626
    CON_ADDWEAPON,          // 23
627
    CON_ADDWEAPON,          // 23
627
    CON_AI,                 // 24
628
    CON_AI,                 // 24
628
    CON_ADDPHEALTH,         // 25
629
    CON_ADDPHEALTH,         // 25
629
    CON_IFDEAD,             // 26
630
    CON_IFDEAD,             // 26
630
    CON_IFSQUISHED,         // 27
631
    CON_IFSQUISHED,         // 27
631
    CON_SIZETO,             // 28
632
    CON_SIZETO,             // 28
632
    CON_LEFTBRACE,          // 29
633
    CON_LEFTBRACE,          // 29
633
    CON_RIGHTBRACE,         // 30
634
    CON_RIGHTBRACE,         // 30
634
    CON_SPAWN,              // 31
635
    CON_SPAWN,              // 31
635
    CON_MOVE,               // 32
636
    CON_MOVE,               // 32
636
    CON_IFWASWEAPON,        // 33
637
    CON_IFWASWEAPON,        // 33
637
    CON_IFACTION,           // 34
638
    CON_IFACTION,           // 34
638
    CON_IFACTIONCOUNT,      // 35
639
    CON_IFACTIONCOUNT,      // 35
639
    CON_RESETACTIONCOUNT,   // 36
640
    CON_RESETACTIONCOUNT,   // 36
640
    CON_DEBRIS,             // 37
641
    CON_DEBRIS,             // 37
641
    CON_PSTOMP,             // 38
642
    CON_PSTOMP,             // 38
642
    CON_BLOCKCOMMENT,       // 39 deprecated
643
    CON_BLOCKCOMMENT,       // 39 deprecated
643
    CON_CSTAT,              // 40
644
    CON_CSTAT,              // 40
644
    CON_IFMOVE,             // 41
645
    CON_IFMOVE,             // 41
645
    CON_RESETPLAYER,        // 42
646
    CON_RESETPLAYER,        // 42
646
    CON_IFONWATER,          // 43
647
    CON_IFONWATER,          // 43
647
    CON_IFINWATER,          // 44
648
    CON_IFINWATER,          // 44
648
    CON_IFCANSHOOTTARGET,   // 45
649
    CON_IFCANSHOOTTARGET,   // 45
649
    CON_IFCOUNT,            // 46
650
    CON_IFCOUNT,            // 46
650
    CON_RESETCOUNT,         // 47
651
    CON_RESETCOUNT,         // 47
651
    CON_ADDINVENTORY,       // 48
652
    CON_ADDINVENTORY,       // 48
652
    CON_IFACTORNOTSTAYPUT,  // 49
653
    CON_IFACTORNOTSTAYPUT,  // 49
653
    CON_HITRADIUS,          // 50
654
    CON_HITRADIUS,          // 50
654
    CON_IFP,                // 51
655
    CON_IFP,                // 51
655
    CON_COUNT,              // 52
656
    CON_COUNT,              // 52
656
    CON_IFACTOR,            // 53
657
    CON_IFACTOR,            // 53
657
    CON_MUSIC,              // 54
658
    CON_MUSIC,              // 54
658
    CON_INCLUDE,            // 55
659
    CON_INCLUDE,            // 55
659
    CON_IFSTRENGTH,         // 56
660
    CON_IFSTRENGTH,         // 56
660
    CON_DEFINESOUND,        // 57
661
    CON_DEFINESOUND,        // 57
661
    CON_GUTS,               // 58
662
    CON_GUTS,               // 58
662
    CON_IFSPAWNEDBY,        // 59
663
    CON_IFSPAWNEDBY,        // 59
663
    CON_GAMESTARTUP,        // 60
664
    CON_GAMESTARTUP,        // 60
664
    CON_WACKPLAYER,         // 61
665
    CON_WACKPLAYER,         // 61
665
    CON_IFGAPZL,            // 62
666
    CON_IFGAPZL,            // 62
666
    CON_IFHITSPACE,         // 63
667
    CON_IFHITSPACE,         // 63
667
    CON_IFOUTSIDE,          // 64
668
    CON_IFOUTSIDE,          // 64
668
    CON_IFMULTIPLAYER,      // 65
669
    CON_IFMULTIPLAYER,      // 65
669
    CON_OPERATE,            // 66
670
    CON_OPERATE,            // 66
670
    CON_IFINSPACE,          // 67
671
    CON_IFINSPACE,          // 67
671
    CON_DEBUG,              // 68
672
    CON_DEBUG,              // 68
672
    CON_ENDOFGAME,          // 69
673
    CON_ENDOFGAME,          // 69
673
    CON_IFBULLETNEAR,       // 70
674
    CON_IFBULLETNEAR,       // 70
674
    CON_IFRESPAWN,          // 71
675
    CON_IFRESPAWN,          // 71
675
    CON_IFFLOORDISTL,       // 72
676
    CON_IFFLOORDISTL,       // 72
676
    CON_IFCEILINGDISTL,     // 73
677
    CON_IFCEILINGDISTL,     // 73
677
    CON_SPRITEPAL,          // 74
678
    CON_SPRITEPAL,          // 74
678
    CON_IFPINVENTORY,       // 75
679
    CON_IFPINVENTORY,       // 75
679
    CON_BETANAME,           // 76
680
    CON_BETANAME,           // 76
680
    CON_CACTOR,             // 77
681
    CON_CACTOR,             // 77
681
    CON_IFPHEALTHL,         // 78
682
    CON_IFPHEALTHL,         // 78
682
    CON_DEFINEQUOTE,        // 79
683
    CON_DEFINEQUOTE,        // 79
683
    CON_QUOTE,              // 80
684
    CON_QUOTE,              // 80
684
    CON_IFINOUTERSPACE,     // 81
685
    CON_IFINOUTERSPACE,     // 81
685
    CON_IFNOTMOVING,        // 82
686
    CON_IFNOTMOVING,        // 82
686
    CON_RESPAWNHITAG,       // 83
687
    CON_RESPAWNHITAG,       // 83
687
    CON_TIP,                // 84
688
    CON_TIP,                // 84
688
    CON_IFSPRITEPAL,        // 85
689
    CON_IFSPRITEPAL,        // 85
689
    CON_MONEY,              // 86
690
    CON_MONEY,              // 86
690
    CON_SOUNDONCE,          // 87
691
    CON_SOUNDONCE,          // 87
691
    CON_ADDKILLS,           // 88
692
    CON_ADDKILLS,           // 88
692
    CON_STOPSOUND,          // 89
693
    CON_STOPSOUND,          // 89
693
    CON_IFAWAYFROMWALL,     // 90
694
    CON_IFAWAYFROMWALL,     // 90
694
    CON_IFCANSEETARGET,     // 91
695
    CON_IFCANSEETARGET,     // 91
695
    CON_GLOBALSOUND,        // 92
696
    CON_GLOBALSOUND,        // 92
696
    CON_LOTSOFGLASS,        // 93
697
    CON_LOTSOFGLASS,        // 93
697
    CON_IFGOTWEAPONCE,      // 94
698
    CON_IFGOTWEAPONCE,      // 94
698
    CON_GETLASTPAL,         // 95
699
    CON_GETLASTPAL,         // 95
699
    CON_PKICK,              // 96
700
    CON_PKICK,              // 96
700
    CON_MIKESND,            // 97
701
    CON_MIKESND,            // 97
701
    CON_USERACTOR,          // 98
702
    CON_USERACTOR,          // 98
702
    CON_SIZEAT,             // 99
703
    CON_SIZEAT,             // 99
703
    CON_ADDSTRENGTH,        // 100
704
    CON_ADDSTRENGTH,        // 100
704
    CON_CSTATOR,            // 101
705
    CON_CSTATOR,            // 101
705
    CON_MAIL,               // 102
706
    CON_MAIL,               // 102
706
    CON_PAPER,              // 103
707
    CON_PAPER,              // 103
707
    CON_TOSSWEAPON,         // 104
708
    CON_TOSSWEAPON,         // 104
708
    CON_SLEEPTIME,          // 105
709
    CON_SLEEPTIME,          // 105
709
    CON_NULLOP,             // 106
710
    CON_NULLOP,             // 106
710
    CON_DEFINEVOLUMENAME,   // 107
711
    CON_DEFINEVOLUMENAME,   // 107
711
    CON_DEFINESKILLNAME,    // 108
712
    CON_DEFINESKILLNAME,    // 108
712
    CON_IFNOSOUNDS,         // 109
713
    CON_IFNOSOUNDS,         // 109
713
    CON_CLIPDIST,           // 110
714
    CON_CLIPDIST,           // 110
714
    CON_IFANGDIFFL,         // 111
715
    CON_IFANGDIFFL,         // 111
715
    CON_GAMEVAR,            // 112
716
    CON_GAMEVAR,            // 112
716
    CON_IFVARL,             // 113
717
    CON_IFVARL,             // 113
717
    CON_IFVARG,             // 114
718
    CON_IFVARG,             // 114
718
    CON_SETVARVAR,          // 115
719
    CON_SETVARVAR,          // 115
719
    CON_SETVAR,             // 116
720
    CON_SETVAR,             // 116
720
    CON_ADDVARVAR,          // 117
721
    CON_ADDVARVAR,          // 117
721
    CON_ADDVAR,             // 118
722
    CON_ADDVAR,             // 118
722
    CON_IFVARVARL,          // 119
723
    CON_IFVARVARL,          // 119
723
    CON_IFVARVARG,          // 120
724
    CON_IFVARVARG,          // 120
724
    CON_ADDLOGVAR,          // 121
725
    CON_ADDLOGVAR,          // 121
725
    CON_ADDLOG,             // 122
726
    CON_ADDLOG,             // 122
726
    CON_ONEVENT,            // 123
727
    CON_ONEVENT,            // 123
727
    CON_ENDEVENT,           // 124
728
    CON_ENDEVENT,           // 124
728
    CON_IFVARE,             // 125
729
    CON_IFVARE,             // 125
729
    CON_IFVARVARE,          // 126
730
    CON_IFVARVARE,          // 126
730
    CON_SPGETLOTAG,         // 127
731
    CON_SPGETLOTAG,         // 127
731
    CON_SPGETHITAG,         // 128
732
    CON_SPGETHITAG,         // 128
732
    CON_SECTGETLOTAG,       // 129
733
    CON_SECTGETLOTAG,       // 129
733
    CON_SECTGETHITAG,       // 130
734
    CON_SECTGETHITAG,       // 130
734
    CON_IFSOUND,            // 131
735
    CON_IFSOUND,            // 131
735
    CON_GETTEXTUREFLOOR,    // 132
736
    CON_GETTEXTUREFLOOR,    // 132
736
    CON_GETTEXTURECEILING,  // 133
737
    CON_GETTEXTURECEILING,  // 133
737
    CON_INITTIMER,          // 134
738
    CON_INITTIMER,          // 134
738
    CON_STARTTRACK,         // 135
739
    CON_STARTTRACK,         // 135
739
    CON_RANDVAR,            // 136
740
    CON_RANDVAR,            // 136
740
    CON_ENHANCED,           // 137
741
    CON_ENHANCED,           // 137
741
    CON_GETANGLETOTARGET,   // 138
742
    CON_GETANGLETOTARGET,   // 138
742
    CON_GETACTORANGLE,      // 139
743
    CON_GETACTORANGLE,      // 139
743
    CON_SETACTORANGLE,      // 140
744
    CON_SETACTORANGLE,      // 140
744
    CON_MULVAR,             // 141
745
    CON_MULVAR,             // 141
745
    CON_MULVARVAR,          // 142
746
    CON_MULVARVAR,          // 142
746
    CON_DIVVAR,             // 143
747
    CON_DIVVAR,             // 143
747
    CON_DIVVARVAR,          // 144
748
    CON_DIVVARVAR,          // 144
748
    CON_MODVAR,             // 145
749
    CON_MODVAR,             // 145
749
    CON_MODVARVAR,          // 146
750
    CON_MODVARVAR,          // 146
750
    CON_ANDVAR,             // 147
751
    CON_ANDVAR,             // 147
751
    CON_ANDVARVAR,          // 148
752
    CON_ANDVARVAR,          // 148
752
    CON_ORVAR,              // 149
753
    CON_ORVAR,              // 149
753
    CON_ORVARVAR,           // 150
754
    CON_ORVARVAR,           // 150
754
    CON_GETPLAYERANGLE,     // 151
755
    CON_GETPLAYERANGLE,     // 151
755
    CON_SETPLAYERANGLE,     // 152
756
    CON_SETPLAYERANGLE,     // 152
756
    CON_LOCKPLAYER,         // 153
757
    CON_LOCKPLAYER,         // 153
757
    CON_SETSECTOR,          // 154
758
    CON_SETSECTOR,          // 154
758
    CON_GETSECTOR,          // 155
759
    CON_GETSECTOR,          // 155
759
    CON_SETACTOR,           // 156
760
    CON_SETACTOR,           // 156
760
    CON_GETACTOR,           // 157
761
    CON_GETACTOR,           // 157
761
    CON_SETWALL,            // 158
762
    CON_SETWALL,            // 158
762
    CON_GETWALL,            // 159
763
    CON_GETWALL,            // 159
763
    CON_FINDNEARACTOR,      // 160
764
    CON_FINDNEARACTOR,      // 160
764
    CON_FINDNEARACTORVAR,   // 161
765
    CON_FINDNEARACTORVAR,   // 161
765
    CON_SETACTORVAR,        // 162
766
    CON_SETACTORVAR,        // 162
766
    CON_GETACTORVAR,        // 163
767
    CON_GETACTORVAR,        // 163
767
    CON_ESPAWN,             // 164
768
    CON_ESPAWN,             // 164
768
    CON_GETPLAYER,          // 165
769
    CON_GETPLAYER,          // 165
769
    CON_SETPLAYER,          // 166
770
    CON_SETPLAYER,          // 166
770
    CON_SQRT,               // 167
771
    CON_SQRT,               // 167
771
    CON_EVENTLOADACTOR,     // 168
772
    CON_EVENTLOADACTOR,     // 168
772
    CON_ESPAWNVAR,          // 169
773
    CON_ESPAWNVAR,          // 169
773
    CON_GETUSERDEF,         // 170
774
    CON_GETUSERDEF,         // 170
774
    CON_SETUSERDEF,         // 171
775
    CON_SETUSERDEF,         // 171
775
    CON_SUBVARVAR,          // 172
776
    CON_SUBVARVAR,          // 172
776
    CON_SUBVAR,             // 173
777
    CON_SUBVAR,             // 173
777
    CON_IFVARN,             // 174
778
    CON_IFVARN,             // 174
778
    CON_IFVARVARN,          // 175
779
    CON_IFVARVARN,          // 175
779
    CON_IFVARAND,           // 176
780
    CON_IFVARAND,           // 176
780
    CON_IFVARVARAND,        // 177
781
    CON_IFVARVARAND,        // 177
781
    CON_MYOS,               // 178
782
    CON_MYOS,               // 178
782
    CON_MYOSPAL,            // 179
783
    CON_MYOSPAL,            // 179
783
    CON_DISPLAYRAND,        // 180
784
    CON_DISPLAYRAND,        // 180
784
    CON_SIN,                // 181
785
    CON_SIN,                // 181
785
    CON_XORVARVAR,          // 182
786
    CON_XORVARVAR,          // 182
786
    CON_XORVAR,             // 183
787
    CON_XORVAR,             // 183
787
    CON_RANDVARVAR,         // 184
788
    CON_RANDVARVAR,         // 184
788
    CON_MYOSX,              // 185
789
    CON_MYOSX,              // 185
789
    CON_MYOSPALX,           // 186
790
    CON_MYOSPALX,           // 186
790
    CON_GMAXAMMO,           // 187
791
    CON_GMAXAMMO,           // 187
791
    CON_SMAXAMMO,           // 188
792
    CON_SMAXAMMO,           // 188
792
    CON_STARTLEVEL,         // 189
793
    CON_STARTLEVEL,         // 189
793
    CON_ESHOOT,             // 190
794
    CON_ESHOOT,             // 190
794
    CON_QSPAWN,             // 191
795
    CON_QSPAWN,             // 191
795
    CON_ROTATESPRITE,       // 192
796
    CON_ROTATESPRITE,       // 192
796
    CON_DEFINEPROJECTILE,   // 193
797
    CON_DEFINEPROJECTILE,   // 193
797
    CON_SPRITESHADOW,       // 194
798
    CON_SPRITESHADOW,       // 194
798
    CON_COS,                // 195
799
    CON_COS,                // 195
799
    CON_ESHOOTVAR,          // 196
800
    CON_ESHOOTVAR,          // 196
800
    CON_FINDNEARACTOR3D,    // 197
801
    CON_FINDNEARACTOR3D,    // 197
801
    CON_FINDNEARACTOR3DVAR, // 198
802
    CON_FINDNEARACTOR3DVAR, // 198
802
    CON_FLASH,              // 199
803
    CON_FLASH,              // 199
803
    CON_QSPAWNVAR,          // 200
804
    CON_QSPAWNVAR,          // 200
804
    CON_EQSPAWN,            // 201
805
    CON_EQSPAWN,            // 201
805
    CON_EQSPAWNVAR,         // 202
806
    CON_EQSPAWNVAR,         // 202
806
    CON_MINITEXT,           // 203
807
    CON_MINITEXT,           // 203
807
    CON_GAMETEXT,           // 204
808
    CON_GAMETEXT,           // 204
808
    CON_DIGITALNUMBER,      // 205
809
    CON_DIGITALNUMBER,      // 205
809
    CON_ADDWEAPONVAR,       // 206
810
    CON_ADDWEAPONVAR,       // 206
810
    CON_SETPROJECTILE,      // 207
811
    CON_SETPROJECTILE,      // 207
811
    CON_ANGOFF,             // 208
812
    CON_ANGOFF,             // 208
812
    CON_UPDATESECTOR,       // 209
813
    CON_UPDATESECTOR,       // 209
813
    CON_INSERTSPRITEQ,      // 210
814
    CON_INSERTSPRITEQ,      // 210
814
    CON_ANGOFFVAR,          // 211
815
    CON_ANGOFFVAR,          // 211
815
    CON_WHILEVARN,          // 212
816
    CON_WHILEVARN,          // 212
816
    CON_SWITCH,             // 213
817
    CON_SWITCH,             // 213
817
    CON_CASE,               // 214
818
    CON_CASE,               // 214
818
    CON_DEFAULT,            // 215
819
    CON_DEFAULT,            // 215
819
    CON_ENDSWITCH,          // 216
820
    CON_ENDSWITCH,          // 216
820
    CON_SHOOTVAR,           // 217
821
    CON_SHOOTVAR,           // 217
821
    CON_SOUNDVAR,           // 218
822
    CON_SOUNDVAR,           // 218
822
    CON_FINDPLAYER,         // 219
823
    CON_FINDPLAYER,         // 219
823
    CON_FINDOTHERPLAYER,    // 220
824
    CON_FINDOTHERPLAYER,    // 220
824
    CON_ACTIVATEBYSECTOR,   // 221
825
    CON_ACTIVATEBYSECTOR,   // 221
825
    CON_OPERATESECTORS,     // 222
826
    CON_OPERATESECTORS,     // 222
826
    CON_OPERATERESPAWNS,    // 223
827
    CON_OPERATERESPAWNS,    // 223
827
    CON_OPERATEACTIVATORS,  // 224
828
    CON_OPERATEACTIVATORS,  // 224
828
    CON_OPERATEMASTERSWITCHES,  // 225
829
    CON_OPERATEMASTERSWITCHES,  // 225
829
    CON_CHECKACTIVATORMOTION,   // 226
830
    CON_CHECKACTIVATORMOTION,   // 226
830
    CON_ZSHOOT,             // 227
831
    CON_ZSHOOT,             // 227
831
    CON_DIST,               // 228
832
    CON_DIST,               // 228
832
    CON_LDIST,              // 229
833
    CON_LDIST,              // 229
833
    CON_SHIFTVARL,          // 230
834
    CON_SHIFTVARL,          // 230
834
    CON_SHIFTVARR,          // 231
835
    CON_SHIFTVARR,          // 231
835
    CON_SPRITENVG,          // 232
836
    CON_SPRITENVG,          // 232
836
    CON_GETANGLE,           // 233
837
    CON_GETANGLE,           // 233
837
    CON_WHILEVARVARN,       // 234
838
    CON_WHILEVARVARN,       // 234
838
    CON_HITSCAN,            // 235
839
    CON_HITSCAN,            // 235
839
    CON_TIME,               // 236
840
    CON_TIME,               // 236
840
    CON_GETPLAYERVAR,       // 237
841
    CON_GETPLAYERVAR,       // 237
841
    CON_SETPLAYERVAR,       // 238
842
    CON_SETPLAYERVAR,       // 238
842
    CON_MULSCALE,           // 239
843
    CON_MULSCALE,           // 239
843
    CON_SETASPECT,          // 240
844
    CON_SETASPECT,          // 240
844
    CON_EZSHOOT,            // 241
845
    CON_EZSHOOT,            // 241
845
    CON_SPRITENOSHADE,      // 242
846
    CON_SPRITENOSHADE,      // 242
846
    CON_MOVESPRITE,         // 243
847
    CON_MOVESPRITE,         // 243
847
    CON_CHECKAVAILWEAPON,   // 244
848
    CON_CHECKAVAILWEAPON,   // 244
848
    CON_SOUNDONCEVAR,       // 245
849
    CON_SOUNDONCEVAR,       // 245
849
    CON_UPDATESECTORZ,      // 246
850
    CON_UPDATESECTORZ,      // 246
850
    CON_STOPALLSOUNDS,      // 247
851
    CON_STOPALLSOUNDS,      // 247
851
    CON_SSP,                // 248
852
    CON_SSP,                // 248
852
    CON_STOPSOUNDVAR,       // 249
853
    CON_STOPSOUNDVAR,       // 249
853
    CON_DISPLAYRANDVAR,     // 250
854
    CON_DISPLAYRANDVAR,     // 250
854
    CON_DISPLAYRANDVARVAR,  // 251
855
    CON_DISPLAYRANDVARVAR,  // 251
855
    CON_CHECKAVAILINVEN,    // 252
856
    CON_CHECKAVAILINVEN,    // 252
856
    CON_GLOBALSOUNDVAR,     // 253
857
    CON_GLOBALSOUNDVAR,     // 253
857
    CON_GUNIQHUDID,         // 254
858
    CON_GUNIQHUDID,         // 254
858
    CON_GETPROJECTILE,      // 255
859
    CON_GETPROJECTILE,      // 255
859
    CON_GETTHISPROJECTILE,  // 256
860
    CON_GETTHISPROJECTILE,  // 256
860
    CON_SETTHISPROJECTILE,  // 257
861
    CON_SETTHISPROJECTILE,  // 257
861
    CON_DEFINECHEAT,        // 258
862
    CON_DEFINECHEAT,        // 258
862
    CON_CHEATKEYS,          // 259
863
    CON_CHEATKEYS,          // 259
863
    CON_USERQUOTE,          // 260
864
    CON_USERQUOTE,          // 260
864
    CON_PRECACHE,           // 261
865
    CON_PRECACHE,           // 261
865
    CON_DEFINEGAMEFUNCNAME, // 262
866
    CON_DEFINEGAMEFUNCNAME, // 262
866
    CON_REDEFINEQUOTE,      // 263
867
    CON_REDEFINEQUOTE,      // 263
867
    CON_QSPRINTF,           // 264
868
    CON_QSPRINTF,           // 264
868
    CON_GETPNAME,           // 265
869
    CON_GETPNAME,           // 265
869
    CON_QSTRCAT,            // 266
870
    CON_QSTRCAT,            // 266
870
    CON_QSTRCPY,            // 267
871
    CON_QSTRCPY,            // 267
871
    CON_SETSPRITE,          // 268
872
    CON_SETSPRITE,          // 268
872
    CON_ROTATEPOINT,        // 269
873
    CON_ROTATEPOINT,        // 269
873
    CON_DRAGPOINT,          // 270
874
    CON_DRAGPOINT,          // 270
874
    CON_GETZRANGE,          // 271
875
    CON_GETZRANGE,          // 271
875
    CON_CHANGESPRITESTAT,   // 272
876
    CON_CHANGESPRITESTAT,   // 272
876
    CON_GETCEILZOFSLOPE,    // 273
877
    CON_GETCEILZOFSLOPE,    // 273
877
    CON_GETFLORZOFSLOPE,    // 274
878
    CON_GETFLORZOFSLOPE,    // 274
878
    CON_NEARTAG,            // 275
879
    CON_NEARTAG,            // 275
879
    CON_DEFINEGAMETYPE,     // 276
880
    CON_DEFINEGAMETYPE,     // 276
880
    CON_CHANGESPRITESECT,   // 277
881
    CON_CHANGESPRITESECT,   // 277
881
    CON_SPRITEFLAGS,        // 278
882
    CON_SPRITEFLAGS,        // 278
882
    CON_SAVEGAMEVAR,        // 279
883
    CON_SAVEGAMEVAR,        // 279
883
    CON_READGAMEVAR,        // 280
884
    CON_READGAMEVAR,        // 280
884
    CON_FINDNEARSPRITE,     // 281
885
    CON_FINDNEARSPRITE,     // 281
885
    CON_FINDNEARSPRITEVAR,  // 282
886
    CON_FINDNEARSPRITEVAR,  // 282
886
    CON_FINDNEARSPRITE3D,   // 283
887
    CON_FINDNEARSPRITE3D,   // 283
887
    CON_FINDNEARSPRITE3DVAR,// 284
888
    CON_FINDNEARSPRITE3DVAR,// 284
888
    CON_DYNAMICREMAP,       // 285
889
    CON_DYNAMICREMAP,       // 285
889
    CON_SETINPUT,           // 286
890
    CON_SETINPUT,           // 286
890
    CON_GETINPUT,           // 287
891
    CON_GETINPUT,           // 287
891
    CON_SAVE,               // 288
892
    CON_SAVE,               // 288
892
    CON_CANSEE,             // 289
893
    CON_CANSEE,             // 289
893
    CON_CANSEESPR,          // 290
894
    CON_CANSEESPR,          // 290
894
    CON_FINDNEARACTORZ,     // 291
895
    CON_FINDNEARACTORZ,     // 291
895
    CON_FINDNEARACTORZVAR,  // 292
896
    CON_FINDNEARACTORZVAR,  // 292
896
    CON_FINDNEARSPRITEZ,    // 293
897
    CON_FINDNEARSPRITEZ,    // 293
897
    CON_FINDNEARSPRITEZVAR, // 294
898
    CON_FINDNEARSPRITEZVAR, // 294
898
    CON_ZSHOOTVAR,          // 295
899
    CON_ZSHOOTVAR,          // 295
899
    CON_EZSHOOTVAR,         // 296
900
    CON_EZSHOOTVAR,         // 296
900
    CON_GETCURRADDRESS,     // 297
901
    CON_GETCURRADDRESS,     // 297
901
    CON_JUMP,               // 298
902
    CON_JUMP,               // 298
902
    CON_QSTRLEN,            // 299
903
    CON_QSTRLEN,            // 299
903
    CON_GETINCANGLE,        // 300
904
    CON_GETINCANGLE,        // 300
904
    CON_QUAKE,              // 301
905
    CON_QUAKE,              // 301
905
    CON_SHOWVIEW,           // 302
906
    CON_SHOWVIEW,           // 302
906
    CON_HEADSPRITESTAT,     // 303
907
    CON_HEADSPRITESTAT,     // 303
907
    CON_PREVSPRITESTAT,     // 304
908
    CON_PREVSPRITESTAT,     // 304
908
    CON_NEXTSPRITESTAT,     // 305
909
    CON_NEXTSPRITESTAT,     // 305
909
    CON_HEADSPRITESECT,     // 306
910
    CON_HEADSPRITESECT,     // 306
910
    CON_PREVSPRITESECT,     // 307
911
    CON_PREVSPRITESECT,     // 307
911
    CON_NEXTSPRITESECT,     // 308
912
    CON_NEXTSPRITESECT,     // 308
912
    CON_GETKEYNAME,         // 309
913
    CON_GETKEYNAME,         // 309
913
    CON_QSUBSTR,            // 310
914
    CON_QSUBSTR,            // 310
914
    CON_GAMETEXTZ,          // 311
915
    CON_GAMETEXTZ,          // 311
915
    CON_DIGITALNUMBERZ,     // 312
916
    CON_DIGITALNUMBERZ,     // 312
916
    CON_SPRITENOPAL,        // 313
917
    CON_SPRITENOPAL,        // 313
917
    CON_HITRADIUSVAR,       // 314
918
    CON_HITRADIUSVAR,       // 314
918
    CON_ROTATESPRITE16,     // 315
919
    CON_ROTATESPRITE16,     // 315
919
    CON_GAMEARRAY,          // 316
920
    CON_GAMEARRAY,          // 316
920
    CON_SETARRAY,           // 317
921
    CON_SETARRAY,           // 317
921
    CON_RESIZEARRAY,        // 318
922
    CON_RESIZEARRAY,        // 318
922
    CON_WRITEARRAYTOFILE,   // 319
923
    CON_WRITEARRAYTOFILE,   // 319
923
    CON_READARRAYFROMFILE,  // 320
924
    CON_READARRAYFROMFILE,  // 320
924
    CON_STARTTRACKVAR,      // 321
925
    CON_STARTTRACKVAR,      // 321
925
    CON_QGETSYSSTR,         // 322
926
    CON_QGETSYSSTR,         // 322
926
    CON_GETTICKS,           // 323
927
    CON_GETTICKS,           // 323
927
    CON_GETTSPR,            // 324
928
    CON_GETTSPR,            // 324
928
    CON_SETTSPR,            // 325
929
    CON_SETTSPR,            // 325
929
    CON_SAVEMAPSTATE,       // 326
930
    CON_SAVEMAPSTATE,       // 326
930
    CON_LOADMAPSTATE,       // 327
931
    CON_LOADMAPSTATE,       // 327
931
    CON_CLEARMAPSTATE,      // 328
932
    CON_CLEARMAPSTATE,      // 328
932
    CON_SCRIPTSIZE,         // 329
933
    CON_SCRIPTSIZE,         // 329
933
    CON_SETGAMENAME,        // 330
934
    CON_SETGAMENAME,        // 330
934
    CON_CMENU,              // 331
935
    CON_CMENU,              // 331
935
    CON_GETTIMEDATE,        // 332 
936
    CON_GETTIMEDATE,        // 332 
936
    CON_ACTIVATECHEAT,      // 333
937
    CON_ACTIVATECHEAT,      // 333
937
    CON_SETGAMEPALETTE,     // 334
938
    CON_SETGAMEPALETTE,     // 334
938
    CON_SETDEFNAME,         // 335
939
    CON_SETDEFNAME,         // 335
939
    CON_SETCFGNAME,         // 336
940
    CON_SETCFGNAME,         // 336
940
    CON_IFVAROR,            // 337
941
    CON_IFVAROR,            // 337
941
    CON_IFVARVAROR,         // 338
942
    CON_IFVARVAROR,         // 338
942
    CON_IFVARXOR,           // 339
943
    CON_IFVARXOR,           // 339
943
    CON_IFVARVARXOR,        // 340
944
    CON_IFVARVARXOR,        // 340
944
    CON_IFVAREITHER,        // 341
945
    CON_IFVAREITHER,        // 341
945
    CON_IFVARVAREITHER,     // 342
946
    CON_IFVARVAREITHER,     // 342
946
    CON_GETARRAYSIZE,       // 343
947
    CON_GETARRAYSIZE,       // 343
947
    CON_SAVENN,             // 344
948
    CON_SAVENN,             // 344
948
    CON_COPY,               // 345
949
    CON_COPY,               // 345
949
    CON_INV,                // 346
950
    CON_INV,                // 346
950
    CON_SECTOROFWALL,       // 347
951
    CON_SECTOROFWALL,       // 347
951
    CON_QSTRNCAT,           // 348
952
    CON_QSTRNCAT,           // 348
952
    CON_IFACTORSOUND,       // 349
953
    CON_IFACTORSOUND,       // 349
953
    CON_STOPACTORSOUND,     // 350
954
    CON_STOPACTORSOUND,     // 350
954
    CON_IFCLIENT,           // 351
955
    CON_IFCLIENT,           // 351
955
    CON_IFSERVER,           // 352
956
    CON_IFSERVER,           // 352
956
    CON_SECTSETINTERPOLATION, // 353
957
    CON_SECTSETINTERPOLATION, // 353
957
    CON_SECTCLEARINTERPOLATION, // 354
958
    CON_SECTCLEARINTERPOLATION, // 354
958
    CON_CLIPMOVE,           // 355
959
    CON_CLIPMOVE,           // 355
959
    CON_LINEINTERSECT,      // 356
960
    CON_LINEINTERSECT,      // 356
960
    CON_RAYINTERSECT,       // 357
961
    CON_RAYINTERSECT,       // 357
961
    CON_CALCHYPOTENUSE,     // 358
962
    CON_CALCHYPOTENUSE,     // 358
962
    CON_CLIPMOVENOSLIDE,    // 359
963
    CON_CLIPMOVENOSLIDE,    // 359
963
    CON_INCLUDEDEFAULT,     // 360
964
    CON_INCLUDEDEFAULT,     // 360
964
    CON_SETACTORSOUNDPITCH, // 361
965
    CON_SETACTORSOUNDPITCH, // 361
965
    CON_ECHO,               // 362
966
    CON_ECHO,               // 362
966
    CON_SHOWVIEWUNBIASED,   // 363
967
    CON_SHOWVIEWUNBIASED,   // 363
967
    CON_ROTATESPRITEA,      // 364
968
    CON_ROTATESPRITEA,      // 364
968
    CON_SHADETO,            // 365
969
    CON_SHADETO,            // 365
969
    CON_ENDOFLEVEL,         // 366
970
    CON_ENDOFLEVEL,         // 366
970
    CON_IFPLAYERSL,         // 367
971
    CON_IFPLAYERSL,         // 367
971
    CON_ACTIVATE,           // 368
972
    CON_ACTIVATE,           // 368
972
    CON_QSTRDIM,            // 369
973
    CON_QSTRDIM,            // 369
973
    CON_SCREENTEXT,         // 370
974
    CON_SCREENTEXT,         // 370
974
    CON_DYNAMICSOUNDREMAP,  // 371
975
    CON_DYNAMICSOUNDREMAP,  // 371
975
    CON_SCREENSOUND,        // 372
976
    CON_SCREENSOUND,        // 372
976
    CON_GETMUSICPOSITION,   // 373
977
    CON_GETMUSICPOSITION,   // 373
977
    CON_SETMUSICPOSITION,   // 374
978
    CON_SETMUSICPOSITION,   // 374
978
    CON_END
979
    CON_END
979
};
980
};
980
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
981
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
981
#endif
982
#endif
982
983
983
#ifdef __cplusplus
984
#ifdef __cplusplus
984
}
985
}
985
#endif
986
#endif
986
987
987
#endif // gamedef_h_
988
#endif // gamedef_h_
988
 
989