Subversion Repositories eduke32

Rev

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