Subversion Repositories eduke32

Rev

Rev 444 | Rev 487 | 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,
305 terminx 317
    USERDEFS_TEAM,
318
    // this stuff isn't really userdef stuff, but getuserdef/setuserdef is already set up for what I want to do
296 terminx 319
    USERDEFS_MYX,
320
    USERDEFS_OMYX,
321
    USERDEFS_MYXVEL,
322
    USERDEFS_MYY,
323
    USERDEFS_OMYY,
324
    USERDEFS_MYYVEL,
325
    USERDEFS_MYZ,
326
    USERDEFS_OMYZ,
327
    USERDEFS_MYZVEL,
328
    USERDEFS_MYHORIZ,
329
    USERDEFS_OMYHORIZ,
330
    USERDEFS_MYHORIZOFF,
331
    USERDEFS_OMYHORIZOFF,
332
    USERDEFS_MYANG,
333
    USERDEFS_OMYANG,
334
    USERDEFS_MYCURSECTNUM,
335
    USERDEFS_MYJUMPINGCOUNTER,
336
    USERDEFS_MYJUMPINGTOGGLE,
337
    USERDEFS_MYONGROUND,
338
    USERDEFS_MYHARDLANDING,
339
    USERDEFS_MYRETURNTOCENTER
5 Plagman 340
};
341
 
342
enum sectorlabels {
343
    SECTOR_WALLPTR,
344
    SECTOR_WALLNUM,
345
    SECTOR_CEILINGZ,
346
    SECTOR_FLOORZ,
347
    SECTOR_CEILINGSTAT,
348
    SECTOR_FLOORSTAT,
349
    SECTOR_CEILINGPICNUM,
350
    SECTOR_CEILINGSLOPE,
351
    SECTOR_CEILINGSHADE,
352
    SECTOR_CEILINGPAL,
353
    SECTOR_CEILINGXPANNING,
354
    SECTOR_CEILINGYPANNING,
355
    SECTOR_FLOORPICNUM,
356
    SECTOR_FLOORSLOPE,
357
    SECTOR_FLOORSHADE,
358
    SECTOR_FLOORPAL,
359
    SECTOR_FLOORXPANNING,
360
    SECTOR_FLOORYPANNING,
361
    SECTOR_VISIBILITY,
362
    SECTOR_ALIGNTO,
363
    SECTOR_LOTAG,
364
    SECTOR_HITAG,
365
    SECTOR_EXTRA
366
};
367
 
368
enum walllabels {
369
    WALL_X,
370
    WALL_Y,
371
    WALL_POINT2,
372
    WALL_NEXTWALL,
373
    WALL_NEXTSECTOR,
374
    WALL_CSTAT,
375
    WALL_PICNUM,
376
    WALL_OVERPICNUM,
377
    WALL_SHADE,
378
    WALL_PAL,
379
    WALL_XREPEAT,
380
    WALL_YREPEAT,
381
    WALL_XPANNING,
382
    WALL_YPANNING,
383
    WALL_LOTAG,
384
    WALL_HITAG,
385
    WALL_EXTRA
386
};
387
 
388
enum actorlabels {
389
    ACTOR_X,
390
    ACTOR_Y,
391
    ACTOR_Z,
392
    ACTOR_CSTAT,
393
    ACTOR_PICNUM,
394
    ACTOR_SHADE,
395
    ACTOR_PAL,
396
    ACTOR_CLIPDIST,
397
    ACTOR_DETAIL,
398
    ACTOR_XREPEAT,
399
    ACTOR_YREPEAT,
400
    ACTOR_XOFFSET,
401
    ACTOR_YOFFSET,
402
    ACTOR_SECTNUM,
403
    ACTOR_STATNUM,
404
    ACTOR_ANG,
405
    ACTOR_OWNER,
406
    ACTOR_XVEL,
407
    ACTOR_YVEL,
408
    ACTOR_ZVEL,
409
    ACTOR_LOTAG,
410
    ACTOR_HITAG,
411
    ACTOR_EXTRA,
412
    ACTOR_HTCGG,
413
    ACTOR_HTPICNUM,
414
    ACTOR_HTANG,
415
    ACTOR_HTEXTRA,
416
    ACTOR_HTOWNER,
417
    ACTOR_HTMOVFLAG,
418
    ACTOR_HTTEMPANG,
419
    ACTOR_HTACTORSTAYPUT,
420
    ACTOR_HTDISPICNUM,
421
    ACTOR_HTTIMETOSLEEP,
422
    ACTOR_HTFLOORZ,
423
    ACTOR_HTCEILINGZ,
424
    ACTOR_HTLASTVX,
425
    ACTOR_HTLASTVY,
426
    ACTOR_HTBPOSX,
427
    ACTOR_HTBPOSY,
428
    ACTOR_HTBPOSZ,
429
    ACTOR_HTG_T,
430
    ACTOR_ANGOFF,
431
    ACTOR_PITCH,
432
    ACTOR_ROLL,
433
    ACTOR_MDXOFF,
434
    ACTOR_MDYOFF,
435
    ACTOR_MDZOFF
436
};
437
 
