Subversion Repositories eduke32

Rev

Rev 582 | Rev 587 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 Plagman 1
//-------------------------------------------------------------------------
2
/*
484 terminx 3
Copyright (C) 1996, 2003 - 3D Realms Entertainment
4
Copyright (C) 2000, 2003 - Matt Saettler (EDuke Enhancements)
5
Copyright (C) 2004, 2007 - EDuke32 developers
5 Plagman 6
 
7
This file is part of EDuke32
8
 
9
EDuke32 is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License version 2
11
as published by the Free Software Foundation.
12
 
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
 
17
See the GNU General Public License for more details.
18
 
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
*/
23
//-------------------------------------------------------------------------
24
 
25
#define MAXGAMEEVENTS   128
26
#define LABEL_HASPARM2  1
27
#define LABEL_ISSTRING  2
28
 
29
extern int g_iReturnVarID;      // var ID of "RETURN"
30
extern int g_iWeaponVarID;      // var ID of "WEAPON"
31
extern int g_iWorksLikeVarID;   // var ID of "WORKSLIKE"
32
extern int g_iZRangeVarID;      // var ID of "ZRANGE"
33
extern int g_iAngRangeVarID;    // var ID of "ANGRANGE"
34
extern int g_iAimAngleVarID;    // var ID of "AUTOAIMANGLE"
35
extern int g_iLoTagID;          // var ID of "LOTAG"
36
extern int g_iHiTagID;          // var ID of "HITAG"
37
extern int g_iTextureID;        // var ID of "TEXTURE"
38
extern int g_iThisActorID;      // var ID of "THISACTOR"
39
 
584 terminx 40
extern int *actorLoadEventScrptr[MAXTILES];
5 Plagman 41
 
584 terminx 42
extern int *apScriptGameEvent[MAXGAMEEVENTS];
5 Plagman 43
 
44
extern short otherp;
584 terminx 45
extern int g_currentweapon;
46
extern int g_gun_pos;
47
extern int g_looking_arc;
48
extern int g_currentweapon;
49
extern int g_weapon_xoffset;
50
extern int g_gs;
51
extern int g_kb;
52
extern int g_looking_angSR1;
5 Plagman 53
extern int display_bonus_screen;
584 terminx 54
extern int lastvisinc;
5 Plagman 55
extern char cheatquotes[][MAXCHEATLEN];
398 terminx 56
extern char compilefile[BMAX_PATH];
432 terminx 57
extern int total_lines,line_number;
58
extern int error,warning;
566 terminx 59
typedef struct _labels
60
{
5 Plagman 61
    char *name;
584 terminx 62
    int lId;
5 Plagman 63
    int flags;
64
    int maxParm2;
65
} LABELS;
66
 
566 terminx 67
extern LABELS sectorlabels[];
68
extern LABELS walllabels[];
69
extern LABELS actorlabels[];
70
extern LABELS playerlabels[];
71
extern LABELS projectilelabels[];
72
extern LABELS userdeflabels[];
73
extern LABELS inputlabels[];
74
 
398 terminx 75
enum errors
76
{
77
    ERROR_CLOSEBRACKET,
78
    ERROR_EVENTONLY,
79
    ERROR_EXCEEDSMAXTILES,
80
    ERROR_EXPECTEDKEYWORD,
81
    ERROR_FOUNDWITHIN,
82
    ERROR_ISAKEYWORD,
83
    ERROR_NOENDSWITCH,
84
    ERROR_NOTAGAMEDEF,
85
    ERROR_NOTAGAMEVAR,
86
    ERROR_OPENBRACKET,
87
    ERROR_PARAMUNDEFINED,
88
    ERROR_SYMBOLNOTRECOGNIZED,
89
    ERROR_SYNTAXERROR,
90
    ERROR_VARREADONLY,
91
    ERROR_VARTYPEMISMATCH,
92
    WARNING_DUPLICATEDEFINITION,
93
    WARNING_EVENTSYNC,
94
    WARNING_LABELSONLY,
95
};
96
 
