Subversion Repositories eduke32

Rev

Rev 4970 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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