438
enum inputlabels {
439
    INPUT_AVEL,
440
    INPUT_HORZ,
441
    INPUT_FVEL,
442
    INPUT_SVEL,
443
    INPUT_BITS,
275 terminx 444
    INPUT_EXTBITS
5 Plagman 445
};
446
 
447
enum projectilelabels {
448
    PROJ_WORKSLIKE,
449
    PROJ_SPAWNS,
450
    PROJ_SXREPEAT,
451
    PROJ_SYREPEAT,
452
    PROJ_SOUND,
453
    PROJ_ISOUND,
454
    PROJ_VEL,
455
    PROJ_EXTRA,
456
    PROJ_DECAL,
457
    PROJ_TRAIL,
458
    PROJ_TXREPEAT,
459
    PROJ_TYREPEAT,
460
    PROJ_TOFFSET,
461
    PROJ_TNUM,
462
    PROJ_DROP,
463
    PROJ_CSTAT,
464
    PROJ_CLIPDIST,
465
    PROJ_SHADE,
466
    PROJ_XREPEAT,
467
    PROJ_YREPEAT,
468
    PROJ_PAL,
469
    PROJ_EXTRA_RAND,
470
    PROJ_HITRADIUS,
471
    PROJ_VEL_MULT,
472
    PROJ_OFFSET,
473
    PROJ_BOUNCES,
474
    PROJ_BSOUND,
475
    PROJ_RANGE // 28
476
};
477
 