566 terminx 97
enum playerlabels
98
{
5 Plagman 99
    PLAYER_ZOOM,
100
    PLAYER_EXITX,
101
    PLAYER_EXITY,
102
    PLAYER_LOOGIEX,
103
    PLAYER_LOOGIEY,
104
    PLAYER_NUMLOOGS,
105
    PLAYER_LOOGCNT,
106
    PLAYER_POSX,
107
    PLAYER_POSY,
108
    PLAYER_POSZ,
109
    PLAYER_HORIZ,
110
    PLAYER_OHORIZ,
111
    PLAYER_OHORIZOFF,
112
    PLAYER_INVDISPTIME,
113
    PLAYER_BOBPOSX,
114
    PLAYER_BOBPOSY,
115
    PLAYER_OPOSX,
116
    PLAYER_OPOSY,
117
    PLAYER_OPOSZ,
118
    PLAYER_PYOFF,
119
    PLAYER_OPYOFF,
120
    PLAYER_POSXV,
121
    PLAYER_POSYV,
122
    PLAYER_POSZV,
123
    PLAYER_LAST_PISSED_TIME,
124
    PLAYER_TRUEFZ,
125
    PLAYER_TRUECZ,
126
    PLAYER_PLAYER_PAR,
127
    PLAYER_VISIBILITY,
128
    PLAYER_BOBCOUNTER,
129
    PLAYER_WEAPON_SWAY,
130
    PLAYER_PALS_TIME,
131
    PLAYER_RANDOMFLAMEX,
132
    PLAYER_CRACK_TIME,
133
    PLAYER_AIM_MODE,
134
    PLAYER_ANG,
135
    PLAYER_OANG,
136
    PLAYER_ANGVEL,
137
    PLAYER_CURSECTNUM,
138
    PLAYER_LOOK_ANG,
139
    PLAYER_LAST_EXTRA,
140
    PLAYER_SUBWEAPON,
141
    PLAYER_AMMO_AMOUNT,
142
    PLAYER_WACKEDBYACTOR,
143
    PLAYER_FRAG,
144
    PLAYER_FRAGGEDSELF,
145
    PLAYER_CURR_WEAPON,
146
    PLAYER_LAST_WEAPON,
147
    PLAYER_TIPINCS,
148
    PLAYER_HORIZOFF,
149
    PLAYER_WANTWEAPONFIRE,
150
    PLAYER_HOLODUKE_AMOUNT,
151
    PLAYER_NEWOWNER,
152
    PLAYER_HURT_DELAY,
153
    PLAYER_HBOMB_HOLD_DELAY,
154
    PLAYER_JUMPING_COUNTER,
155
    PLAYER_AIRLEFT,
156
    PLAYER_KNEE_INCS,
157
    PLAYER_ACCESS_INCS,
158
    PLAYER_FTA,
159
    PLAYER_FTQ,
160
    PLAYER_ACCESS_WALLNUM,
161
    PLAYER_ACCESS_SPRITENUM,
162
    PLAYER_KICKBACK_PIC,
163
    PLAYER_GOT_ACCESS,
164
    PLAYER_WEAPON_ANG,
165
    PLAYER_FIRSTAID_AMOUNT,
166
    PLAYER_SOMETHINGONPLAYER,
167
    PLAYER_ON_CRANE,
168
    PLAYER_I,
169
    PLAYER_ONE_PARALLAX_SECTNUM,
170
    PLAYER_OVER_SHOULDER_ON,
171
    PLAYER_RANDOM_CLUB_FRAME,
172
    PLAYER_FIST_INCS,
173
    PLAYER_ONE_EIGHTY_COUNT,
174
    PLAYER_CHEAT_PHASE,
175
    PLAYER_DUMMYPLAYERSPRITE,
176
    PLAYER_EXTRA_EXTRA8,
177
    PLAYER_QUICK_KICK,
178
    PLAYER_HEAT_AMOUNT,
179
    PLAYER_ACTORSQU,
180
    PLAYER_TIMEBEFOREEXIT,
181
    PLAYER_CUSTOMEXITSOUND,
182
    PLAYER_WEAPRECS,
183
    PLAYER_WEAPRECCNT,
184
    PLAYER_INTERFACE_TOGGLE_FLAG,
185
    PLAYER_ROTSCRNANG,
186
    PLAYER_DEAD_FLAG,
187
    PLAYER_SHOW_EMPTY_WEAPON,
188
    PLAYER_SCUBA_AMOUNT,
189
    PLAYER_JETPACK_AMOUNT,
190
    PLAYER_STEROIDS_AMOUNT,
191
    PLAYER_SHIELD_AMOUNT,
192
    PLAYER_HOLODUKE_ON,
193
    PLAYER_PYCOUNT,
194
    PLAYER_WEAPON_POS,
195
    PLAYER_FRAG_PS,
196
    PLAYER_TRANSPORTER_HOLD,
197
    PLAYER_LAST_FULL_WEAPON,
198
    PLAYER_FOOTPRINTSHADE,
199
    PLAYER_BOOT_AMOUNT,
200
    PLAYER_SCREAM_VOICE,
201
    PLAYER_GM,
202
    PLAYER_ON_WARPING_SECTOR,
203
    PLAYER_FOOTPRINTCOUNT,
204
    PLAYER_HBOMB_ON,
205
    PLAYER_JUMPING_TOGGLE,
206
    PLAYER_RAPID_FIRE_HOLD,
207
    PLAYER_ON_GROUND,
208
    PLAYER_NAME,
209
    PLAYER_INVEN_ICON,
210
    PLAYER_BUTTONPALETTE,
211
    PLAYER_JETPACK_ON,
212
    PLAYER_SPRITEBRIDGE,
213
    PLAYER_LASTRANDOMSPOT,
214
    PLAYER_SCUBA_ON,
215
    PLAYER_FOOTPRINTPAL,
216
    PLAYER_HEAT_ON,
217
    PLAYER_HOLSTER_WEAPON,
218
    PLAYER_FALLING_COUNTER,
219
    PLAYER_GOTWEAPON,
220
    PLAYER_REFRESH_INVENTORY,
221
    PLAYER_PALETTE,
222
    PLAYER_TOGGLE_KEY_FLAG,
223
    PLAYER_KNUCKLE_INCS,
224
    PLAYER_WALKING_SND_TOGGLE,
225
    PLAYER_PALOOKUP,
226
    PLAYER_HARD_LANDING,
227
    PLAYER_MAX_SECRET_ROOMS,
228
    PLAYER_SECRET_ROOMS,
229
    PLAYER_PALS,
230
    PLAYER_MAX_ACTORS_KILLED,
231
    PLAYER_ACTORS_KILLED,
232
    PLAYER_RETURN_TO_CENTER,
233
    PLAYER_RUNSPEED,
234
    PLAYER_SBS,
235
    PLAYER_RELOADING,
236
    PLAYER_AUTO_AIM,
237
    PLAYER_MOVEMENT_LOCK,
238
    PLAYER_SOUND_PITCH,
268 terminx 239
    PLAYER_WEAPONSWITCH,
566 terminx 240
    PLAYER_TEAM,
241
    PLAYER_MAX_PLAYER_HEALTH,
242
    PLAYER_MAX_SHIELD_AMOUNT,
243
    PLAYER_MAX_AMMO_AMOUNT
5 Plagman 244
};
245
 
