Subversion Repositories eduke32

Rev

Rev 28 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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