478
enum keywords {
479
    CON_DEFINELEVELNAME,    // 0
480
    CON_ACTOR,              // 1
481
    CON_ADDAMMO,            // 2
482
    CON_IFRND,              // 3
483
    CON_ENDA,               // 4
484
    CON_IFCANSEE,           // 5
485
    CON_IFHITWEAPON,        // 6
486
    CON_ACTION,             // 7
487
    CON_IFPDISTL,           // 8
488
    CON_IFPDISTG,           // 9
489
    CON_ELSE,               // 10
490
    CON_STRENGTH,           // 11
491
    CON_BREAK,              // 12
492
    CON_SHOOT,              // 13
493
    CON_PALFROM,            // 14
494
    CON_SOUND,              // 15
495
    CON_FALL,               // 16
496
    CON_STATE,              // 17
497
    CON_ENDS,               // 18
498
    CON_DEFINE,             // 19
499
    CON_COMMENT,            // 20 deprecated
500
    CON_IFAI,               // 21
501
    CON_KILLIT,             // 22
502
    CON_ADDWEAPON,          // 23
503
    CON_AI,                 // 24
504
    CON_ADDPHEALTH,         // 25
505
    CON_IFDEAD,             // 26
506
    CON_IFSQUISHED,         // 27
507
    CON_SIZETO,             // 28
508
    CON_LEFTBRACE,          // 29
509
    CON_RIGHTBRACE,         // 30
510
    CON_SPAWN,              // 31
511
    CON_MOVE,               // 32
512
    CON_IFWASWEAPON,        // 33
513
    CON_IFACTION,           // 34
514
    CON_IFACTIONCOUNT,      // 35
515
    CON_RESETACTIONCOUNT,   // 36
516
    CON_DEBRIS,             // 37
517
    CON_PSTOMP,             // 38
518
    CON_BLOCKCOMMENT,       // 39 deprecated
519
    CON_CSTAT,              // 40
520
    CON_IFMOVE,             // 41
521
    CON_RESETPLAYER,        // 42
522
    CON_IFONWATER,          // 43
523
    CON_IFINWATER,          // 44
524
    CON_IFCANSHOOTTARGET,   // 45
525
    CON_IFCOUNT,            // 46
526
    CON_RESETCOUNT,         // 47
527
    CON_ADDINVENTORY,       // 48
528
    CON_IFACTORNOTSTAYPUT,  // 49
529
    CON_HITRADIUS,          // 50
530
    CON_IFP,                // 51
531
    CON_COUNT,              // 52
532
    CON_IFACTOR,            // 53
533
    CON_MUSIC,              // 54
534
    CON_INCLUDE,            // 55
535
    CON_IFSTRENGTH,         // 56
536
    CON_DEFINESOUND,        // 57
537
    CON_GUTS,               // 58
538
    CON_IFSPAWNEDBY,        // 59
539
    CON_GAMESTARTUP,        // 60
540
    CON_WACKPLAYER,         // 61
541
    CON_IFGAPZL,            // 62
542
    CON_IFHITSPACE,         // 63
543
    CON_IFOUTSIDE,          // 64
544
    CON_IFMULTIPLAYER,      // 65
545
    CON_OPERATE,            // 66
546
    CON_IFINSPACE,          // 67
547
    CON_DEBUG,              // 68
548
    CON_ENDOFGAME,          // 69
549
    CON_IFBULLETNEAR,       // 70
550
    CON_IFRESPAWN,          // 71
551
    CON_IFFLOORDISTL,       // 72
552
    CON_IFCEILINGDISTL,     // 73
553
    CON_SPRITEPAL,          // 74
554
    CON_IFPINVENTORY,       // 75
555
    CON_BETANAME,           // 76
556
    CON_CACTOR,             // 77
557
    CON_IFPHEALTHL,         // 78
558
    CON_DEFINEQUOTE,        // 79
559
    CON_QUOTE,              // 80
560
    CON_IFINOUTERSPACE,     // 81
561
    CON_IFNOTMOVING,        // 82
562
    CON_RESPAWNHITAG,       // 83
563
    CON_TIP,                // 84
564
    CON_IFSPRITEPAL,        // 85
565
    CON_MONEY,              // 86
566
    CON_SOUNDONCE,          // 87
567
    CON_ADDKILLS,           // 88
568
    CON_STOPSOUND,          // 89
569
    CON_IFAWAYFROMWALL,     // 90
570
    CON_IFCANSEETARGET,     // 91
571
    CON_GLOBALSOUND,        // 92
572
    CON_LOTSOFGLASS,        // 93
573
    CON_IFGOTWEAPONCE,      // 94
574
    CON_GETLASTPAL,         // 95
575
    CON_PKICK,              // 96
576
    CON_MIKESND,            // 97
577
    CON_USERACTOR,          // 98
578
    CON_SIZEAT,             // 99
579
    CON_ADDSTRENGTH,        // 100
580
    CON_CSTATOR,            // 101
581
    CON_MAIL,               // 102
582
    CON_PAPER,              // 103
583
    CON_TOSSWEAPON,         // 104
584
    CON_SLEEPTIME,          // 105
585
    CON_NULLOP,             // 106
586
    CON_DEFINEVOLUMENAME,   // 107
587
    CON_DEFINESKILLNAME,    // 108
588
    CON_IFNOSOUNDS,         // 109
589
    CON_CLIPDIST,           // 110
590
    CON_IFANGDIFFL,         // 111
591
    CON_GAMEVAR,            // 112
592
    CON_IFVARL,             // 113
593
    CON_IFVARG,             // 114
594
    CON_SETVARVAR,          // 115
595
    CON_SETVAR,             // 116
596
    CON_ADDVARVAR,          // 117
597
    CON_ADDVAR,             // 118
598
    CON_IFVARVARL,          // 119
599
    CON_IFVARVARG,          // 120
600
    CON_ADDLOGVAR,          // 121
601
    CON_ADDLOG,             // 122
602
    CON_ONEVENT,            // 123
603
    CON_ENDEVENT,           // 124
604
    CON_IFVARE,             // 125
605
    CON_IFVARVARE,          // 126
606
    CON_SPGETLOTAG,         // 127
607
    CON_SPGETHITAG,         // 128
608
    CON_SECTGETLOTAG,       // 129
609
    CON_SECTGETHITAG,       // 130
610
    CON_IFSOUND,            // 131
611
    CON_GETTEXTUREFLOOR,    // 132
612
    CON_GETTEXTURECEILING,  // 133
613
    CON_INITTIMER,          // 134
614
    CON_STARTTRACK,         // 135
615
    CON_RANDVAR,            // 136
616
    CON_ENHANCED,           // 137
617
    CON_GETANGLETOTARGET,   // 138
618
    CON_GETACTORANGLE,      // 139
619
    CON_SETACTORANGLE,      // 140
620
    CON_MULVAR,             // 141
621
    CON_MULVARVAR,          // 142
622
    CON_DIVVAR,             // 143
623
    CON_DIVVARVAR,          // 144
624
    CON_MODVAR,             // 145
625
    CON_MODVARVAR,          // 146
626
    CON_ANDVAR,             // 147
627
    CON_ANDVARVAR,          // 148
628
    CON_ORVAR,              // 149
629
    CON_ORVARVAR,           // 150
630
    CON_GETPLAYERANGLE,     // 151
631
    CON_SETPLAYERANGLE,     // 152
632
    CON_LOCKPLAYER,         // 153
633
    CON_SETSECTOR,          // 154
634
    CON_GETSECTOR,          // 155
635
    CON_SETACTOR,           // 156
636
    CON_GETACTOR,           // 157
637
    CON_SETWALL,            // 158
638
    CON_GETWALL,            // 159
639
    CON_FINDNEARACTOR,      // 160
640
    CON_FINDNEARACTORVAR,   // 161
641
    CON_SETACTORVAR,        // 162
642
    CON_GETACTORVAR,        // 163
643
    CON_ESPAWN,             // 164
644
    CON_GETPLAYER,          // 165
645
    CON_SETPLAYER,          // 166
646
    CON_SQRT,               // 167
647
    CON_EVENTLOADACTOR,     // 168
648
    CON_ESPAWNVAR,          // 169
649
    CON_GETUSERDEF,         // 170
650
    CON_SETUSERDEF,         // 171
651
    CON_SUBVARVAR,          // 172
652
    CON_SUBVAR,             // 173
653
    CON_IFVARN,             // 174
654
    CON_IFVARVARN,          // 175
655
    CON_IFVARAND,           // 176
656
    CON_IFVARVARAND,        // 177
657
    CON_MYOS,               // 178
658
    CON_MYOSPAL,            // 179
659
    CON_DISPLAYRAND,        // 180
660
    CON_SIN,                // 181
661
    CON_XORVARVAR,          // 182
662
    CON_XORVAR,             // 183
663
    CON_RANDVARVAR,         // 184
664
    CON_MYOSX,              // 185
665
    CON_MYOSPALX,           // 186
666
    CON_GMAXAMMO,           // 187
667
    CON_SMAXAMMO,           // 188
668
    CON_STARTLEVEL,         // 189
669
    CON_ESHOOT,             // 190
670
    CON_QSPAWN,             // 191
671
    CON_ROTATESPRITE,       // 192
672
    CON_DEFINEPROJECTILE,   // 193
673
    CON_SPRITESHADOW,       // 194
674
    CON_COS,                // 195
675
    CON_ESHOOTVAR,          // 196
676
    CON_FINDNEARACTOR3D,    // 197
677
    CON_FINDNEARACTOR3DVAR, // 198
678
    CON_FLASH,              // 199
679
    CON_QSPAWNVAR,          // 200
680
    CON_EQSPAWN,            // 201
681
    CON_EQSPAWNVAR,         // 202
682
    CON_MINITEXT,           // 203
683
    CON_GAMETEXT,           // 204
684
    CON_DIGITALNUMBER,      // 205
685
    CON_ADDWEAPONVAR,       // 206
686
    CON_SETPROJECTILE,      // 207
687
    CON_ANGOFF,             // 208
688
    CON_UPDATESECTOR,       // 209
689
    CON_INSERTSPRITEQ,      // 210
690
    CON_ANGOFFVAR,          // 211
691
    CON_WHILEVARN,          // 212
692
    CON_SWITCH,             // 213
693
    CON_CASE,               // 214
694
    CON_DEFAULT,            // 215
695
    CON_ENDSWITCH,          // 216
696
    CON_SHOOTVAR,           // 217
697
    CON_SOUNDVAR,           // 218
698
    CON_FINDPLAYER,         // 219
699
    CON_FINDOTHERPLAYER,    // 220
700
    CON_ACTIVATEBYSECTOR,   // 221
701
    CON_OPERATESECTORS,     // 222
702
    CON_OPERATERESPAWNS,    // 223
703
    CON_OPERATEACTIVATORS,  // 224
704
    CON_OPERATEMASTERSWITCHES,  // 225
705
    CON_CHECKACTIVATORMOTION,   // 226
706
    CON_ZSHOOT,             // 227
707
    CON_DIST,               // 228
708
    CON_LDIST,              // 229
709
    CON_SHIFTVARL,          // 230
710
    CON_SHIFTVARR,          // 231
711
    CON_SPRITENVG,          // 232
712
    CON_GETANGLE,           // 233
713
    CON_WHILEVARVARN,       // 234
714
    CON_HITSCAN,            // 235
715
    CON_TIME,               // 236
716
    CON_GETPLAYERVAR,       // 237
717
    CON_SETPLAYERVAR,       // 238
718
    CON_MULSCALE,           // 239
719
    CON_SETASPECT,          // 240
251 terminx 720
    CON_EZSHOOT,            // 241
5 Plagman 721
    CON_SPRITENOSHADE,      // 242
722
    CON_MOVESPRITE,         // 243
723
    CON_CHECKAVAILWEAPON,   // 244
724
    CON_SOUNDONCEVAR,       // 245
725
    CON_UPDATESECTORZ,      // 246
726
    CON_STOPALLSOUNDS,      // 247
727
    CON_SSP,                // 248
728
    CON_STOPSOUNDVAR,       // 249
729
    CON_DISPLAYRANDVAR,     // 250
730
    CON_DISPLAYRANDVARVAR,  // 251
731
    CON_CHECKAVAILINVEN,    // 252
732
    CON_GLOBALSOUNDVAR,     // 253
733
    CON_GUNIQHUDID,         // 254
734
    CON_GETPROJECTILE,      // 255
735
    CON_GETTHISPROJECTILE,  // 256
736
    CON_SETTHISPROJECTILE,  // 257
737
    CON_DEFINECHEAT,        // 258
738
    CON_CHEATKEYS,          // 259
739
    CON_USERQUOTE,          // 260
740
    CON_PRECACHE,           // 261
121 terminx 741
    CON_DEFINEGAMEFUNCNAME, // 262
5 Plagman 742
    CON_REDEFINEQUOTE,      // 263
290 terminx 743
    CON_QSPRINTF,           // 264
5 Plagman 744
    CON_GETPNAME,           // 265
745
    CON_QSTRCAT,            // 266
746
    CON_QSTRCPY,            // 267
747
    CON_SETSPRITE,          // 268
748
    CON_ROTATEPOINT,        // 269
749
    CON_DRAGPOINT,          // 270
750
    CON_GETZRANGE,          // 271
751
    CON_CHANGESPRITESTAT,   // 272
752
    CON_GETCEILZOFSLOPE,    // 273
753
    CON_GETFLORZOFSLOPE,    // 274
754
    CON_NEARTAG,            // 275
755
    CON_DEFINEGAMETYPE,     // 276
756
    CON_CHANGESPRITESECT,   // 277
757
    CON_SPRITEFLAGS,        // 278
758
    CON_SAVEGAMEVAR,        // 279
759
    CON_READGAMEVAR,        // 280
760
    CON_FINDNEARSPRITE,     // 281
761
    CON_FINDNEARSPRITEVAR,  // 282
762
    CON_FINDNEARSPRITE3D,   // 283
763
    CON_FINDNEARSPRITE3DVAR,// 284
764
    CON_DYNAMICREMAP,       // 285
765
    CON_SETINPUT,           // 286
766
    CON_GETINPUT,           // 287
154 terminx 767
    CON_SAVE,                           // 288
97 terminx 768
    CON_CANSEE,             // 289
106 terminx 769
    CON_CANSEESPR,          // 290
169 terminx 770
    CON_FINDNEARACTORZ,     // 291
771
    CON_FINDNEARACTORZVAR,  // 292
772
    CON_FINDNEARSPRITEZ,    // 293
773
    CON_FINDNEARSPRITEZVAR, // 294
305 terminx 774
    CON_ZSHOOTVAR,                      // 295
775
    CON_EZSHOOTVAR,                     // 296
776
    CON_GETCURRADDRESS,         // 297
777
    CON_JUMP,                           // 298
778
    CON_QSTRLEN,                        // 299
329 terminx 779
    CON_GETINCANGLE,        // 300
444 terminx 780
    CON_QUAKE,              // 301
484 terminx 781
    CON_SHOWVIEW,           // 302
5 Plagman 782
    END
783
};