566 terminx 246
enum userdefslabels
247
{
5 Plagman 248
    USERDEFS_GOD,
249
    USERDEFS_WARP_ON,
250
    USERDEFS_CASHMAN,
251
    USERDEFS_EOG,
252
    USERDEFS_SHOWALLMAP,
253
    USERDEFS_SHOW_HELP,
254
    USERDEFS_SCROLLMODE,
255
    USERDEFS_CLIPPING,
256
    USERDEFS_USER_NAME,
257
    USERDEFS_RIDECULE,
258
    USERDEFS_SAVEGAME,
259
    USERDEFS_PWLOCKOUT,
260
    USERDEFS_RTSNAME,
261
    USERDEFS_OVERHEAD_ON,
262
    USERDEFS_LAST_OVERHEAD,
263
    USERDEFS_SHOWWEAPONS,
264
    USERDEFS_PAUSE_ON,
265
    USERDEFS_FROM_BONUS,
266
    USERDEFS_CAMERASPRITE,
267
    USERDEFS_LAST_CAMSPRITE,
268
    USERDEFS_LAST_LEVEL,
269
    USERDEFS_SECRETLEVEL,
270
    USERDEFS_CONST_VISIBILITY,
271
    USERDEFS_UW_FRAMERATE,
272
    USERDEFS_CAMERA_TIME,
273
    USERDEFS_FOLFVEL,
274
    USERDEFS_FOLAVEL,
275
    USERDEFS_FOLX,
276
    USERDEFS_FOLY,
277
    USERDEFS_FOLA,
278
    USERDEFS_RECCNT,
279
    USERDEFS_ENTERED_NAME,
280
    USERDEFS_SCREEN_TILTING,
281
    USERDEFS_SHADOWS,
282
    USERDEFS_FTA_ON,
283
    USERDEFS_EXECUTIONS,
284
    USERDEFS_AUTO_RUN,
285
    USERDEFS_COORDS,
286
    USERDEFS_TICKRATE,
287
    USERDEFS_M_COOP,
288
    USERDEFS_COOP,
289
    USERDEFS_SCREEN_SIZE,
290
    USERDEFS_LOCKOUT,
291
    USERDEFS_CROSSHAIR,
292
    USERDEFS_WCHOICE,
293
    USERDEFS_PLAYERAI,
294
    USERDEFS_RESPAWN_MONSTERS,
295
    USERDEFS_RESPAWN_ITEMS,
296
    USERDEFS_RESPAWN_INVENTORY,
297
    USERDEFS_RECSTAT,
298
    USERDEFS_MONSTERS_OFF,
299
    USERDEFS_BRIGHTNESS,
300
    USERDEFS_M_RESPAWN_ITEMS,
301
    USERDEFS_M_RESPAWN_MONSTERS,
302
    USERDEFS_M_RESPAWN_INVENTORY,
303
    USERDEFS_M_RECSTAT,
304
    USERDEFS_M_MONSTERS_OFF,
305
    USERDEFS_DETAIL,
306
    USERDEFS_M_FFIRE,
307
    USERDEFS_FFIRE,
308
    USERDEFS_M_PLAYER_SKILL,
309
    USERDEFS_M_LEVEL_NUMBER,
310
    USERDEFS_M_VOLUME_NUMBER,
311
    USERDEFS_MULTIMODE,
312
    USERDEFS_PLAYER_SKILL,
313
    USERDEFS_LEVEL_NUMBER,
314
    USERDEFS_VOLUME_NUMBER,
315
    USERDEFS_M_MARKER,
316
    USERDEFS_MARKER,
317
    USERDEFS_MOUSEFLIP,
318
    USERDEFS_STATUSBARSCALE,
319
    USERDEFS_DRAWWEAPON,
154 terminx 320
    USERDEFS_MOUSEAIMING,
321
    USERDEFS_WEAPONSWITCH,
53 terminx 322
    USERDEFS_DEMOCAMS,
89 terminx 323
    USERDEFS_COLOR,
128 terminx 324
    USERDEFS_MSGDISPTIME,
147 terminx 325
    USERDEFS_STATUSBARMODE,
326
    USERDEFS_M_NOEXITS,
148 terminx 327
    USERDEFS_NOEXITS,
150 terminx 328
    USERDEFS_AUTOVOTE,
152 terminx 329
    USERDEFS_AUTOMSG,
268 terminx 330
    USERDEFS_IDPLAYERS,
507 terminx 331
    USERDEFS_TEAM,
332
    USERDEFS_VIEWBOB,
529 terminx 333
    USERDEFS_WEAPONSWAY,
334
    USERDEFS_ANGLEINTERPOLATION,
335
    USERDEFS_DEATHMSGS
5 Plagman 336
};
337
 
