A megawad compilation for doom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

1564 lines
42KB

  1. /*
  2. The following declarations are based on the declarations found in the
  3. zdefs.acs and zspecial.acs files, both shipped with the acc compiler.
  4. */
  5. region std {
  6. enum ON = 1;
  7. enum OFF = 0;
  8. enum YES = 1;
  9. enum NO = 0;
  10. enum LINE_FRONT = 0;
  11. enum LINE_BACK = 1;
  12. enum SIDE_FRONT = 0;
  13. enum SIDE_BACK = 1;
  14. enum TEXTURE_TOP = 0;
  15. enum TEXTURE_MIDDLE = 1;
  16. enum TEXTURE_BOTTOM = 2;
  17. enum TEXFLAG_TOP = 1;
  18. enum TEXFLAG_MIDDLE = 2;
  19. enum TEXFLAG_BOTTOM = 4;
  20. enum TEXFLAG_ADDOFFSET = 8;
  21. enum {
  22. GAME_SINGLE_PLAYER,
  23. GAME_NET_COOPERATIVE,
  24. GAME_NET_DEATHMATCH,
  25. GAME_TITLE_MAP
  26. };
  27. enum CLASS_FIGHTER = 0;
  28. enum CLASS_CLERIC = 1;
  29. enum CLASS_MAGE = 2;
  30. enum {
  31. SKILL_VERY_EASY,
  32. SKILL_EASY,
  33. SKILL_NORMAL,
  34. SKILL_HARD,
  35. SKILL_VERY_HARD
  36. };
  37. enum {
  38. BLOCK_NOTHING,
  39. BLOCK_CREATURES,
  40. BLOCK_EVERYTHING,
  41. BLOCK_RAILING,
  42. BLOCK_PLAYERS
  43. };
  44. enum SCROLL = 0;
  45. enum CARRY = 1;
  46. enum SCROLL_AND_CARRY = 2;
  47. enum {
  48. MOD_UNKNOWN,
  49. MOD_ROCKET = 5,
  50. MOD_R_SPLASH,
  51. MOD_PLASMARIFLE,
  52. MOD_BFG_BOOM,
  53. MOD_BFG_SPLASH,
  54. MOD_CHAINSAW,
  55. MOD_SSHOTGUN,
  56. MOD_WATER,
  57. MOD_SLIME,
  58. MOD_LAVA,
  59. MOD_CRUSH,
  60. MOD_TELEFRAG,
  61. MOD_FALLING,
  62. MOD_SUICIDE,
  63. MOD_BARREL,
  64. MOD_EXIT,
  65. MOD_SPLASH,
  66. MOD_HIT,
  67. MOD_RAILGUN,
  68. MOD_ICE,
  69. MOD_DISINTEGRATE,
  70. MOD_POISON,
  71. MOD_ELECTRIC
  72. };
  73. enum MOVIE_PLAYED = 0;
  74. enum MOVIE_PLAYED_NOVIDEO = 1;
  75. enum MOVIE_PLAYED_ABORTED = 2;
  76. enum MOVIE_FAILED = -1;
  77. enum {
  78. PROP_FROZEN,
  79. PROP_NOTARGET,
  80. PROP_INSTANTWEAPONSWITCH,
  81. PROP_FLY,
  82. PROP_TOTALLYFROZEN,
  83. PROP_INVULNERABILITY,
  84. PROP_STRENGTH,
  85. PROP_INVISIBILITY,
  86. PROP_RADIATIONSUIT,
  87. PROP_ALLMAP,
  88. PROP_INFRARED,
  89. PROP_WEAPONLEVEL2,
  90. PROP_FLIGHT,
  91. PROP_SPEED = 15,
  92. PROP_BUDDHA
  93. };
  94. enum {
  95. INPUT_OLDBUTTONS,
  96. INPUT_BUTTONS,
  97. INPUT_PITCH,
  98. INPUT_YAW,
  99. INPUT_ROLL,
  100. INPUT_FORWARDMOVE,
  101. INPUT_SIDEMOVE,
  102. INPUT_UPMOVE
  103. };
  104. enum {
  105. MODINPUT_OLDBUTTONS = 8,
  106. MODINPUT_BUTTONS,
  107. MODINPUT_PITCH,
  108. MODINPUT_YAW,
  109. MODINPUT_ROLL,
  110. MODINPUT_FORWARDMOVE,
  111. MODINPUT_SIDEMOVE,
  112. MODINPUT_UPMOVE
  113. };
  114. enum BT_ATTACK = 0x1;
  115. enum BT_USE = 0x2;
  116. enum BT_JUMP = 0x4;
  117. enum BT_CROUCH = 0x8;
  118. enum BT_TURN180 = 0x10;
  119. enum BT_ALTATTACK = 0x20;
  120. enum BT_RELOAD = 0x40;
  121. enum BT_ZOOM = 0x80;
  122. enum BT_SPEED = 0x100;
  123. enum BT_STRAFE = 0x200;
  124. enum BT_MOVERIGHT = 0x400;
  125. enum BT_MOVELEFT = 0x800;
  126. enum BT_BACK = 0x1000;
  127. enum BT_FORWARD = 0x2000;
  128. enum BT_RIGHT = 0x4000;
  129. enum BT_LEFT = 0x8000;
  130. enum BT_LOOKUP = 0x10000;
  131. enum BT_LOOKDOWN = 0x20000;
  132. enum BT_MOVEUP = 0x40000;
  133. enum BT_MOVEDOWN = 0x80000;
  134. enum BT_SHOWSCORES = 0x100000;
  135. enum BT_USER1 = 0x200000;
  136. enum BT_USER2 = 0x400000;
  137. enum BT_USER3 = 0x800000;
  138. enum BT_USER4 = 0x1000000;
  139. enum {
  140. CR_UNTRANSLATED = -1,
  141. CR_BRICK,
  142. CR_TAN,
  143. CR_GRAY,
  144. CR_GREY = CR_GRAY,
  145. CR_GREEN,
  146. CR_BROWN,
  147. CR_GOLD,
  148. CR_RED,
  149. CR_BLUE,
  150. CR_ORANGE,
  151. CR_WHITE,
  152. CR_YELLOW,
  153. CR_BLACK = 12,
  154. CR_LIGHTBLUE,
  155. CR_CREAM,
  156. CR_OLIVE,
  157. CR_DARKGREEN,
  158. CR_DARKRED,
  159. CR_DARKBROWN,
  160. CR_PURPLE,
  161. CR_DARKGRAY,
  162. CR_DARKGREY = CR_DARKGRAY,
  163. CR_CYAN
  164. };
  165. enum HUDMSG_PLAIN = 0;
  166. enum HUDMSG_FADEOUT = 1;
  167. enum HUDMSG_TYPEON = 2;
  168. enum HUDMSG_FADEINOUT = 3;
  169. enum HUDMSG_LOG = 0x80000000;
  170. enum HUDMSG_COLORSTRING = 0x40000000;
  171. enum HUDMSG_ADDBLEND = 0x20000000;
  172. enum HUDMSG_ALPHA = 0x10000000;
  173. enum HUDMSG_NOWRAP = 0x8000000;
  174. enum HUDMSG_LAYER_OVERHUD = 0x0;
  175. enum HUDMSG_LAYER_UNDERHUD = 0x1000;
  176. enum HUDMSG_LAYER_OVERMAP = 0x2000;
  177. enum HUDMSG_NOTWITH3DVIEW = 0x10000;
  178. enum HUDMSG_NOTWITHFULLMAP = 0x20000;
  179. enum HUDMSG_NOTWITHOVERLAYMAP = 0x40000;
  180. enum {
  181. MARINEWEAPON_DUMMY,
  182. MARINEWEAPON_FIST,
  183. MARINEWEAPON_BERSERKFIST,
  184. MARINEWEAPON_CHAINSAW,
  185. MARINEWEAPON_PISTOL,
  186. MARINEWEAPON_SHOTGUN,
  187. MARINEWEAPON_SUPERSHOTGUN,
  188. MARINEWEAPON_CHAINGUN,
  189. MARINEWEAPON_ROCKETLAUNCHER,
  190. MARINEWEAPON_PLASMARIFLE,
  191. MARINEWEAPON_RAILGUN,
  192. MARINEWEAPON_BFG
  193. };
  194. enum {
  195. APROP_HEALTH,
  196. APROP_SPEED,
  197. APROP_DAMAGE,
  198. APROP_ALPHA,
  199. APROP_RENDERSTYLE,
  200. APROP_SEESOUND,
  201. APROP_ATTACKSOUND,
  202. APROP_PAINSOUND,
  203. APROP_DEATHSOUND,
  204. APROP_ACTIVESOUND,
  205. APROP_AMBUSH,
  206. APROP_INVULNERABLE,
  207. APROP_JUMPZ,
  208. APROP_CHASEGOAL,
  209. APROP_FRIGHTENED,
  210. APROP_GRAVITY,
  211. APROP_FRIENDLY,
  212. APROP_SPAWNHEALTH,
  213. APROP_DROPPED,
  214. APROP_NOTARGET,
  215. APROP_SPECIES,
  216. APROP_NAMETAG,
  217. APROP_SCORE,
  218. APROP_NOTRIGGER,
  219. APROP_DAMAGEFACTOR,
  220. APROP_MASTERTID,
  221. APROP_TARGETTID,
  222. APROP_TRACERTID,
  223. APROP_WATERLEVEL,
  224. APROP_SCALEX,
  225. APROP_SCALEY,
  226. APROP_DORMANT,
  227. APROP_MASS,
  228. APROP_ACCURACY,
  229. APROP_STAMINA,
  230. APROP_HEIGHT,
  231. APROP_RADIUS,
  232. APROP_REACTIONTIME,
  233. APROP_MELEERANGE,
  234. APROP_VIEWHEIGHT,
  235. APROP_ATTACKZOFFSET,
  236. APROP_STENCILCOLOR,
  237. APROP_FRICTION,
  238. APROP_DAMAGEMULTIPLIER
  239. };
  240. enum {
  241. STYLE_NONE,
  242. STYLE_NORMAL,
  243. STYLE_FUZZY,
  244. STYLE_SOULTRANS,
  245. STYLE_OPTFUZZY,
  246. STYLE_STENCIL,
  247. STYLE_ADDSTENCIL,
  248. STYLE_ADDSHADED,
  249. STYLE_TRANSLUCENT = 64,
  250. STYLE_ADD,
  251. STYLE_SHADED,
  252. STYLE_TRANSLUCENTSTENCIL,
  253. STYLE_SHADOW,
  254. STYLE_SUBTRACT
  255. };
  256. enum {
  257. LEVELINFO_PAR_TIME,
  258. LEVELINFO_CLUSTERNUM,
  259. LEVELINFO_LEVELNUM,
  260. LEVELINFO_TOTAL_SECRETS,
  261. LEVELINFO_FOUND_SECRETS,
  262. LEVELINFO_TOTAL_ITEMS,
  263. LEVELINFO_FOUND_ITEMS,
  264. LEVELINFO_TOTAL_MONSTERS,
  265. LEVELINFO_KILLED_MONSTERS,
  266. LEVELINFO_SUCK_TIME
  267. };
  268. enum {
  269. PLAYERINFO_TEAM,
  270. PLAYERINFO_AIMDIST,
  271. PLAYERINFO_COLOR,
  272. PLAYERINFO_GENDER,
  273. PLAYERINFO_NEVERSWITCH,
  274. PLAYERINFO_MOVEBOB,
  275. PLAYERINFO_STILLBOB,
  276. PLAYERINFO_PLAYERCLASS,
  277. PLAYERINFO_FOV,
  278. PLAYERINFO_DESIREDFOV
  279. };
  280. enum NOT_BOTTOM = 1;
  281. enum NOT_MIDDLE = 2;
  282. enum NOT_TOP = 4;
  283. enum NOT_FLOOR = 8;
  284. enum NOT_CEILING = 16;
  285. enum DAMAGE_PLAYERS = 1;
  286. enum DAMAGE_NONPLAYERS = 2;
  287. enum DAMAGE_IN_AIR = 4;
  288. enum DAMAGE_SUBCLASSES_PROTECT = 8;
  289. enum MRF_OLDEFFECTS = 0x0;
  290. enum MRF_ADDSTAMINA = 0x1;
  291. enum MRF_FULLHEALTH = 0x2;
  292. enum MRF_UNDOBYTOMEOFPOWER = 0x4;
  293. enum MRF_UNDOBYCHAOSDEVICE = 0x8;
  294. enum MRF_FAILNOTELEFRAG = 0x10;
  295. enum MRF_FAILNOLAUGH = 0x20;
  296. enum MRF_WHENINVULNERABLE = 0x40;
  297. enum MRF_LOSEACTUALWEAPON = 0x80;
  298. enum MRF_NEWTIDBEHAVIOUR = 0x100;
  299. enum MRF_UNDOBYDEATH = 0x200;
  300. enum MRF_UNDOBYDEATHFORCED = 0x400;
  301. enum MRF_UNDOBYDEATHSAVES = 0x800;
  302. enum {
  303. T_ROCK1 = 41,
  304. T_ROCK2,
  305. T_ROCK3,
  306. T_DIRT1,
  307. T_DIRT2,
  308. T_DIRT3,
  309. T_DIRT4,
  310. T_DIRT5,
  311. T_DIRT6,
  312. T_STAINEDGLASS1 = 54,
  313. T_STAINEDGLASS2,
  314. T_STAINEDGLASS3,
  315. T_STAINEDGLASS4,
  316. T_STAINEDGLASS5,
  317. T_STAINEDGLASS6,
  318. T_STAINEDGLASS7,
  319. T_STAINEDGLASS8,
  320. T_STAINEDGLASS9,
  321. T_STAINEDGLASS0
  322. };
  323. enum {
  324. T_NONE,
  325. T_SHOTGUY,
  326. T_CHAINGUY,
  327. T_BARON,
  328. T_ZOMBIE,
  329. T_IMP,
  330. T_ARACHNOTRON,
  331. T_SPIDERMASTERMIND,
  332. T_DEMON,
  333. T_SPECTRE,
  334. T_IMPFIREBALL,
  335. T_CLIP,
  336. T_SHELLS,
  337. T_CACODEMON = 19,
  338. T_REVENANT,
  339. T_BRIDGE,
  340. T_ARMORBONUS,
  341. T_STIMPACK,
  342. T_MEDKIT,
  343. T_SOULSPHERE,
  344. T_SHOTGUN = 27,
  345. T_CHAINGUN,
  346. T_ROCKETLAUNCHER,
  347. T_PLASMAGUN,
  348. T_BFG,
  349. T_CHAINSAW,
  350. T_SUPERSHOTGUN,
  351. T_PLASMABOLT = 51,
  352. T_TRACER = 53,
  353. T_GREENARMOR = 68,
  354. T_BLUEARMOR,
  355. T_CELL = 75,
  356. T_BLUEKEYCARD = 85,
  357. T_REDKEYCARD,
  358. T_YELLOWKEYCARD,
  359. T_YELLOWSKULLKEY,
  360. T_REDSKULLKEY,
  361. T_BLUESKULLKEY,
  362. T_TEMPLARGEFLAME = 98,
  363. T_STEALTHBARON = 100,
  364. T_STEALTHKNIGHT,
  365. T_STEALTHZOMBIE,
  366. T_STEALTHSHOTGUY,
  367. T_LOSTSOUL = 110,
  368. T_VILE,
  369. T_MANCUBUS,
  370. T_HELLKNIGHT,
  371. T_CYBERDEMON,
  372. T_PAINELEMENTAL,
  373. T_WOLFSS,
  374. T_STEALTHARACHNOTRON,
  375. T_STEALTHVILE,
  376. T_STEALTHCACODEMON,
  377. T_STEALTHCHAINGUY,
  378. T_STEALTHSERGEANT,
  379. T_STEALTHIMP,
  380. T_STEALTHMANCUBUS,
  381. T_STEALTHREVENANT,
  382. T_BARREL,
  383. T_CACODEMONSHOT,
  384. T_ROCKET,
  385. T_BFGSHOT,
  386. T_ARACHNOTRONPLASMA,
  387. T_BLOOD,
  388. T_PUFF,
  389. T_MEGASPHERE,
  390. T_INVULNERABILITY,
  391. T_BERSERK,
  392. T_INVISIBILITY,
  393. T_IRONFEET,
  394. T_COMPUTERMAP,
  395. T_LIGHTAMP,
  396. T_AMMOBOX,
  397. T_ROCKETAMMO,
  398. T_ROCKETBOX,
  399. T_BATTERY,
  400. T_SHELLBOX,
  401. T_BACKPACK,
  402. T_GUTS,
  403. T_BLOODPOOL,
  404. T_BLOODPOOL1,
  405. T_BLOODPOOL2,
  406. T_FLAMINGBARREL,
  407. T_BRAINS,
  408. T_SCRIPTEDMARINE,
  409. T_HEALTHBONUS,
  410. T_MANCUBUSSHOT,
  411. T_BARONBALL
  412. };
  413. enum {
  414. T_CLINK = 1,
  415. T_MUMMYLEADER,
  416. T_BEAST,
  417. T_MUMMY,
  418. T_KNIGHT = 6,
  419. T_IMPLEADER,
  420. T_MUMMYGHOST,
  421. T_MUMMYLEADERGHOST,
  422. T_WIMPYWANDAMMO = 11,
  423. T_HEFTYWANDAMMO,
  424. T_ITEMEGG = 14,
  425. T_ITEMFLIGHT,
  426. T_ITEMTELEPORT = 18,
  427. T_WIZARD,
  428. T_IRONLICH,
  429. T_ITEMHEALTHPOTION = 23,
  430. T_ITEMHEALTHFLASH,
  431. T_ITEMHEALTHFLASK = T_ITEMHEALTHFLASH,
  432. T_ITEMHEALTHFULL,
  433. T_CROSSBOW = 27,
  434. T_BLASTER,
  435. T_PHOENIXROD,
  436. T_SKULLROD,
  437. T_MACE,
  438. T_GAUNTLETS,
  439. T_WIMPYCROSSBOWAMMO,
  440. T_HEFTYCROSSBOWAMMO,
  441. T_WIMPYMACEAMMO,
  442. T_HEFTYMACEAMMO,
  443. T_WIMPYBLASTERAMMO,
  444. T_HEFTYBLASTERAMMO,
  445. T_MORPHBLAST = 40,
  446. T_SHIELD1 = 68,
  447. T_SHIELD2,
  448. T_ITEMTIMEBOMB = 72,
  449. T_ITEMTORCH,
  450. T_BLUEKEY = 85,
  451. T_GREENKEY,
  452. T_YELLOWKEY,
  453. T_SOUND_WIND = 110,
  454. T_SOUND_WATERFALL,
  455. T_BEASTBALL = 120,
  456. T_FEATHER,
  457. T_CHICKEN,
  458. T_VOLCANOBALL,
  459. T_TINYVOLCANOBALL,
  460. T_POD,
  461. T_PODGENERATOR,
  462. T_KNIGHTAXE,
  463. T_KNIGHTBLOODAXE,
  464. T_KNIGHTGHOST,
  465. T_MUMMYHEAD = 131,
  466. T_SNAKE,
  467. T_ITEMINVULNERABILITY,
  468. T_ITEMTOME,
  469. T_ITEMINVISIBILITY,
  470. T_ITEMBAGOFHOLDING,
  471. T_ITEMALLMAP,
  472. T_SNAKEPROJECTILE,
  473. T_SNAKEPROJECTILEBIG,
  474. T_WIZARDSHOT,
  475. T_DSPARILTELEPORTDEST,
  476. T_DSPARILONSERPENT,
  477. T_DSPARILALONE,
  478. T_SERPENTFIREBALL,
  479. T_DSPARILBLUESHOT,
  480. T_DSPARILWIZARDSPAWNER,
  481. T_CROSSBOWMAINBLAST,
  482. T_CROSSBOWMINIBLAST,
  483. T_CROSSBOWPOWERBLAST,
  484. T_VOLCANO,
  485. T_POWERWANDMINIBLAST,
  486. T_POWERWANDBIGGERBLAST,
  487. T_DEATHBALL,
  488. T_NOGRAVITYMACEBALL,
  489. T_BOUNCYMACEBALL,
  490. T_HEAVYMACEBALL,
  491. T_RIPPER,
  492. T_WIMPYSKULLRODAMMO,
  493. T_HEFTYSKULLRODAMMO,
  494. T_SKULLRODBLAST,
  495. T_WIMPYPHOENIXRODAMMO,
  496. T_HEFTYPHOENIXRODAMMO,
  497. T_PHOENIXSHOT,
  498. T_IRONLICHBLUESHOT,
  499. T_WHIRLWIND,
  500. T_REDTELEGLITTER,
  501. T_BLUETELEGLITTER
  502. };
  503. enum {
  504. T_CENTAUR = 1,
  505. T_CENTAURLEADER,
  506. T_DEMON1,
  507. T_ETTIN,
  508. T_FIREGARGOYLE,
  509. T_WATERLURKER,
  510. T_WATERLURKERLEADER,
  511. T_WRAITH,
  512. T_WRAITHBURIED,
  513. T_FIREBALL1,
  514. T_MANA1,
  515. T_MANA2,
  516. T_ITEMBOOTS,
  517. T_ITEMPORK,
  518. T_ITEMSUMMON = 16,
  519. T_ITEMTPORTOTHER,
  520. T_BISHOP = 19,
  521. T_ICEGOLEM,
  522. T_DRAGONSKINBRACERS = 22,
  523. T_ITEMBOOSTMANA = 26,
  524. T_FIGHTERAXE,
  525. T_FIGHTERHAMMER,
  526. T_FIGHTERSWORD1,
  527. T_FIGHTERSWORD2,
  528. T_FIGHTERSWORD3,
  529. T_CLERICSTAFF,
  530. T_CLERICHOLY1,
  531. T_CLERICHOLY2,
  532. T_CLERICHOLY3,
  533. T_MAGESHARDS,
  534. T_MAGESTAFF1,
  535. T_MAGESTAFF2,
  536. T_MAGESTAFF3,
  537. T_ARROW = 50,
  538. T_DART,
  539. T_POISONDART,
  540. T_RIPPERBALL,
  541. T_BLADE = 64,
  542. T_ICESHARD,
  543. T_FLAME_SMALL,
  544. T_FLAME_LARGE,
  545. T_MESHARMOR,
  546. T_FALCONSHIELD,
  547. T_PLATINUMHELM,
  548. T_AMULETOFWARDING,
  549. T_ITEMFLECHETTE,
  550. T_ITEMREPULSION = 74,
  551. T_MANA3,
  552. T_PUZZSKULL,
  553. T_PUZZGEMBIG,
  554. T_PUZZGEMRED,
  555. T_PUZZGEMGREEN1,
  556. T_PUZZGEMGREEN2,
  557. T_PUZZGEMBLUE1,
  558. T_PUZZGEMBLUE2,
  559. T_PUZZBOOK1,
  560. T_PUZZBOOK2,
  561. T_METALKEY,
  562. T_SMALLMETALKEY,
  563. T_AXEKEY,
  564. T_FIREKEY,
  565. T_EMERALDKEY,
  566. T_MACEKEY,
  567. T_SILVERKEY,
  568. T_RUSTYKEY,
  569. T_HORNKEY,
  570. T_SERPENTKEY,
  571. T_WATERDRIP,
  572. T_TEMPSMALLFLAME,
  573. T_PERMSMALLFLAME,
  574. T_PERMLARGEFLAME = 99,
  575. T_DEMON_MASH,
  576. T_DEMON2_MASH,
  577. T_ETTIN_MASH,
  578. T_CENTAUR_MASH,
  579. T_THRUSTSPIKEUP,
  580. T_THRUSTSPIKEDOWN,
  581. T_FLESH_DRIP1,
  582. T_FLESH_DRIP2,
  583. T_SPARK_DRIP
  584. };
  585. enum ACTOR_NONE = 0x0;
  586. enum ACTOR_WORLD = 0x1;
  587. enum ACTOR_PLAYER = 0x2;
  588. enum ACTOR_BOT = 0x4;
  589. enum ACTOR_VOODOODOLL = 0x8;
  590. enum ACTOR_MONSTER = 0x10;
  591. enum ACTOR_ALIVE = 0x20;
  592. enum ACTOR_DEAD = 0x40;
  593. enum ACTOR_MISSILE = 0x80;
  594. enum ACTOR_GENERIC = 0x100;
  595. enum {
  596. SECSEQ_FLOOR = 1,
  597. SECSEQ_CEILING,
  598. SECSEQ_FULLHEIGHT,
  599. SECSEQ_INTERIOR
  600. };
  601. enum CHAN_AUTO = 0;
  602. enum CHAN_WEAPON = 1;
  603. enum CHAN_VOICE = 2;
  604. enum CHAN_ITEM = 3;
  605. enum CHAN_BODY = 4;
  606. enum CHAN_5 = 5;
  607. enum CHAN_6 = 6;
  608. enum CHAN_7 = 7;
  609. enum CHAN_LISTENERZ = 0x8;
  610. enum CHAN_MAYBE_LOCAL = 0x10;
  611. enum CHAN_UI = 0x20;
  612. enum CHAN_NOPAUSE = 0x40;
  613. enum ATTN_NONE = 0;
  614. enum ATTN_NORM = 1.0;
  615. enum ATTN_IDLE = 1.001;
  616. enum ATTN_STATIC = 3.0;
  617. enum {
  618. SOUND_SEE,
  619. SOUND_ATTACK,
  620. SOUND_PAIN,
  621. SOUND_DEATH,
  622. SOUND_ACTIVE,
  623. SOUND_USE,
  624. SOUND_BOUNCE,
  625. SOUND_WALLBOUNCE,
  626. SOUND_CRUSHPAIN,
  627. SOUND_HOWL
  628. };
  629. enum SDF_ABSANGLE = 0x1;
  630. enum SDF_PERMANENT = 0x2;
  631. enum AAPTR_DEFAULT = 0x0;
  632. enum AAPTR_NULL = 0x1;
  633. enum AAPTR_TARGET = 0x2;
  634. enum AAPTR_MASTER = 0x4;
  635. enum AAPTR_TRACER = 0x8;
  636. enum AAPTR_PLAYER_GETTARGET = 0x10;
  637. enum AAPTR_PLAYER_GETCONVERSATION = 0x20;
  638. enum AAPTR_PLAYER1 = 0x40;
  639. enum AAPTR_PLAYER2 = 0x80;
  640. enum AAPTR_PLAYER3 = 0x100;
  641. enum AAPTR_PLAYER4 = 0x200;
  642. enum AAPTR_PLAYER5 = 0x400;
  643. enum AAPTR_PLAYER6 = 0x800;
  644. enum AAPTR_PLAYER7 = 0x1000;
  645. enum AAPTR_PLAYER8 = 0x2000;
  646. enum AAPTR_FRIENDPLAYER = 0x4000;
  647. enum AAPTR_GET_LINETARGET = 0x8000;
  648. enum PTROP_UNSAFETARGET = 0x1;
  649. enum PTROP_UNSAFEMASTER = 0x2;
  650. enum PTROP_NOSAFEGUARDS = PTROP_UNSAFETARGET | PTROP_UNSAFEMASTER;
  651. enum {
  652. ARMORINFO_CLASSNAME,
  653. ARMORINFO_SAVEAMOUNT,
  654. ARMORINFO_SAVEPERCENT,
  655. ARMORINFO_MAXABSORB,
  656. ARMORINFO_MAXFULLABSORB,
  657. ARMORINFO_ACTUALSAVEAMOUNT,
  658. };
  659. enum SPAC_NONE = 0x0;
  660. enum SPAC_CROSS = 0x1;
  661. enum SPAC_USE = 0x2;
  662. enum SPAC_MCROSS = 0x4;
  663. enum SPAC_IMPACT = 0x8;
  664. enum SPAC_PUSH = 0x10;
  665. enum SPAC_PCROSS = 0x20;
  666. enum SPAC_ANYCROSS = 0x40;
  667. enum SPAC_MUSE = 0x80;
  668. enum SPAC_MPUSH = 0x100;
  669. enum SPAC_USEBACK = 0x200;
  670. enum TEAM_BLUE = 0;
  671. enum TEAM_RED = 1;
  672. enum NO_TEAM = 2;
  673. enum {
  674. TPROP_NAME,
  675. TPROP_SCORE,
  676. TPROP_ISVALID,
  677. TPROP_NUMPLAYERS,
  678. TPROP_NUMLIVEPLAYERS,
  679. TPROP_TEXTCOLOR,
  680. TPROP_PLAYERSTARTNUM,
  681. TPROP_SPREAD,
  682. TPROP_CARRIER,
  683. TPROP_ASSISTER,
  684. TPROP_FRAGCOUNT,
  685. TPROP_DEATHCOUNT,
  686. TPROP_WINCOUNT,
  687. TPROP_POINTCOUNT,
  688. TPROP_RETURNTICS,
  689. TPROP_TEAMITEM,
  690. TPROP_WINNERTHEME,
  691. TPROP_LOSERTHEME
  692. };
  693. enum {
  694. IS_WAITINGFORPLAYERS,
  695. IS_FIRSTCOUNTDOWN,
  696. IS_INPROGRESS,
  697. IS_BOSSFIGHT,
  698. IS_WAVECOMPLETE,
  699. IS_COUNDOWN
  700. };
  701. enum {
  702. T_GRENADE = 216,
  703. T_BFG10KSHOT,
  704. T_DARKIMPFIREBALL,
  705. T_CACOLANTERNSHOT,
  706. T_ABADDONSHOT = 221
  707. };
  708. enum {
  709. T_DARKIMP = 155,
  710. T_BLOODDEMON,
  711. T_SSGGUY,
  712. T_HECTEBUS,
  713. T_CACOLANTERN,
  714. T_BELPHEGOR = 215,
  715. T_ABADDON = 220
  716. };
  717. enum {
  718. T_PISTOL = 162,
  719. T_GRENADELAUNCHER,
  720. T_RAILGUN,
  721. T_BFG10000,
  722. T_MINIGUN = 214
  723. };
  724. enum {
  725. T_MAXHEALTHBONUS = 166,
  726. T_MAXARMORBONUS,
  727. T_REDARMOR
  728. };
  729. enum {
  730. T_TURBOSPHERE = 169,
  731. T_ANTIGRAVBELT,
  732. T_TIMEFREEZER,
  733. T_INFRAGOGGLES,
  734. T_INFRATRACKER,
  735. T_TRANSLUCENCY,
  736. T_DOOMSPHERE,
  737. T_RANDOMPOWERUP
  738. };
  739. enum {
  740. T_BLUEFLAG = 177,
  741. T_REDFLAG,
  742. T_WHITEFLAG
  743. };
  744. enum {
  745. T_STRENGTH = 180,
  746. T_RAGE,
  747. T_DRAIN,
  748. T_SPREAD,
  749. T_RESISTANCE,
  750. T_REGENERATION,
  751. T_PROSPERITY,
  752. T_REFLECTION,
  753. T_HIGHJUMP,
  754. T_HASTE
  755. };
  756. enum {
  757. EV_KEYDOWN = 1,
  758. EV_KEYREPEAT,
  759. EV_KEYUP,
  760. EV_CHAR,
  761. EV_MOUSEMOVE,
  762. EV_LBUTTONDOWN,
  763. EV_LBUTTONUP,
  764. EV_LBUTTONDBLCLICK,
  765. EV_MBUTTONDOWN,
  766. EV_MBUTTONUP,
  767. EV_MBUTTONDBLCLICK,
  768. EV_RBUTTONDOWN,
  769. EV_RBUTTONUP,
  770. EV_RBUTTONDBLCLICK,
  771. EV_WHEELDOWN,
  772. EV_WHEELUP
  773. };
  774. enum GKM_SHIFT = 0x100;
  775. enum GKM_CTRL = 0x200;
  776. enum GKM_ALT = 0x400;
  777. enum GKM_LBUTTON = 0x800;
  778. enum GKM_MBUTTON = 0x1000;
  779. enum GKM_RBUTTON = 0x2000;
  780. enum {
  781. GK_PGDN = 1,
  782. GK_PGUP,
  783. GK_HOME,
  784. GK_END,
  785. GK_LEFT,
  786. GK_RIGHT,
  787. GK_ALERT,
  788. GK_BACKSPACE,
  789. GK_TAB,
  790. GK_LINEFEED,
  791. GK_DOWN = GK_LINEFEED,
  792. GK_VTAB,
  793. GK_UP = GK_VTAB,
  794. GK_FORMFEED,
  795. GK_RETURN,
  796. GK_F1,
  797. GK_F2,
  798. GK_F3,
  799. GK_F4,
  800. GK_F5,
  801. GK_F6,
  802. GK_F7,
  803. GK_F8,
  804. GK_F9,
  805. GK_F10,
  806. GK_F11,
  807. GK_F12,
  808. GK_DEL,
  809. GK_ESCAPE,
  810. GK_FREE1,
  811. GK_FREE2,
  812. GK_FREE3,
  813. GK_CESCAPE
  814. };
  815. enum CHANGELEVEL_KEEPFACING = 0x1;
  816. enum CHANGELEVEL_RESETINVENTORY = 0x2;
  817. enum CHANGELEVEL_NOMONSTERS = 0x4;
  818. enum CHANGELEVEL_CHANGESKILL = 0x8;
  819. enum CHANGELEVEL_NOINTERMISSION = 0x10;
  820. enum CHANGELEVEL_RESETHEALTH = 0x20;
  821. enum CHANGELEVEL_PRERAISEWEAPON = 0x40;
  822. enum NO_CHANGE = 32767.0;
  823. enum SECF_SILENT = 0x1;
  824. enum SECF_NOFALLINGDAMAGE = 0x2;
  825. enum SECF_FLOORDROP = 0x4;
  826. enum SECF_NORESPAWN = 0x8;
  827. enum BLOCKF_CREATURES = 0x1;
  828. enum BLOCKF_MONSTERS = 0x2;
  829. enum BLOCKF_PLAYERS = 0x4;
  830. enum BLOCKF_FLOATERS = 0x8;
  831. enum BLOCKF_PROJECTILES = 0x10;
  832. enum BLOCKF_EVERYTHING = 0x20;
  833. enum BLOCKF_RAILING = 0x40;
  834. enum BLOCKF_USE = 0x80;
  835. enum BLOCKF_SIGHT = 0x100;
  836. enum BLOCKF_HITSCAN = 0x200;
  837. enum FOGP_DENSITY = 0;
  838. enum FOGP_OUTSIDEDENSITY = 1;
  839. enum FOGP_SKYFOG = 2;
  840. enum PRINTNAME_LEVELNAME = -1;
  841. enum PRINTNAME_LEVEL = -2;
  842. enum PRINTNAME_SKILL = -3;
  843. enum CSF_NOFAKEFLOORS = 0x1;
  844. enum CSF_NOBLOCKALL = 0x2;
  845. enum FHF_NORANDOMPUFFZ = 0x1;
  846. enum FHF_NOIMPACTDECAL = 0x2;
  847. enum {
  848. GAMESTATE_UNSPECIFIED = -1,
  849. GAMESTATE_WAITFORPLAYERS,
  850. GAMESTATE_COUNTDOWN,
  851. GAMESTATE_INPROGRESS,
  852. GAMESTATE_INRESULTSEQUENCE
  853. };
  854. enum {
  855. GAMEEVENT_PLAYERFRAGS,
  856. GAMEEVENT_MEDALS,
  857. GAMEEVENT_CAPTURES,
  858. GAMEEVENT_TOUCHES,
  859. GAMEEVENT_RETURNS,
  860. GAMEEVENT_ROUND_STARTS,
  861. GAMEEVENT_ROUND_ENDS,
  862. GAMEEVENT_ROUND_ABORTED
  863. };
  864. enum {
  865. MF_SPECIAL = 0x1,
  866. MF_SOLID = 0x2,
  867. MF_SHOOTABLE = 0x4,
  868. MF_NOSECTOR = 0x8,
  869. MF_NOBLOCKMAP = 0x10,
  870. MF_AMBUSH = 0x20,
  871. MF_JUSTHIT = 0x40,
  872. MF_JUSTATTACKED = 0x80,
  873. MF_SPAWNCEILING = 0x100,
  874. MF_NOGRAVITY = 0x200,
  875. MF_DROPOFF = 0x400,
  876. MF_PICKUP = 0x800,
  877. MF_NOCLIP = 0x1000,
  878. MF_INCHASE = 0x2000,
  879. MF_FLOAT = 0x4000,
  880. MF_TELEPORT = 0x8000,
  881. MF_MISSILE = 0x1_0000,
  882. MF_DROPPED = 0x2_0000,
  883. MF_SHADOW = 0x4_0000,
  884. MF_NOBLOOD = 0x8_0000,
  885. MF_CORPSE = 0x10_0000,
  886. // The following two enumerators have the same value. Not sure if it's
  887. // intentional or an error.
  888. MF_INFLOAT = 0x20_0000,
  889. MF_INBOUNCE = 0x20_0000,
  890. MF_COUNTKILL = 0x40_0000,
  891. MF_COUNTITEM = 0x80_0000,
  892. MF_SKULLFLY = 0x100_0000,
  893. MF_NOTDMATCH = 0x200_0000,
  894. MF_SPAWNSOUNDSOURCE = 0x400_0000,
  895. MF_FRIENDLY = 0x800_0000,
  896. MF_UNMORPHED = 0x1000_0000,
  897. MF_NOLIFTDROP = 0x2000_0000,
  898. MF_STEALTH = 0x4000_0000,
  899. MF_ICECORPSE = 0x8000_0000
  900. };
  901. enum {
  902. ML_BLOCKING = 0x1,
  903. ML_BLOCKMONSTERS = 0x2,
  904. ML_TWOSIDED = 0x4,
  905. ML_DONTPEGTOP = 0x8,
  906. ML_DONTPEGBOTTOM = 0x10,
  907. ML_SECRET = 0x20,
  908. ML_SOUNDBLOCK = 0x40,
  909. ML_DONTDRAW = 0x80,
  910. ML_MAPPED = 0x100,
  911. ML_REPEAT_SPECIAL = 0x200,
  912. ML_ADDTRANS = 0x400,
  913. ML_MONSTERSCANACTIVATE = 0x2000,
  914. ML_BLOCK_PLAYERS = 0x4000,
  915. ML_BLOCKEVERYTHING = 0x8000,
  916. ML_ZONEBOUNDARY = 0x1_0000,
  917. ML_RAILING = 0x2_0000,
  918. ML_BLOCK_FLOATERS = 0x4_0000,
  919. ML_CLIP_MIDTEX = 0x8_0000,
  920. ML_WRAP_MIDTEX = 0x10_0000,
  921. ML_3DMIDTEX = 0x20_0000,
  922. ML_CHECKSWITCHRANGE = 0x40_0000,
  923. ML_FIRSTSIDEONLY = 0x80_0000,
  924. ML_BLOCKPROJECTILE = 0x100_0000,
  925. ML_BLOCKUSE = 0x200_0000,
  926. ML_BLOCKSIGHT = 0x400_0000,
  927. ML_BLOCKHITSCAN = 0x800_0000
  928. };
  929. enum {
  930. QF_RELATIVE = 0x1,
  931. QF_SCALEDOWN = 0x2,
  932. QF_SCALEUP = 0x4,
  933. QF_MAX = 0x8,
  934. QF_FULLINTENSITY = 0x10,
  935. QF_WAVE = 0x20
  936. };
  937. enum {
  938. WARPF_ABSOLUTEOFFSET = 0x1,
  939. WARPF_ABSOLUTEANGLE = 0x2,
  940. WARPF_USECALLERANGLE = 0x4,
  941. WARPF_NOCHECKPOSITION = 0x8,
  942. WARPF_INTERPOLATE = 0x10,
  943. WARPF_WARPINTERPOLATION = 0x20,
  944. WARPF_COPYINTERPOLATION = 0x40,
  945. WARPF_STOP = 0x80,
  946. WARPF_TOFLOOR = 0x100,
  947. WARPF_TESTONLY = 0x200,
  948. WARPF_ABSOLUTEPOSITION = 0x400,
  949. WARPF_BOB = 0x800,
  950. WARPF_MOVEPTR = 0x1000,
  951. WARPF_USEPTR = 0x2000
  952. };
  953. enum DB_ORDER_DESC = false;
  954. enum DB_ORDER_ASC = true;
  955. enum {
  956. TM_SECOND,
  957. TM_MINUTE,
  958. TM_HOUR,
  959. TM_DAY,
  960. TM_MONTH,
  961. TM_YEAR,
  962. TM_WEEKDAY
  963. };
  964. enum INT_MIN = -INT_MAX - 1;
  965. enum INT_MAX = 2147483647;
  966. // Action specials
  967. // Tail format: = <action-special-number> , <script-callable>
  968. int Polyobj_StartLine( int, int, int, int ) = 1, 0;
  969. int Polyobj_RotateLeft( int, int, int ) = 2, 1;
  970. int Polyobj_RotateRight( int, int, int ) = 3, 1;
  971. int Polyobj_Move( int, int, int, int ) = 4, 1;
  972. int Polyobj_ExplicitLine( int, int, int, int, int ) = 5, 0;
  973. int Polyobj_MoveTimes8( int, int, int, int ) = 6, 1;
  974. int Polyobj_DoorSwing( int, int, int, int ) = 7, 1;
  975. int Polyobj_DoorSlide( int, int, int, int, int ) = 8, 1;
  976. int Line_Horizon() = 9, 0;
  977. int Door_Close( int, int, int = 0 ) = 10, 1;
  978. int Door_Open( int, int, int = 0 ) = 11, 1;
  979. int Door_Raise( int, int, int, int = 0 ) = 12, 1;
  980. int Door_LockedRaise( int, int, int, int, int = 0 ) = 13, 1;
  981. int Door_Animated( int, int, int, int = 0 ) = 14, 1;
  982. int Autosave() = 15, 1;
  983. int Transfer_WallLight( int, int ) = 16, 0;
  984. int Thing_Raise( int ) = 17, 1;
  985. int StartConversation( int, int = 0 ) = 18, 1;
  986. int Thing_Stop( int ) = 19, 1;
  987. int Floor_LowerByValue( int, int, int ) = 20, 1;
  988. int Floor_LowerToLowest( int, int ) = 21, 1;
  989. int Floor_LowerToNearest( int, int ) = 22, 1;
  990. int Floor_RaiseByValue( int, int, int ) = 23, 1;
  991. int Floor_RaiseToHighest( int, int ) = 24, 1;
  992. int Floor_RaiseToNearest( int, int ) = 25, 1;
  993. int Stairs_BuildDown( int, int, int, int, int ) = 26, 1;
  994. int Stairs_BuildUp( int, int, int, int, int ) = 27, 1;
  995. int Floor_RaiseAndCrush( int, int, int, int = 0 ) = 28, 1;
  996. int Pillar_Build( int, int, int ) = 29, 1;
  997. int Pillar_Open( int, int, int, int ) = 30, 1;
  998. int Stairs_BuildDownSync( int, int, int, int ) = 31, 1;
  999. int Stairs_BuildUpSync( int, int, int, int ) = 32, 1;
  1000. int ForceField() = 33, 1;
  1001. int ClearForceField( int ) = 34, 1;
  1002. int Floor_RaiseByValueTimes8( int, int, int ) = 35, 1;
  1003. int Floor_LowerByValueTimes8( int, int, int ) = 36, 1;
  1004. int Floor_MoveToValue( int, int, int, int = 0 ) = 37, 1;
  1005. int Ceiling_Waggle( int, int, int, int, int ) = 38, 1;
  1006. int Teleport_ZombieChanger( int, int ) = 39, 1;
  1007. int Ceiling_LowerByValue( int, int, int ) = 40, 1;
  1008. int Ceiling_RaiseByValue( int, int, int ) = 41, 1;
  1009. int Ceiling_CrushAndRaise( int, int, int, int = 0 ) = 42, 1;
  1010. int Ceiling_LowerAndCrush( int, int, int, int = 0 ) = 43, 1;
  1011. int Ceiling_CrushStop( int ) = 44, 1;
  1012. int Ceiling_CrushRaiseAndStay( int, int, int, int = 0 ) = 45, 1;
  1013. int Floor_CrushStop( int ) = 46, 1;
  1014. int Ceiling_MoveToValue( int, int, int, int = 0 ) = 47, 1;
  1015. int Sector_Attach3dMidTex( int, int, int ) = 48, 0;
  1016. int GlassBreak( int = 0 ) = 49, 1;
  1017. int ExtraFloor_LightOnly( int, int ) = 50, 0;
  1018. int Sector_SetLink( int, int, int, int ) = 51, 1;
  1019. int Scroll_Wall( int, int, int, int, int ) = 52, 1;
  1020. int Line_SetTextureOffset( int, int, int, int, int ) = 53, 1;
  1021. int Sector_ChangeFlags( int, int, int ) = 54, 1;
  1022. int Line_SetBlocking( int, int, int ) = 55, 1;
  1023. int Line_SetTextureScale( int, int, int, int, int ) = 56, 1;
  1024. int Sector_SetPortal( int, int, int, int, int ) = 57, 0;
  1025. int Sector_CopyScroller( int, int ) = 58, 0;
  1026. int Polyobj_Or_MoveToSpot( int, int, int ) = 59, 1;
  1027. int Plat_PerpetualRaise( int, int, int ) = 60, 1;
  1028. int Plat_Stop( int ) = 61, 1;
  1029. int Plat_DownWaitUpStay( int, int, int ) = 62, 1;
  1030. int Plat_DownByValue( int, int, int, int ) = 63, 1;
  1031. int Plat_UpWaitDownStay( int, int, int ) = 64, 1;
  1032. int Plat_UpByValue( int, int, int, int ) = 65, 1;
  1033. int Floor_LowerInstant( int, int, int ) = 66, 1;
  1034. int Floor_RaiseInstant( int, int, int ) = 67, 1;
  1035. int Floor_MoveToValueTimes8( int, int, int, int ) = 68, 1;
  1036. int Ceiling_MoveToValueTimes8( int, int, int, int ) = 69, 1;
  1037. int Teleport( int, int = 0, int = 0 ) = 70, 1;
  1038. int Teleport_NoFog( int, int = 0, int = 0, int = 0 ) = 71, 1;
  1039. int ThrustThing( int, int, int = 0, int = 0 ) = 72, 1;
  1040. int DamageThing( int, int = 0 ) = 73, 1;
  1041. int Teleport_NewMap( int, int, int = 0 ) = 74, 1;
  1042. int Teleport_EndGame() = 75, 1;
  1043. int TeleportOther( int, int, int ) = 76, 1;
  1044. int TeleportGroup( int, int, int, int, int ) = 77, 1;
  1045. int TeleportInSector( int, int, int, int, int = 0 ) = 78, 1;
  1046. int Thing_SetConversation( int, int ) = 79, 1;
  1047. int Acs_Execute( int, int, int = 0, int = 0, int = 0 ) = 80, 1;
  1048. int Acs_Suspend( int, int ) = 81, 1;
  1049. int Acs_Terminate( int, int ) = 82, 1;
  1050. int Acs_LockedExecute( int, int, int, int, int ) = 83, 1;
  1051. int Acs_ExecuteWithResult( int, int = 0, int = 0, int = 0, int = 0 ) = 84, 1;
  1052. int Acs_LockedExecuteDoor( int, int, int, int, int ) = 85, 1;
  1053. int Polyobj_MoveToSpot( int, int, int ) = 86, 1;
  1054. int Polyobj_Stop( int ) = 87, 1;
  1055. int Polyobj_MoveTo( int, int, int, int ) = 88, 1;
  1056. int Polyobj_Or_MoveTo( int, int, int, int ) = 89, 1;
  1057. int Polyobj_Or_RotateLeft( int, int, int ) = 90, 1;
  1058. int Polyobj_Or_RotateRight( int, int, int ) = 91, 1;
  1059. int Polyobj_Or_Move( int, int, int, int ) = 92, 1;
  1060. int Polyobj_Or_MoveTimes8( int, int, int, int ) = 93, 1;
  1061. int Pillar_BuildAndCrush( int, int, int, int, int = 0 ) = 94, 1;
  1062. int FloorAndCeiling_LowerByValue( int, int, int ) = 95, 1;
  1063. int FloorAndCeiling_RaiseByValue( int, int, int ) = 96, 1;
  1064. int Ceiling_LowerAndCrushDist( int, int, int, int = 0, int = 0 ) = 97, 1;
  1065. int Sector_SetTranslucent( int, int, int, int ) = 98, 1;
  1066. int Floor_RaiseAndCrushDoom( int, int, int, int = 0 ) = 99, 1;
  1067. int Scroll_Texture_Left( int, int = 0 ) = 100, 0;
  1068. int Scroll_Texture_Right( int, int = 0 ) = 101, 0;
  1069. int Scroll_Texture_Up( int, int = 0 ) = 102, 0;
  1070. int Scroll_Texture_Down( int, int = 0 ) = 103, 0;
  1071. int Light_ForceLightning( int ) = 109, 1;
  1072. int Light_RaiseByValue( int, int ) = 110, 1;
  1073. int Light_LowerByValue( int, int ) = 111, 1;
  1074. int Light_ChangeToValue( int, int ) = 112, 1;
  1075. int Light_Fade( int, int, int ) = 113, 1;
  1076. int Light_Glow( int, int, int, int ) = 114, 1;
  1077. int Light_Flicker( int, int, int ) = 115, 1;
  1078. int Light_Strobe( int, int, int, int, int ) = 116, 1;
  1079. int Light_Stop( int ) = 117, 1;
  1080. int Plane_Copy( int, int, int, int, int ) = 118, 0;
  1081. int Thing_Damage( int, int, int = 0 ) = 119, 1;
  1082. int Radius_Quake( int, int, int, int, int ) = 120, 1;
  1083. int Line_SetIdentification( int, int, int, int, int ) = 121, 0;
  1084. int Thing_Move( int, int, int = 0 ) = 125, 1;
  1085. int Thing_SetSpecial( int, int, int, int, int ) = 127, 1;
  1086. int ThrustThingZ( int, int, int, int ) = 128, 1;
  1087. int UsePuzzleItem() = 129, 0;
  1088. int Thing_Activate( int ) = 130, 1;
  1089. int Thing_Deactivate( int ) = 131, 1;
  1090. int Thing_Remove( int ) = 132, 1;
  1091. int Thing_Destroy( int, int = 0 ) = 133, 1;
  1092. int Thing_Projectile( int, int, int, int, int ) = 134, 1;
  1093. int Thing_Spawn( int, int, int, int = 0 ) = 135, 1;
  1094. int Thing_ProjectileGravity( int, int, int, int, int ) = 136, 1;
  1095. int Thing_SpawnNoFog( int, int, int, int = 0 ) = 137, 1;
  1096. int Floor_Waggle( int, int, int, int, int ) = 138, 1;
  1097. int Thing_SpawnFacing( int, int, int = 0, int = 0 ) = 139, 1;
  1098. int Sector_ChangeSound( int, int ) = 140, 1;
  1099. int Player_SetTeam( int ) = 145, 1;
  1100. int Team_Score( int, int ) = 152, 1;
  1101. int Team_GivePoints( int, int, int ) = 153, 1;
  1102. int Teleport_NoStop( int, int, int = 0 ) = 154, 1;
  1103. int SetGlobalFogParameter( int, int ) = 157, 1;
  1104. int Fs_Excute( int, int = 0, int = 0, int = 0 ) = 158, 1;
  1105. int Sector_SetPlaneReflection( int, int, int ) = 159, 1;
  1106. int Sector_Set3dFloor( int, int, int, int, int ) = 160, 0;
  1107. int Sector_SetContents( int, int, int ) = 161, 0;
  1108. int Ceiling_CrushAndRaiseDist( int, int, int, int, int = 0 ) = 168, 1;
  1109. int Generic_Crusher2( int, int, int, int, int ) = 169, 1;
  1110. int Sector_SetCeilingScale2( int, int, int ) = 170, 1;
  1111. int Sector_SetFloorScale2( int, int, int ) = 171, 1;
  1112. int Plat_UpNearestWaitDownStay( int, int, int ) = 172, 1;
  1113. int NoiseAlert( int, int ) = 173, 1;
  1114. int SendToCommunicator( int, int, int, int ) = 174, 1;
  1115. int Thing_ProjectileIntercept( int, int, int, int, int ) = 175, 1;
  1116. int Thing_ChangeTid( int, int ) = 176, 1;
  1117. int Thing_Hate( int, int, int = 0 ) = 177, 1;
  1118. int Thing_ProjectileAimed( int, int, int, int, int = 0 ) = 178, 1;
  1119. int ChangeSkill( int ) = 179, 1;
  1120. int Thing_SetTranslation( int, int ) = 180, 1;
  1121. int Plane_Align( int, int, int ) = 181, 0;
  1122. int Line_Mirror() = 182, 0;
  1123. int Line_AlignCeiling( int, int ) = 183, 1;
  1124. int Line_AlignFloor( int, int ) = 184, 1;
  1125. int Sector_SetRotation( int, int, int ) = 185, 1;
  1126. int Sector_SetCeilingPanning( int, int, int, int, int ) = 186, 1;
  1127. int Sector_SetFloorPanning( int, int, int, int, int ) = 187, 1;
  1128. int Sector_SetCeilingScale( int, int, int, int, int ) = 188, 1;
  1129. int Sector_SetFloorScale( int, int, int, int, int ) = 189, 1;
  1130. int Static_Init( int, int, int, int ) = 190, 0;
  1131. int SetPlayerProperty( int, int, int ) = 191, 1;
  1132. int Ceiling_LowerToHighestFloor( int, int ) = 192, 1;
  1133. int Ceiling_LowerInstant( int, int, int ) = 193, 1;
  1134. int Ceiling_RaiseInstant( int, int, int ) = 194, 1;
  1135. int Ceiling_CrushRaiseAndStayA( int, int, int, int, int = 0 ) = 195, 1;
  1136. int Ceiling_CrushAndRaiseA( int, int, int, int, int = 0 ) = 196, 1;
  1137. int Ceiling_CrushAndRaiseSilentA( int, int, int, int, int = 0 ) = 197, 1;
  1138. int Ceiling_RaiseByValueTimes8( int, int, int ) = 198, 1;
  1139. int Ceiling_LowerByValueTImes8( int, int, int ) = 199, 1;
  1140. int Generic_Floor( int, int, int, int, int ) = 200, 1;
  1141. int Generic_Ceiling( int, int, int, int, int ) = 201, 1;
  1142. int Generic_Door( int, int, int, int, int ) = 202, 1;
  1143. int Generic_Lift( int, int, int, int, int ) = 203, 1;
  1144. int Generic_Stairs( int, int, int, int, int ) = 204, 1;
  1145. int Generic_Crusher( int, int, int, int, int ) = 205, 1;
  1146. int Plat_DownWaitUpStayLip( int, int, int, int, int = 0 ) = 206, 1;
  1147. int Plat_PerpetualRaiseLip( int, int, int, int ) = 207, 1;
  1148. int TranslucentLine( int, int, int = 0 ) = 208, 1;
  1149. int Transfer_Heights( int, int ) = 209, 0;
  1150. int Transfer_FloorLight( int ) = 210, 0;
  1151. int Transfer_CeilingLight( int ) = 211, 0;
  1152. int Sector_SetColor( int, int, int, int, int = 0 ) = 212, 1;
  1153. int Sector_SetFade( int, int, int, int ) = 213, 1;
  1154. int Sector_SetDamage( int, int, int ) = 214, 1;
  1155. int Teleport_Line( int, int ) = 215, 1;
  1156. int Sector_SetGravity( int, int, int ) = 216, 1;
  1157. int Stairs_BuildUpDoom( int, int, int, int, int ) = 217, 1;
  1158. int Sector_SetWind( int, int, int, int ) = 218, 1;
  1159. int Sector_SetFriction( int, int ) = 219, 1;
  1160. int Sector_SetCurrent( int, int, int, int ) = 220, 1;
  1161. int Scroll_Texture_Both( int, int, int, int, int ) = 221, 1;
  1162. int Scroll_Texture_Model( int, int ) = 222, 0;
  1163. int Scroll_Floor( int, int, int, int ) = 223, 1;
  1164. int Scroll_Ceiling( int, int, int, int ) = 224, 1;
  1165. int Scroll_Texture_Offsets( int ) = 225, 0;
  1166. int Acs_ExecuteAlways( int, int, int = 0, int = 0, int = 0 ) = 226, 1;
  1167. int PointPush_SetForce( int, int, int, int ) = 227, 0;
  1168. int Plat_RaiseAndStayTx0( int, int, int = 0 ) = 228, 1;
  1169. int Thing_SetGoal( int, int, int, int = 0 ) = 229, 1;
  1170. int Plat_UpByValueStayTx( int, int, int ) = 230, 1;
  1171. int Plat_ToggleCeiling( int ) = 231, 1;
  1172. int Light_StrobeDoom( int, int, int ) = 232, 1;
  1173. int Light_MinNeighbor( int ) = 233, 1;
  1174. int Light_MaxNeighbor( int ) = 234, 1;
  1175. int Floor_TransferTrigger( int ) = 235, 1;
  1176. int Floor_TransferNumeric( int ) = 236, 1;
  1177. int ChangeCamera( int, int, int ) = 237, 1;
  1178. int Floor_RaiseToLowestCeiling( int, int ) = 238, 1;
  1179. int Floor_RaiseByValueTxTy( int, int, int ) = 239, 1;
  1180. int Floor_RaiseByTexture( int, int ) = 240, 1;
  1181. int Floor_LowerToLowestTxTy( int, int ) = 241, 1;
  1182. int Floor_LowerToHighest( int, int, int ) = 242, 1;
  1183. int Exit_Normal( int ) = 243, 1;
  1184. int Exit_Secret( int ) = 244, 1;
  1185. int Elevator_RaiseToNearest( int, int ) = 245, 1;
  1186. int Elevator_MoveToFloor( int, int ) = 246, 1;
  1187. int Elevator_LowerToNearest( int, int ) = 247, 1;
  1188. int HealThing( int, int = 0 ) = 248, 1;
  1189. int Door_CloseWaitOpen( int, int, int, int = 0 ) = 249, 1;
  1190. int Floor_Donut( int, int, int ) = 250, 1;
  1191. int FloorAndCeiling_LowerRaise( int, int, int, int = 0 ) = 251, 1;
  1192. int Ceiling_RaiseToNearest( int, int ) = 252, 1;
  1193. int Ceiling_LowerToLowest( int, int ) = 253, 1;
  1194. int Ceiling_LowerToFloor( int, int ) = 254, 1;
  1195. int Ceiling_CrushRaiseAndStaySilA( int, int, int, int,
  1196. int = 0 ) = 255, 1;
  1197. // Extension functions
  1198. // Tail format: -= <function-index>
  1199. int GetLineUdmfInt( int, str ) -= 1;
  1200. int GetLineUdmfFixed( int, str ) -= 2;
  1201. int GetThingUdmfInt( int, str ) -= 3;
  1202. int GetThingUdmfFixed( int, str ) -= 4;
  1203. int GetSectorUdmfInt( int, str ) -= 5;
  1204. int GetSectorUdmfFixed( int, str ) -= 6;
  1205. int GetSideUdmfInt( int, bool, str ) -= 7;
  1206. int GetSideUdmfFixed( int, bool, str ) -= 8;
  1207. int GetActorVelX( int ) -= 9;
  1208. int GetActorVelY( int ) -= 10;
  1209. int GetActorVelZ( int ) -= 11;
  1210. bool SetActivator( int, int = AAPTR_DEFAULT ) -= 12;
  1211. bool SetActivatorToTarget( int ) -= 13;
  1212. int GetActorViewHeight( int ) -= 14;
  1213. int GetChar( str, int ) -= 15;
  1214. int GetAirSupply( int ) -= 16;
  1215. bool SetAirSupply( int, int ) -= 17;
  1216. void SetSkyScrollSpeed( int, int ) -= 18;
  1217. int GetArmorType( str, int ) -= 19;
  1218. int SpawnSpotForced( str, int, int = 0, int = 0 ) -= 20;
  1219. int SpawnSpotFacingForced( str, int, int = 0 ) -= 21;
  1220. bool CheckActorProperty( int, int, int ) -= 22;
  1221. bool SetActorVelocity( int, int, int, int, bool, bool ) -= 23;
  1222. void SetUserVariable( int, str, int ) -= 24;
  1223. int GetUserVariable( int, str ) -= 25;
  1224. void Radius_Quake2( int, int, int, int, int, str ) -= 26;
  1225. bool CheckActorClass( int, str ) -= 27;
  1226. void SetUserArray( int, str, int, int ) -= 28;
  1227. int GetUserArray( int, str, int ) -= 29;
  1228. void SoundSequenceOnActor( int, str ) -= 30;
  1229. void SoundSequenceOnSector( int, str, int ) -= 31;
  1230. void SoundSequenceOnPolyobj( int, str ) -= 32;
  1231. int GetPolyobjX( int ) -= 33;
  1232. int GetPolyobjY( int ) -= 34;
  1233. bool CheckSight( int, int, int ) -= 35;
  1234. int SpawnForced( str, int, int, int, int = 0, int = 0 ) -= 36;
  1235. void AnnouncerSound( str, int ) -= 37;
  1236. bool SetPointer( int, int, int = 0, int = 0 ) -= 38;
  1237. bool Acs_NamedExecute( str, int, int = 0, int = 0, int = 0 ) -= 39;
  1238. bool Acs_NamedSuspend( str, int ) -= 40;
  1239. bool Acs_NamedTerminate( str, int ) -= 41;
  1240. bool Acs_NamedLockedExecute( str, int, int, int, int ) -= 42;
  1241. bool Acs_NamedLockedExecuteDoor( str, int, int, int, int ) -= 43;
  1242. int Acs_NamedExecuteWithResult( str, int = 0, int = 0, int = 0,
  1243. int = 0 ) -= 44;
  1244. bool Acs_NamedExecuteAlways( str, int, int = 0, int = 0, int = 0 ) -= 45;
  1245. int UniqueTid( int = 0, int = 0 ) -= 46;
  1246. bool IsTidUsed( int ) -= 47;
  1247. int Sqrt( int ) -= 48;
  1248. int FixedSqrt( int ) -= 49;
  1249. int VectorLength( int, int ) -= 50;
  1250. void SetHudClipRect( int, int, int, int, int, bool) -= 51;
  1251. void SetHudWrapWidth( int ) -= 52;
  1252. bool SetCVar( str, int ) -= 53;
  1253. int GetUserCVar( int, str ) -= 54;
  1254. bool SetUserCVar( int, str, int ) -= 55;
  1255. str GetCVarString( str ) -= 56;
  1256. bool SetCVarString( str, str ) -= 57;
  1257. str GetUserCVarString( int, str ) -= 58;
  1258. bool SetUserCVarString( int, str, str ) -= 59;
  1259. void LineAttack( int, int, int, int, str, str, int, int = 0 ) -= 60;
  1260. void PlaySound( int, str, int = 0, int = 0.0, bool = false, int = 0.0 ) -= 61;
  1261. void StopSound( int, int ) -= 62;
  1262. int Strcmp( str, str, int = 0 ) -= 63;
  1263. int Stricmp( str, str, int = 0 ) -= 64;
  1264. int Strcasecmp( str, str, int = 0 ) -= 64;
  1265. str StrLeft( str, int ) -= 65;
  1266. str StrRight( str, int ) -= 66;
  1267. str StrMid( str, int, int ) -= 67;
  1268. str GetActorClass( int ) -= 68;
  1269. str GetWeapon() -= 69;
  1270. void SoundVolume( int, int, int ) -= 70;
  1271. void PlayActorSound( int, int, int = 0, int = 0.0, bool = false,
  1272. int = 0.0 ) -= 71;
  1273. int SpawnDecal( int, str, int = 0, int = 0.0, int = 0.0, int = 0.0 ) -= 72;
  1274. bool CheckFont( str ) -= 73;
  1275. int DropItem( int, str, int = 0, int = 0 ) -= 74;
  1276. bool CheckFlag( int, str ) -= 75;
  1277. void SetLineActivation( int, int ) -= 76;
  1278. int GetLineActivation( int ) -= 77;
  1279. int GetActorPowerupTics( int, str ) -= 78;
  1280. void ChangeActorAngle( int, int, bool = false ) -= 79;
  1281. void ChangeActorPitch( int, int, bool = false ) -= 80;
  1282. int GetArmorInfo( int ) -= 81;
  1283. void DropInventory( int, str ) -= 82;
  1284. bool PickActor( int, int, int, int, int, int = MF_SHOOTABLE,
  1285. int = ML_BLOCKEVERYTHING | ML_BLOCKHITSCAN, bool = false ) -= 83;
  1286. bool IsPointerEqual( int, int, int = 0, int = 0 ) -= 84;
  1287. bool CanRaiseActor( int ) -= 85;
  1288. void SetActorTeleFog( int, str, str ) -= 86;
  1289. int SwapActorTeleFog( int ) -= 87;
  1290. void SetActorRoll( int, int ) -= 88;
  1291. void ChangeActorRoll( int, int, bool = false ) -= 89;
  1292. int GetActorRoll( int ) -= 90;
  1293. // NOTE: The default values given here are not correct. The engine already
  1294. // provides the correct values. Set the default parameters to zero so the
  1295. // compiler doesn't pass the default values. Figure out a better way to
  1296. // specify the minimum number of arguments.
  1297. bool QuakeEx( int, int, int, int, int, int, int, str, int = 0, int = 0.0,
  1298. int = 0.0, int = 0.0 ) -= 91;
  1299. bool Warp( int, int, int, int, int, int, str = "", bool = false,
  1300. int = 0.0 ) -= 92;
  1301. bool ResetMap() -= 100;
  1302. bool PlayerIsSpectator( int ) -= 101;
  1303. int ConsolePlayerNumber() -= 102;
  1304. int GetTeamProperty( int, int ) -= 103;
  1305. int GetPlayerLivesLeft( int ) -= 104;
  1306. bool SetPlayerLivesLeft( int, int ) -= 105;
  1307. bool KickFromGame( int, str ) -= 106;
  1308. int GetGamemodeState() -= 107;
  1309. void SetDBEntry( str, str, int ) -= 108;
  1310. int GetDBEntry( str, str ) -= 109;
  1311. void SetDBEntryString( str, str, str ) -= 110;
  1312. str GetDBEntryString( str, str ) -= 111;
  1313. void IncrementDBEntry( str, str, int ) -= 112;
  1314. bool PlayerIsLoggedIn( int ) -= 113;
  1315. str GetPlayerAccountName( int ) -= 114;
  1316. int SortDBEntries( str, int, int, bool ) -= 115;
  1317. int CountDBResults( int ) -= 116;
  1318. void FreeDBResults( int ) -= 117;
  1319. str GetDBResultKeyString( int, int ) -= 118;
  1320. str GetDBResultValueString( int, int ) -= 119;
  1321. int GetDBResultValue( int, int ) -= 120;
  1322. int GetDBEntryRank( str, str, bool ) -= 121;
  1323. int RequestScriptPuke( int, int = 0, int = 0, int = 0, int = 0 ) -= 122;
  1324. void BeginDBTransaction() -= 123;
  1325. void EndDBTransaction() -= 124;
  1326. int GetDBEntries( str ) -= 125;
  1327. int NamedRequestScriptPuke( str, int = 0, int = 0, int = 0, int = 0 ) -= 126;
  1328. int SystemTime() -= 127;
  1329. int GetTimeProperty( int, int, bool = false ) -= 128;
  1330. str Strftime( int, str, bool = false ) -= 129;
  1331. int GetTeamScore( int ) -= 19620;
  1332. void SetTeamScore( int, int ) -= 19621;
  1333. // Dedicated functions
  1334. // Tail format: += <opcode> , <is-latent>
  1335. void Delay( int ) += 55, 1;
  1336. int Random( int, int ) += 57, 0;
  1337. int ThingCount( int, int = 0 ) += 59, 0;
  1338. void TagWait( int ) += 61, 1;
  1339. void PolyWait( int ) += 63, 1;
  1340. void ChangeFloor( int, str ) += 65, 0;
  1341. void ChangeCeiling( int, str ) += 67, 0;
  1342. int LineSide() += 80, 0;
  1343. void ScriptWait( int ) += 81, 1;
  1344. void ClearLineSpecial() += 83, 0;
  1345. int PlayerCount() += 90, 0;
  1346. int GameType() += 91, 0;
  1347. int GameSkill() += 92, 0;
  1348. int Timer() += 93, 0;
  1349. void SectorSound( str, int ) += 94, 0;
  1350. void AmbientSound( str, int ) += 95, 0;
  1351. void SoundSequence( str ) += 96, 0;
  1352. void SetLineTexture( int, int, int, str ) += 97, 0;
  1353. void SetLineBlocking( int, int ) += 98, 0;
  1354. void SetLineSpecial( int, int, int = 0, int = 0, int = 0, int = 0,
  1355. int = 0 ) += 99, 0;
  1356. void ThingSound( int, str, int ) += 100, 0;
  1357. void ActivatorSound( str, int ) += 102, 0;
  1358. void LocalAmbientSound( str, int ) += 103, 0;
  1359. void SetLineMonsterBlocking( int, int ) += 104, 0;
  1360. bool IsMultiplayer() += 118, 0;
  1361. int PlayerTeam() += 119, 0;
  1362. int PlayerHealth() += 120, 0;
  1363. int PlayerArmorPoints() += 121, 0;
  1364. int PlayerFrags() += 122, 0;
  1365. int BlueCount() += 124, 0;
  1366. int BlueTeamCount() += 124, 0;
  1367. int RedCount() += 125, 0;
  1368. int RedTeamCount() += 125, 0;
  1369. int BlueScore() += 126, 0;
  1370. int BlueTeamScore() += 126, 0;
  1371. int RedScore() += 127, 0;
  1372. int RedTeamScore() += 127, 0;
  1373. bool IsOneFlagCtf() += 128, 0;
  1374. int GetInvasionWave() += 129, 0;
  1375. int GetInvasionState() += 130, 0;
  1376. void Music_Change( str, int ) += 132, 0;
  1377. void ConsoleCommand( str, int = 0, int = 0 ) += 134, 0;
  1378. bool SinglePlayer() += 135, 0;
  1379. int FixedMul( int, int ) += 136, 0;
  1380. int FixedDiv( int, int ) += 137, 0;
  1381. void SetGravity( int ) += 138, 0;
  1382. void SetAirControl( int ) += 140, 0;
  1383. void ClearInventory() += 142, 0;
  1384. void GiveInventory( str, int ) += 143, 0;
  1385. void TakeInventory( str, int ) += 145, 0;
  1386. int CheckInventory( str ) += 147, 0;
  1387. int Spawn( str, int, int, int, int = 0, int = 0 ) += 149, 0;
  1388. int SpawnSpot( str, int, int = 0, int = 0 ) += 151, 0;
  1389. void SetMusic( str, int = 0, int = 0 ) += 153, 0;
  1390. void LocalSetMusic( str, int = 0, int = 0 ) += 155, 0;
  1391. void SetFont( str ) += 165, 0;
  1392. void SetThingSpecial( int, int, int = 0, int = 0, int = 0, int = 0,
  1393. int = 0 ) += 180, 0;
  1394. void FadeTo( int, int, int, int, int ) += 190, 0;
  1395. void FadeRange( int, int, int, int, int, int, int, int, int ) += 191, 0;
  1396. void CancelFade() += 192, 0;
  1397. int PlayMovie( str ) += 193, 0;
  1398. void SetFloorTrigger( int, int, int, int = 0, int = 0, int = 0,
  1399. int = 0, int = 0 ) += 194, 0;
  1400. void SetCeilingTrigger( int, int, int, int = 0, int = 0, int = 0,
  1401. int = 0, int = 0 ) += 195, 0;
  1402. int GetActorX( int ) += 196, 0;
  1403. int GetActorY( int ) += 197, 0;
  1404. int GetActorZ( int ) += 198, 0;
  1405. int Sin( int ) += 220, 0;
  1406. int Cos( int ) += 221, 0;
  1407. int VectorAngle( int, int ) += 222, 0;
  1408. bool CheckWeapon( str ) += 223, 0;
  1409. bool SetWeapon( str ) += 224, 0;
  1410. void SetMarineWeapon( int, int ) += 244, 0;
  1411. void SetActorProperty( int, int, int ) += 245, 0;
  1412. int GetActorProperty( int, int ) += 246, 0;
  1413. int PlayerNumber() += 247, 0;
  1414. int ActivatorTid() += 248, 0;
  1415. void SetMarineSprite( int, str ) += 249, 0;
  1416. int GetScreenWidth() += 250, 0;
  1417. int GetScreenHeight() += 251, 0;
  1418. void Thing_Projectile2( int, int, int, int, int, int, int ) += 252, 0;
  1419. int StrLen( str ) += 253, 0;
  1420. void SetHudSize( int, int, bool ) += 254, 0;
  1421. int GetCvar( str ) += 255, 0;
  1422. void SetResultValue( int ) += 257, 0;
  1423. int GetLineRowOffset() += 258, 0;
  1424. int GetActorFloorZ( int ) += 259, 0;
  1425. int GetActorAngle( int ) += 260, 0;
  1426. int GetSectorFloorZ( int, int, int ) += 261, 0;
  1427. int GetSectorCeilingZ( int, int, int ) += 262, 0;
  1428. int GetSigilPieces() += 264, 0;
  1429. int GetLevelInfo( int ) += 265, 0;
  1430. void ChangeSky( str, str ) += 266, 0;
  1431. bool PlayerInGame( int ) += 267, 0;
  1432. bool PlayerIsBot( int ) += 268, 0;
  1433. void SetCameraToTexture( int, str, int ) += 269, 0;
  1434. int GetAmmoCapacity( str ) += 271, 0;
  1435. void SetAmmoCapacity( str, int ) += 272, 0;
  1436. void SetActorAngle( int, int ) += 276, 0;
  1437. void SpawnProjectile( int, str, int, int, int, int, int ) += 280, 0;
  1438. int GetSectorLightLevel( int ) += 281, 0;
  1439. int GetActorCeilingZ( int ) += 282, 0;
  1440. bool SetActorPosition( int, int, int, int, bool ) += 283, 0;
  1441. void ClearActorInventory( int ) += 284, 0;
  1442. void GiveActorInventory( int, str, int ) += 285, 0;
  1443. void TakeActorInventory( int, str, int ) += 286, 0;
  1444. int CheckActorInventory( int, str ) += 287, 0;
  1445. int ThingCountName( str, int ) += 288, 0;
  1446. int SpawnSpotFacing( str, int, int = 0 ) += 289, 0;
  1447. int PlayerClass( int ) += 290, 0;
  1448. int GetPlayerInfo( int, int ) += 326, 0;
  1449. void ChangeLevel( str, int, int, int = 0 ) += 327, 0;
  1450. void SectorDamage( int, int, str, str, int ) += 328, 0;
  1451. void ReplaceTextures( str, str, int = 0 ) += 329, 0;
  1452. int GetActorPitch( int ) += 331, 0;
  1453. void SetActorPitch( int, int ) += 332, 0;
  1454. int SetActorState( int, str, bool = false ) += 334, 0;
  1455. int Thing_Damage2( int, int, str ) += 335, 0;
  1456. int UseInventory( str ) += 336, 0;
  1457. int UseActorInventory( int, str ) += 337, 0;
  1458. bool CheckActorCeilingTexture( int, str ) += 338, 0;
  1459. bool CheckActorFloorTexture( int, str ) += 339, 0;
  1460. int GetActorLightLevel( int ) += 340, 0;
  1461. void SetMugShotState( str ) += 341, 0;
  1462. int ThingCountSector( str, int, int ) += 342, 0;
  1463. int ThingCountNameSector( str, int, int ) += 343, 0;
  1464. int CheckPlayerCamera( int ) += 344, 0;
  1465. int MorphActor( int, str = "", str = "", int = 0, int = 0, str = "",
  1466. str = "" ) += 345, 0;
  1467. int UnmorphActor( int, int = 0 ) += 346, 0;
  1468. int GetPlayerInput( int, int ) += 347, 0;
  1469. int ClassifyActor( int ) += 348, 0;
  1470. void NamedScriptWait( str ) += 361, 1;
  1471. // Format functions
  1472. // Tail format: *= <terminating-opcode>
  1473. void Print( {} ) *= 86;
  1474. void PrintBold( {} ) *= 101;
  1475. void HudMessage( {}, int, int, int, int, int, int, int = 0.0,
  1476. int = 0.0, int = 0.0 ) *= 161;
  1477. void HudMessageBold( {}, int, int, int, int, int, int, int = 0.0,
  1478. int = 0.0, int = 0.0 ) *= 162;
  1479. void Log( {} ) *= 270;
  1480. str StrParam( {} ) *= 352;
  1481. // Internal functions
  1482. // Tail format: /= <function-id>
  1483. void Acs_ExecuteWait( int, int = 0, int = 0, int = 0, int = 0 ) /= 0;
  1484. void Acs_NamedExecuteWait( int, int = 0, int = 0, int = 0, int = 0 ) /= 1;
  1485. }