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.

zcommon.bcs 37KB

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