566 terminx 338
enum sectorlabels
339
{
5 Plagman 340
    SECTOR_WALLPTR,
341
    SECTOR_WALLNUM,
342
    SECTOR_CEILINGZ,
343
    SECTOR_FLOORZ,
344
    SECTOR_CEILINGSTAT,
345
    SECTOR_FLOORSTAT,
346
    SECTOR_CEILINGPICNUM,
347
    SECTOR_CEILINGSLOPE,
348
    SECTOR_CEILINGSHADE,
349
    SECTOR_CEILINGPAL,
350
    SECTOR_CEILINGXPANNING,
351
    SECTOR_CEILINGYPANNING,
352
    SECTOR_FLOORPICNUM,
353
    SECTOR_FLOORSLOPE,
354
    SECTOR_FLOORSHADE,
355
    SECTOR_FLOORPAL,
356
    SECTOR_FLOORXPANNING,
357
    SECTOR_FLOORYPANNING,
358
    SECTOR_VISIBILITY,
359
    SECTOR_ALIGNTO,
360
    SECTOR_LOTAG,
361
    SECTOR_HITAG,
362
    SECTOR_EXTRA
363
};
364
 
566 terminx 365
enum walllabels
366
{
5 Plagman 367
    WALL_X,
368
    WALL_Y,
369
    WALL_POINT2,
370
    WALL_NEXTWALL,
371
    WALL_NEXTSECTOR,
372
    WALL_CSTAT,
373
    WALL_PICNUM,
374
    WALL_OVERPICNUM,
375
    WALL_SHADE,
376
    WALL_PAL,
377
    WALL_XREPEAT,
378
    WALL_YREPEAT,
379
    WALL_XPANNING,
380
    WALL_YPANNING,
381
    WALL_LOTAG,
382
    WALL_HITAG,
383
    WALL_EXTRA
384
};
385
 
