Subversion Repositories eduke32

Rev

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