Subversion Repositories eduke32

Rev

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