566 terminx 386
enum actorlabels
387
{
5 Plagman 388
    ACTOR_X,
389
    ACTOR_Y,
390
    ACTOR_Z,
391
    ACTOR_CSTAT,
392
    ACTOR_PICNUM,
393
    ACTOR_SHADE,
394
    ACTOR_PAL,
395
    ACTOR_CLIPDIST,
396
    ACTOR_DETAIL,
397
    ACTOR_XREPEAT,
398
    ACTOR_YREPEAT,
399
    ACTOR_XOFFSET,
400
    ACTOR_YOFFSET,
401
    ACTOR_SECTNUM,
402
    ACTOR_STATNUM,
403
    ACTOR_ANG,
404
    ACTOR_OWNER,
405
    ACTOR_XVEL,
406
    ACTOR_YVEL,
407
    ACTOR_ZVEL,
408
    ACTOR_LOTAG,
409
    ACTOR_HITAG,
410
    ACTOR_EXTRA,
411
    ACTOR_HTCGG,
412
    ACTOR_HTPICNUM,
413
    ACTOR_HTANG,
414
    ACTOR_HTEXTRA,
415
    ACTOR_HTOWNER,
416
    ACTOR_HTMOVFLAG,
417
    ACTOR_HTTEMPANG,
418
    ACTOR_HTACTORSTAYPUT,
419
    ACTOR_HTDISPICNUM,
420
    ACTOR_HTTIMETOSLEEP,
421
    ACTOR_HTFLOORZ,
422
    ACTOR_HTCEILINGZ,
423
    ACTOR_HTLASTVX,
424
    ACTOR_HTLASTVY,
425
    ACTOR_HTBPOSX,
426
    ACTOR_HTBPOSY,
427
    ACTOR_HTBPOSZ,
428
    ACTOR_HTG_T,
429
    ACTOR_ANGOFF,
430
    ACTOR_PITCH,
431
    ACTOR_ROLL,
432
    ACTOR_MDXOFF,
433
    ACTOR_MDYOFF,
558 terminx 434
    ACTOR_MDZOFF,
435
    ACTOR_MDFLAGS
5 Plagman 436
};
437
 
566 terminx 438
enum inputlabels
439
{
5 Plagman 440
    INPUT_AVEL,
441
    INPUT_HORZ,
442
    INPUT_FVEL,
443
    INPUT_SVEL,
444
    INPUT_BITS,
275 terminx 445
    INPUT_EXTBITS
5 Plagman 446
};
447
 
566 terminx 448
enum projectilelabels
449
{
5 Plagman 450
    PROJ_WORKSLIKE,
451
    PROJ_SPAWNS,
452
    PROJ_SXREPEAT,
453
    PROJ_SYREPEAT,
454
    PROJ_SOUND,
455
    PROJ_ISOUND,
456
    PROJ_VEL,
457
    PROJ_EXTRA,
458
    PROJ_DECAL,
459
    PROJ_TRAIL,
460
    PROJ_TXREPEAT,
461
    PROJ_TYREPEAT,
462
    PROJ_TOFFSET,
463
    PROJ_TNUM,
464
    PROJ_DROP,
465
    PROJ_CSTAT,
466
    PROJ_CLIPDIST,
467
    PROJ_SHADE,
468
    PROJ_XREPEAT,
469
    PROJ_YREPEAT,
470
    PROJ_PAL,
471
    PROJ_EXTRA_RAND,
472
    PROJ_HITRADIUS,
473
    PROJ_VEL_MULT,
474
    PROJ_OFFSET,
475
    PROJ_BOUNCES,
476
    PROJ_BSOUND,
477
    PROJ_RANGE // 28
478
};
479
 
566 terminx 480
enum keywords
481
{
5 Plagman 482
    CON_DEFINELEVELNAME,    // 0
483
    CON_ACTOR,              // 1
484
    CON_ADDAMMO,            // 2
485
    CON_IFRND,              // 3
486
    CON_ENDA,               // 4
487
    CON_IFCANSEE,           // 5
488
    CON_IFHITWEAPON,        // 6
489
    CON_ACTION,             // 7
490
    CON_IFPDISTL,           // 8
491
    CON_IFPDISTG,           // 9
492
    CON_ELSE,               // 10
493
    CON_STRENGTH,           // 11
494
    CON_BREAK,              // 12
495
    CON_SHOOT,              // 13
496
    CON_PALFROM,            // 14
497
    CON_SOUND,              // 15
498
    CON_FALL,               // 16
499
    CON_STATE,              // 17
500
    CON_ENDS,               // 18
501
    CON_DEFINE,             // 19
502
    CON_COMMENT,            // 20 deprecated
503
    CON_IFAI,               // 21
504
    CON_KILLIT,             // 22
505
    CON_ADDWEAPON,          // 23
506
    CON_AI,                 // 24
507
    CON_ADDPHEALTH,         // 25
508
    CON_IFDEAD,             // 26
509
    CON_IFSQUISHED,         // 27
510
    CON_SIZETO,             // 28
511
    CON_LEFTBRACE,          // 29
512
    CON_RIGHTBRACE,         // 30
513
    CON_SPAWN,              // 31
514
    CON_MOVE,               // 32
515
    CON_IFWASWEAPON,        // 33
516
    CON_IFACTION,           // 34
517
    CON_IFACTIONCOUNT,      // 35
518
    CON_RESETACTIONCOUNT,   // 36
519
    CON_DEBRIS,             // 37
520
    CON_PSTOMP,             // 38
521
    CON_BLOCKCOMMENT,       // 39 deprecated
522
    CON_CSTAT,              // 40
523
    CON_IFMOVE,             // 41
524
    CON_RESETPLAYER,        // 42
525
    CON_IFONWATER,          // 43
526
    CON_IFINWATER,          // 44
527
    CON_IFCANSHOOTTARGET,   // 45
528
    CON_IFCOUNT,            // 46
529
    CON_RESETCOUNT,         // 47
530
    CON_ADDINVENTORY,       // 48
531
    CON_IFACTORNOTSTAYPUT,  // 49
532
    CON_HITRADIUS,          // 50
533
    CON_IFP,                // 51
534
    CON_COUNT,              // 52
535
    CON_IFACTOR,            // 53
536
    CON_MUSIC,              // 54
537
    CON_INCLUDE,            // 55
538
    CON_IFSTRENGTH,         // 56
539
    CON_DEFINESOUND,        // 57
540
    CON_GUTS,               // 58
541
    CON_IFSPAWNEDBY,        // 59
542
    CON_GAMESTARTUP,        // 60
543
    CON_WACKPLAYER,         // 61
544
    CON_IFGAPZL,            // 62
545
    CON_IFHITSPACE,         // 63
546
    CON_IFOUTSIDE,          // 64
547
    CON_IFMULTIPLAYER,      // 65
548
    CON_OPERATE,            // 66
549
    CON_IFINSPACE,          // 67
550
    CON_DEBUG,              // 68
551
    CON_ENDOFGAME,          // 69
552
    CON_IFBULLETNEAR,       // 70
553
    CON_IFRESPAWN,          // 71
554
    CON_IFFLOORDISTL,       // 72
555
    CON_IFCEILINGDISTL,     // 73
556
    CON_SPRITEPAL,          // 74
557
    CON_IFPINVENTORY,       // 75
558
    CON_BETANAME,           // 76
559
    CON_CACTOR,             // 77
560
    CON_IFPHEALTHL,         // 78
561
    CON_DEFINEQUOTE,        // 79
562
    CON_QUOTE,              // 80
563
    CON_IFINOUTERSPACE,     // 81
564
    CON_IFNOTMOVING,        // 82
565
    CON_RESPAWNHITAG,       // 83
566
    CON_TIP,                // 84
567
    CON_IFSPRITEPAL,        // 85
568
    CON_MONEY,              // 86
569
    CON_SOUNDONCE,          // 87
570
    CON_ADDKILLS,           // 88
571
    CON_STOPSOUND,          // 89
572
    CON_IFAWAYFROMWALL,     // 90
573
    CON_IFCANSEETARGET,     // 91
574
    CON_GLOBALSOUND,        // 92
575
    CON_LOTSOFGLASS,        // 93
576
    CON_IFGOTWEAPONCE,      // 94
577
    CON_GETLASTPAL,         // 95
578
    CON_PKICK,              // 96
579
    CON_MIKESND,            // 97
580
    CON_USERACTOR,          // 98
581
    CON_SIZEAT,             // 99
582
    CON_ADDSTRENGTH,        // 100
583
    CON_CSTATOR,            // 101
584
    CON_MAIL,               // 102
585
    CON_PAPER,              // 103
586
    CON_TOSSWEAPON,         // 104
587
    CON_SLEEPTIME,          // 105
588
    CON_NULLOP,             // 106
589
    CON_DEFINEVOLUMENAME,   // 107
590
    CON_DEFINESKILLNAME,    // 108
591
    CON_IFNOSOUNDS,         // 109
592
    CON_CLIPDIST,           // 110
593
    CON_IFANGDIFFL,         // 111
594
    CON_GAMEVAR,            // 112
595
    CON_IFVARL,             // 113
596
    CON_IFVARG,             // 114
597
    CON_SETVARVAR,          // 115
598
    CON_SETVAR,             // 116
599
    CON_ADDVARVAR,          // 117
600
    CON_ADDVAR,             // 118
601
    CON_IFVARVARL,          // 119
602
    CON_IFVARVARG,          // 120
603
    CON_ADDLOGVAR,          // 121
604
    CON_ADDLOG,             // 122
605
    CON_ONEVENT,            // 123
606
    CON_ENDEVENT,           // 124
607
    CON_IFVARE,             // 125
608
    CON_IFVARVARE,          // 126
609
    CON_SPGETLOTAG,         // 127
610
    CON_SPGETHITAG,         // 128
611
    CON_SECTGETLOTAG,       // 129
612
    CON_SECTGETHITAG,       // 130
613
    CON_IFSOUND,            // 131
614
    CON_GETTEXTUREFLOOR,    // 132
615
    CON_GETTEXTURECEILING,  // 133
616
    CON_INITTIMER,          // 134
617
    CON_STARTTRACK,         // 135
618
    CON_RANDVAR,            // 136
619
    CON_ENHANCED,           // 137
620
    CON_GETANGLETOTARGET,   // 138
621
    CON_GETACTORANGLE,      // 139
622
    CON_SETACTORANGLE,      // 140
623
    CON_MULVAR,             // 141
624
    CON_MULVARVAR,          // 142
625
    CON_DIVVAR,             // 143
626
    CON_DIVVARVAR,          // 144
627
    CON_MODVAR,             // 145
628
    CON_MODVARVAR,          // 146
629
    CON_ANDVAR,             // 147
630
    CON_ANDVARVAR,          // 148
631
    CON_ORVAR,              // 149
632
    CON_ORVARVAR,           // 150
633
    CON_GETPLAYERANGLE,     // 151
634
    CON_SETPLAYERANGLE,     // 152
635
    CON_LOCKPLAYER,         // 153
636
    CON_SETSECTOR,          // 154
637
    CON_GETSECTOR,          // 155
638
    CON_SETACTOR,           // 156
639
    CON_GETACTOR,           // 157
640
    CON_SETWALL,            // 158
641
    CON_GETWALL,            // 159
642
    CON_FINDNEARACTOR,      // 160
643
    CON_FINDNEARACTORVAR,   // 161
644
    CON_SETACTORVAR,        // 162
645
    CON_GETACTORVAR,        // 163
646
    CON_ESPAWN,             // 164
647
    CON_GETPLAYER,          // 165
648
    CON_SETPLAYER,          // 166
649
    CON_SQRT,               // 167
650
    CON_EVENTLOADACTOR,     // 168
651
    CON_ESPAWNVAR,          // 169
652
    CON_GETUSERDEF,         // 170
653
    CON_SETUSERDEF,         // 171
654
    CON_SUBVARVAR,          // 172
655
    CON_SUBVAR,             // 173
656
    CON_IFVARN,             // 174
657
    CON_IFVARVARN,          // 175
658
    CON_IFVARAND,           // 176
659
    CON_IFVARVARAND,        // 177
660
    CON_MYOS,               // 178
661
    CON_MYOSPAL,            // 179
662
    CON_DISPLAYRAND,        // 180
663
    CON_SIN,                // 181
664
    CON_XORVARVAR,          // 182
665
    CON_XORVAR,             // 183
666
    CON_RANDVARVAR,         // 184
667
    CON_MYOSX,              // 185
668
    CON_MYOSPALX,           // 186
669
    CON_GMAXAMMO,           // 187
670
    CON_SMAXAMMO,           // 188
671
    CON_STARTLEVEL,         // 189
672
    CON_ESHOOT,             // 190
673
    CON_QSPAWN,             // 191
674
    CON_ROTATESPRITE,       // 192
675
    CON_DEFINEPROJECTILE,   // 193
676
    CON_SPRITESHADOW,       // 194
677
    CON_COS,                // 195
678
    CON_ESHOOTVAR,          // 196
679
    CON_FINDNEARACTOR3D,    // 197
680
    CON_FINDNEARACTOR3DVAR, // 198
681
    CON_FLASH,              // 199
682
    CON_QSPAWNVAR,          // 200
683
    CON_EQSPAWN,            // 201
684
    CON_EQSPAWNVAR,         // 202
685
    CON_MINITEXT,           // 203
686
    CON_GAMETEXT,           // 204
687
    CON_DIGITALNUMBER,      // 205
688
    CON_ADDWEAPONVAR,       // 206
689
    CON_SETPROJECTILE,      // 207
690
    CON_ANGOFF,             // 208
691
    CON_UPDATESECTOR,       // 209
692
    CON_INSERTSPRITEQ,      // 210
693
    CON_ANGOFFVAR,          // 211
694
    CON_WHILEVARN,          // 212
695
    CON_SWITCH,             // 213
696
    CON_CASE,               // 214
697
    CON_DEFAULT,            // 215
698
    CON_ENDSWITCH,          // 216
699
    CON_SHOOTVAR,           // 217
700
    CON_SOUNDVAR,           // 218
701
    CON_FINDPLAYER,         // 219
702
    CON_FINDOTHERPLAYER,    // 220
703
    CON_ACTIVATEBYSECTOR,   // 221
704
    CON_OPERATESECTORS,     // 222
705
    CON_OPERATERESPAWNS,    // 223
706
    CON_OPERATEACTIVATORS,  // 224
707
    CON_OPERATEMASTERSWITCHES,  // 225
708
    CON_CHECKACTIVATORMOTION,   // 226
709
    CON_ZSHOOT,             // 227
710
    CON_DIST,               // 228
711
    CON_LDIST,              // 229
712
    CON_SHIFTVARL,          // 230
713
    CON_SHIFTVARR,          // 231
714
    CON_SPRITENVG,          // 232
715
    CON_GETANGLE,           // 233
716
    CON_WHILEVARVARN,       // 234
717
    CON_HITSCAN,            // 235
718
    CON_TIME,               // 236
719
    CON_GETPLAYERVAR,       // 237
720
    CON_SETPLAYERVAR,       // 238
721
    CON_MULSCALE,           // 239
722
    CON_SETASPECT,          // 240
251 terminx 723
    CON_EZSHOOT,            // 241
5 Plagman 724
    CON_SPRITENOSHADE,      // 242
725
    CON_MOVESPRITE,         // 243
726
    CON_CHECKAVAILWEAPON,   // 244
727
    CON_SOUNDONCEVAR,       // 245
728
    CON_UPDATESECTORZ,      // 246
729
    CON_STOPALLSOUNDS,      // 247
730
    CON_SSP,                // 248
731
    CON_STOPSOUNDVAR,       // 249
732
    CON_DISPLAYRANDVAR,     // 250
733
    CON_DISPLAYRANDVARVAR,  // 251
734
    CON_CHECKAVAILINVEN,    // 252
735
    CON_GLOBALSOUNDVAR,     // 253
736
    CON_GUNIQHUDID,         // 254
737
    CON_GETPROJECTILE,      // 255
738
    CON_GETTHISPROJECTILE,  // 256
739
    CON_SETTHISPROJECTILE,  // 257
740
    CON_DEFINECHEAT,        // 258
741
    CON_CHEATKEYS,          // 259
742
    CON_USERQUOTE,          // 260
743
    CON_PRECACHE,           // 261
121 terminx 744
    CON_DEFINEGAMEFUNCNAME, // 262
5 Plagman 745
    CON_REDEFINEQUOTE,      // 263
290 terminx 746
    CON_QSPRINTF,           // 264
5 Plagman 747
    CON_GETPNAME,           // 265
748
    CON_QSTRCAT,            // 266
749
    CON_QSTRCPY,            // 267
750
    CON_SETSPRITE,          // 268
751
    CON_ROTATEPOINT,        // 269
752
    CON_DRAGPOINT,          // 270
753
    CON_GETZRANGE,          // 271
754
    CON_CHANGESPRITESTAT,   // 272
755
    CON_GETCEILZOFSLOPE,    // 273
756
    CON_GETFLORZOFSLOPE,    // 274
757
    CON_NEARTAG,            // 275
758
    CON_DEFINEGAMETYPE,     // 276
759
    CON_CHANGESPRITESECT,   // 277
760
    CON_SPRITEFLAGS,        // 278
761
    CON_SAVEGAMEVAR,        // 279
762
    CON_READGAMEVAR,        // 280
763
    CON_FINDNEARSPRITE,     // 281
764
    CON_FINDNEARSPRITEVAR,  // 282
765
    CON_FINDNEARSPRITE3D,   // 283
766
    CON_FINDNEARSPRITE3DVAR,// 284
767
    CON_DYNAMICREMAP,       // 285
768
    CON_SETINPUT,           // 286
769
    CON_GETINPUT,           // 287
154 terminx 770
    CON_SAVE,                           // 288
97 terminx 771
    CON_CANSEE,             // 289
106 terminx 772
    CON_CANSEESPR,          // 290
169 terminx 773
    CON_FINDNEARACTORZ,     // 291
774
    CON_FINDNEARACTORZVAR,  // 292
775
    CON_FINDNEARSPRITEZ,    // 293
776
    CON_FINDNEARSPRITEZVAR, // 294
305 terminx 777
    CON_ZSHOOTVAR,                      // 295
778
    CON_EZSHOOTVAR,                     // 296
779
    CON_GETCURRADDRESS,         // 297
780
    CON_JUMP,                           // 298
781
    CON_QSTRLEN,                        // 299
329 terminx 782
    CON_GETINCANGLE,        // 300
444 terminx 783
    CON_QUAKE,              // 301
484 terminx 784
    CON_SHOWVIEW,           // 302
558 terminx 785
    CON_HEADSPRITESTAT,     // 303
786
    CON_PREVSPRITESTAT,     // 304
787
    CON_NEXTSPRITESTAT,     // 305
788
    CON_HEADSPRITESECT,     // 306
789
    CON_PREVSPRITESECT,     // 307
790
    CON_NEXTSPRITESECT,     // 308
582 terminx 791
    CON_SPRITENOPAL,        // 309
792
    CON_GETKEYNAME,         // 310
5 Plagman 793
    END
794
};