diff --git a/Build/Compilers/ZDaemon/acc.cfg b/Build/Compilers/ZDaemon/acc.cfg new file mode 100755 index 00000000..c32baff6 --- /dev/null +++ b/Build/Compilers/ZDaemon/acc.cfg @@ -0,0 +1,18 @@ + +compilers +{ + // This defines what files a compiler uses + // The setting named "program" defines what .exe to run + // The "interface" setting defines what interal interface to use for processing and error feedback + // All others are the required files (the setting names do not matter) + zdaemon_acc + { + interface = "AccCompiler"; + program = "acc.exe"; + zdaemon = "zdaemon.acs"; + zcommon = "zcommon.acs"; + zdefs = "zdefs.acs"; + zspecial = "zspecial.acs"; + zwvars = "zwvars.acs"; + } +} diff --git a/Build/Compilers/ZDaemon/acc.exe b/Build/Compilers/ZDaemon/acc.exe new file mode 100755 index 00000000..c122f69b Binary files /dev/null and b/Build/Compilers/ZDaemon/acc.exe differ diff --git a/Build/Compilers/ZDaemon/zcommon.acs b/Build/Compilers/ZDaemon/zcommon.acs new file mode 100755 index 00000000..7a43ef93 --- /dev/null +++ b/Build/Compilers/ZDaemon/zcommon.acs @@ -0,0 +1,15 @@ + +//************************************************************************** +//** +//** zcommon.acs +//** +//************************************************************************** + +// If you are not using the -h command line switch and do not want to use +// WadAuthor's error checker, you can uncomment the following line to shave +// a few bytes off the size of compiled scripts. +//#nowadauthor + +#include "zspecial.acs" +#include "zdefs.acs" +#include "zwvars.acs" diff --git a/Build/Compilers/ZDaemon/zdaemon.acs b/Build/Compilers/ZDaemon/zdaemon.acs new file mode 100755 index 00000000..2fc94a50 --- /dev/null +++ b/Build/Compilers/ZDaemon/zdaemon.acs @@ -0,0 +1,89 @@ +//*************************************************************************** +//** +//** zdaemon.acs +//** +//** Definitions for ZDaemon specific ACS scripts +//** +//*************************************************************************** +//** +//** Usage for Doom Builder 2: +//** +//** - Put zdaemon.acs to your "...\Doom Builder 2\Compilers\ZDoom" folder. +//** - Edit acc.cfg in the same folder and add: zdaemon = "zdaemon.acs"; +//** to the "zdoom_acc {...}" section. +//** +//** Example: +//** zdoom_acc +//** { +//** interface = "AccCompiler"; +//** program = "acc.exe"; +//** zcommon = "zcommon.acs"; +//** zdefs = "zdefs.acs"; +//** zspecial = "zspecial.acs"; +//** zwvars = "zwvars.acs"; +//** zdaemon = "zdaemon.acs"; +//** } +//** +//** - You can also specify keywordhelp in zdaemon_acs.cfg as: +//** keywordhelp="http://www.zdaemon.org/acs_help.php?title=%K"; +//** It will give you online info about the ZDaemon extensions. +//** +//*************************************************************************** + +// ZDaemon ACSF Functions --------------------------------------------------- + +special +// -19620:GetTeamScore(1), //already defined in zspecial.acs +// -19621:SetTeamScore(2), //already defined in zspecial.acs + -19622:SetPlayerInfo(3), + -19623:PlayerTopIndex(0), + -19624:NetMode(0), + -19625:Server_Execute(1,5), + -19626:Server_ExecuteAlways(1,5), + -19627:Server_NamedExecute(1,5), + -19628:Server_NamedExecuteAlways(1,5), + -19629:Client_Execute(2,6), + -19630:Client_ExecuteAlways(2,6), + -19631:Client_NamedExecute(2,6), + -19632:Client_NamedExecuteAlways(2,6), + -19633:ZD_rand(2), + -19634:ZD_srand(1), + -19635:ZD_rand_savestate(0), + -19636:ZD_rand_restorestate(0); + +// Team specifiers you can use with GetTeamScore/SetTeamScore --------------- + +//#define TEAM_BLUE 0 //already defined in zdefs.acs +//#define TEAM_RED 1 //already defined in zdefs.acs +#define TEAM_GREEN 2 +#define TEAM_WHITE 3 + +// More Properties you can use with GetPlayerInfo/SetPlayerInfo ------------- + +#define PLAYERINFO_ITEMS 100 +#define PLAYERINFO_HEALTH 101 +#define PLAYERINFO_ARMOR 102 +#define PLAYERINFO_SECRETS 103 +#define PLAYERINFO_KILLS 104 +#define PLAYERINFO_DEATHS 105 +#define PLAYERINFO_SUICIDES 106 +#define PLAYERINFO_PTS_1 107 +#define PLAYERINFO_PTS_2 108 +#define PLAYERINFO_PTS_3 109 +#define PLAYERINFO_TIME 110 +#define PLAYERINFO_USR_1 111 +#define PLAYERINFO_USR_2 112 +#define PLAYERINFO_USR_3 113 +#define PLAYERINFO_USR_4 114 +#define PLAYERINFO_USR_5 115 +#define PLAYERINFO_USR_6 116 +#define PLAYERINFO_USR_7 117 +#define PLAYERINFO_USR_8 118 +#define PLAYERINFO_USR_9 119 +#define PLAYERINFO_USR_10 120 + +// Return values for NetMode ------------------------------------------------ + +#define NM_SINGLEPLAYER 1 +#define NM_SERVER 2 +#define NM_CLIENT 3 diff --git a/Build/Compilers/ZDaemon/zdefs.acs b/Build/Compilers/ZDaemon/zdefs.acs new file mode 100755 index 00000000..4cef9bf3 --- /dev/null +++ b/Build/Compilers/ZDaemon/zdefs.acs @@ -0,0 +1,1107 @@ +//************************************************************************** +//** +//** zdefs.acs +//** +//** Common definitions for use when compiling ACS scripts for ZDoom +//** +//************************************************************************** + +#define TRUE 1 +#define FALSE 0 +#define ON 1 +#define OFF 0 +#define YES 1 +#define NO 0 + +#define LINE_FRONT 0 +#define LINE_BACK 1 + +#define SIDE_FRONT 0 +#define SIDE_BACK 1 + +#define TEXTURE_TOP 0 +#define TEXTURE_MIDDLE 1 +#define TEXTURE_BOTTOM 2 + +// same information as combinable bit flags +#define TEXFLAG_TOP 1 +#define TEXFLAG_MIDDLE 2 +#define TEXFLAG_BOTTOM 4 +#define TEXFLAG_ADDOFFSET 8 + +#define GAME_SINGLE_PLAYER 0 +#define GAME_NET_COOPERATIVE 1 +#define GAME_NET_DEATHMATCH 2 +#define GAME_TITLE_MAP 3 + +// Classes are only useful with Hexen +#define CLASS_FIGHTER 0 +#define CLASS_CLERIC 1 +#define CLASS_MAGE 2 + +#define SKILL_VERY_EASY 0 +#define SKILL_EASY 1 +#define SKILL_NORMAL 2 +#define SKILL_HARD 3 +#define SKILL_VERY_HARD 4 + +#define BLOCK_NOTHING 0 +#define BLOCK_CREATURES 1 +#define BLOCK_EVERYTHING 2 +#define BLOCK_RAILING 3 +#define BLOCK_PLAYERS 4 + +#define SCROLL 0 +#define CARRY 1 +#define SCROLL_AND_CARRY 2 + +// Means-of-death for Sector_SetDamage -------------------------------------- + +#define MOD_UNKNOWN 0 +#define MOD_ROCKET 5 +#define MOD_R_SPLASH 6 +#define MOD_PLASMARIFLE 7 +#define MOD_BFG_BOOM 8 +#define MOD_BFG_SPLASH 9 +#define MOD_CHAINSAW 10 +#define MOD_SSHOTGUN 11 +#define MOD_WATER 12 +#define MOD_SLIME 13 +#define MOD_LAVA 14 +#define MOD_CRUSH 15 +#define MOD_TELEFRAG 16 +#define MOD_FALLING 17 +#define MOD_SUICIDE 18 +#define MOD_BARREL 19 +#define MOD_EXIT 20 +#define MOD_SPLASH 21 +#define MOD_HIT 22 +#define MOD_RAILGUN 23 +#define MOD_ICE 24 +#define MOD_DISINTEGRATE 25 +#define MOD_POISON 26 +#define MOD_ELECTRIC 27 + +// Return values for PlayMovie ---------------------------------------------- + +#define MOVIE_Played 0 +#define MOVIE_Played_NoVideo 1 +#define MOVIE_Played_Aborted 2 +#define MOVIE_Failed -1 + + +// Player properties -------------------------------------------------------- + +#define PROP_FROZEN 0 +#define PROP_NOTARGET 1 +#define PROP_INSTANTWEAPONSWITCH 2 +#define PROP_FLY 3 +#define PROP_TOTALLYFROZEN 4 +#define PROP_BUDDHA 16 + +// The following properties correspond to powers given by certain items +#define PROP_INVULNERABILITY 5 +#define PROP_STRENGTH 6 +#define PROP_INVISIBILITY 7 +#define PROP_RADIATIONSUIT 8 +#define PROP_ALLMAP 9 +#define PROP_INFRARED 10 +#define PROP_WEAPONLEVEL2 11 +#define PROP_FLIGHT 12 +#define PROP_SPEED 15 + +// Player input ------------------------------------------------------------- + +// These are the original inputs sent by the player. +#define INPUT_OLDBUTTONS 0 +#define INPUT_BUTTONS 1 +#define INPUT_PITCH 2 +#define INPUT_YAW 3 +#define INPUT_ROLL 4 +#define INPUT_FORWARDMOVE 5 +#define INPUT_SIDEMOVE 6 +#define INPUT_UPMOVE 7 + +// These are the inputs, as modified by P_PlayerThink(). +// Most of the time, these will match the original inputs, but +// they can be different if a player is frozen or using a +// chainsaw. +#define MODINPUT_OLDBUTTONS 8 +#define MODINPUT_BUTTONS 9 +#define MODINPUT_PITCH 10 +#define MODINPUT_YAW 11 +#define MODINPUT_ROLL 12 +#define MODINPUT_FORWARDMOVE 13 +#define MODINPUT_SIDEMOVE 14 +#define MODINPUT_UPMOVE 15 + +// Player buttons ----------------------------------------------------------- + +#define BT_ATTACK 1 +#define BT_USE 2 +#define BT_JUMP 4 +#define BT_CROUCH 8 +#define BT_TURN180 16 +#define BT_ALTATTACK 32 +#define BT_RELOAD 64 +#define BT_ZOOM 128 + +#define BT_SPEED 256 +#define BT_STRAFE 512 + +#define BT_MOVERIGHT 1024 +#define BT_MOVELEFT 2048 +#define BT_BACK 4096 +#define BT_FORWARD 8192 +#define BT_RIGHT 16384 +#define BT_LEFT 32768 +#define BT_LOOKUP 65536 +#define BT_LOOKDOWN 131072 +#define BT_MOVEUP 262144 +#define BT_MOVEDOWN 524288 +#define BT_SHOWSCORES 1048576 + +// Do whatever you want with these. +#define BT_USER1 2097152 +#define BT_USER2 4194304 +#define BT_USER3 8388608 +#define BT_USER4 16777216 + +// Text colors -------------------------------------------------------------- + +#define CR_UNTRANSLATED -1 +#define CR_BRICK 0 +#define CR_TAN 1 +#define CR_GRAY 2 +#define CR_GREY 2 +#define CR_GREEN 3 +#define CR_BROWN 4 +#define CR_GOLD 5 +#define CR_RED 6 +#define CR_BLUE 7 +#define CR_ORANGE 8 +#define CR_WHITE 9 +#define CR_YELLOW 10 +#define CR_BLACK 12 +#define CR_LIGHTBLUE 13 +#define CR_CREAM 14 +#define CR_OLIVE 15 +#define CR_DARKGREEN 16 +#define CR_DARKRED 17 +#define CR_DARKBROWN 18 +#define CR_PURPLE 19 +#define CR_DARKGRAY 20 +#define CR_DARKGREY 20 +#define CR_CYAN 21 + +// HUD message types -------------------------------------------------------- + +#define HUDMSG_PLAIN 0 +#define HUDMSG_FADEOUT 1 +#define HUDMSG_TYPEON 2 +#define HUDMSG_FADEINOUT 3 + +// OR this with one of the above to log the hudmessage to the console. +// i.e. instead of HUDMSG_PLAIN, you can use HUDMSG_PLAIN | HUDMSG_LOG +#define HUDMSG_LOG 0x80000000 + +// OR this with one of the above if the color you passed is a string +// instead of one of the CR_ constants. +#define HUDMSG_COLORSTRING 0x40000000 + +// OR this with one of the above to use additive blending when drawing the +// HUD message. +#define HUDMSG_ADDBLEND 0x20000000 + +// OR this with one of the above to use the extra alpha parameter +#define HUDMSG_ALPHA 0x10000000 + +// Or this with one of the above to not wrap lines +#define HUDMSG_NOWRAP 0x08000000 + +// HUD message layers; these are not flags +#define HUDMSG_LAYER_OVERHUD 0x00000000 +#define HUDMSG_LAYER_UNDERHUD 0x00001000 +#define HUDMSG_LAYER_OVERMAP 0x00002000 + +// HUD message visibility flags +#define HUDMSG_NOTWITH3DVIEW 0x00010000 +#define HUDMSG_NOTWITHFULLMAP 0x00020000 +#define HUDMSG_NOTWITHOVERLAYMAP 0x00040000 + + +// "Scripted" Marine weapon types ------------------------------------------- + +#define MARINEWEAPON_Dummy 0 +#define MARINEWEAPON_Fist 1 +#define MARINEWEAPON_BerserkFist 2 +#define MARINEWEAPON_Chainsaw 3 +#define MARINEWEAPON_Pistol 4 +#define MARINEWEAPON_Shotgun 5 +#define MARINEWEAPON_SuperShotgun 6 +#define MARINEWEAPON_Chaingun 7 +#define MARINEWEAPON_RocketLauncher 8 +#define MARINEWEAPON_PlasmaRifle 9 +#define MARINEWEAPON_Railgun 10 +#define MARINEWEAPON_BFG 11 + +// Actor properties you can get/set ----------------------------------------- + +#define APROP_Health 0 +#define APROP_Speed 1 +#define APROP_Damage 2 +#define APROP_Alpha 3 +#define APROP_RenderStyle 4 +#define APROP_SeeSound 5 // Sounds can only be set, not gotten +#define APROP_AttackSound 6 +#define APROP_PainSound 7 +#define APROP_DeathSound 8 +#define APROP_ActiveSound 9 +#define APROP_Ambush 10 +#define APROP_Invulnerable 11 +#define APROP_JumpZ 12 +#define APROP_ChaseGoal 13 +#define APROP_Frightened 14 +#define APROP_Gravity 15 +#define APROP_Friendly 16 +#define APROP_SpawnHealth 17 +#define APROP_Dropped 18 +#define APROP_Notarget 19 +#define APROP_Species 20 +#define APROP_Nametag 21 +#define APROP_Score 22 +#define APROP_Notrigger 23 +#define APROP_DamageFactor 24 +#define APROP_MasterTID 25 +#define APROP_TargetTID 26 +#define APROP_TracerTID 27 +#define APROP_Waterlevel 28 +#define APROP_ScaleX 29 +#define APROP_ScaleY 30 +#define APROP_Dormant 31 +#define APROP_Mass 32 +#define APROP_Accuracy 33 +#define APROP_Stamina 34 +#define APROP_Height 35 +#define APROP_Radius 36 +#define APROP_Reactiontime 37 +#define APROP_MeleeRange 38 +#define APROP_ViewHeight 39 +#define APROP_AttackZOffset 40 +#define APROP_StencilColor 41 +#define APROP_Friction 42 +#define APROP_DamageMultiplier 43 +#define APROP_MaxStepHeight 44 +#define APROP_MaxDropOffHeight 45 +#define APROP_DamageType 46 + +// Render Styles ------------------------------------------------------------ + +#define STYLE_None 0 // Do not draw +#define STYLE_Normal 1 // Normal; just copy the image to the screen +#define STYLE_Fuzzy 2 // Draw silhouette using "fuzz" effect +#define STYLE_SoulTrans 3 // Draw translucent with amount in r_transsouls +#define STYLE_OptFuzzy 4 // Draw as fuzzy, translucent or shadow, based on user preference +#define STYLE_Stencil 5 // Draw as solid color +#define STYLE_AddStencil 6 // Draw as additive solid color +#define STYLE_AddShaded 7 // +#define STYLE_Translucent 64 // Draw translucent +#define STYLE_Add 65 // Draw additive +#define STYLE_Shaded 66 // +#define STYLE_TranslucentStencil 67 +#define STYLE_Shadow 68 // Draw dark translucent stencil +#define STYLE_Subtract 69 // Draw subtractive + +// Properties you can use with GetLevelInfo() ------------------------------- + +#define LEVELINFO_PAR_TIME 0 +#define LEVELINFO_CLUSTERNUM 1 +#define LEVELINFO_LEVELNUM 2 +#define LEVELINFO_TOTAL_SECRETS 3 +#define LEVELINFO_FOUND_SECRETS 4 +#define LEVELINFO_TOTAL_ITEMS 5 +#define LEVELINFO_FOUND_ITEMS 6 +#define LEVELINFO_TOTAL_MONSTERS 7 +#define LEVELINFO_KILLED_MONSTERS 8 +#define LEVELINFO_SUCK_TIME 9 + +// Properties you can use with GetPlayerInfo() ------------------------------ + +#define PLAYERINFO_TEAM 0 +#define PLAYERINFO_AIMDIST 1 +#define PLAYERINFO_COLOR 2 +#define PLAYERINFO_GENDER 3 +#define PLAYERINFO_NEVERSWITCH 4 +#define PLAYERINFO_MOVEBOB 5 +#define PLAYERINFO_STILLBOB 6 +#define PLAYERINFO_PLAYERCLASS 7 +#define PLAYERINFO_FOV 8 +#define PLAYERINFO_DESIREDFOV 9 + + +// Flags for ReplaceTextures ------------------------------------------------ + +#define NOT_BOTTOM 1 +#define NOT_MIDDLE 2 +#define NOT_TOP 4 +#define NOT_FLOOR 8 +#define NOT_CEILING 16 + +// Flags for SectorDamage --------------------------------------------------- + +#define DAMAGE_PLAYERS 1 +#define DAMAGE_NONPLAYERS 2 +#define DAMAGE_IN_AIR 4 +#define DAMAGE_SUBCLASSES_PROTECT 8 + +// Flags for MorphActor ----------------------------------------------------- + +#define MRF_OLDEFFECTS 0x00000000 +#define MRF_ADDSTAMINA 0x00000001 +#define MRF_FULLHEALTH 0x00000002 +#define MRF_UNDOBYTOMEOFPOWER 0x00000004 +#define MRF_UNDOBYCHAOSDEVICE 0x00000008 +#define MRF_FAILNOTELEFRAG 0x00000010 +#define MRF_FAILNOLAUGH 0x00000020 +#define MRF_WHENINVULNERABLE 0x00000040 +#define MRF_LOSEACTUALWEAPON 0x00000080 +#define MRF_NEWTIDBEHAVIOUR 0x00000100 +#define MRF_UNDOBYDEATH 0x00000200 +#define MRF_UNDOBYDEATHFORCED 0x00000400 +#define MRF_UNDOBYDEATHSAVES 0x00000800 +#define MRF_UNDOALWAYS 0x00001000 +#define MRF_TRANSFERTRANSLATION 0x00002000 + +// Shared spawnable things from Hexen. You can spawn these in the other ----- +// games if you provide sprites for them, otherwise they'll be invisible. --- + +#define T_ROCK1 41 +#define T_ROCK2 42 +#define T_ROCK3 43 +#define T_DIRT1 44 +#define T_DIRT2 45 +#define T_DIRT3 46 +#define T_DIRT4 47 +#define T_DIRT5 48 +#define T_DIRT6 49 +#define T_STAINEDGLASS1 54 +#define T_STAINEDGLASS2 55 +#define T_STAINEDGLASS3 56 +#define T_STAINEDGLASS4 57 +#define T_STAINEDGLASS5 58 +#define T_STAINEDGLASS6 59 +#define T_STAINEDGLASS7 60 +#define T_STAINEDGLASS8 61 +#define T_STAINEDGLASS9 62 +#define T_STAINEDGLASS0 63 + +// Doom Spawnable things (used for thingcount() and thing spawners) --------- + +#define T_NONE 0 +#define T_SHOTGUY 1 +#define T_CHAINGUY 2 +#define T_BARON 3 +#define T_ZOMBIE 4 +#define T_IMP 5 +#define T_ARACHNOTRON 6 +#define T_SPIDERMASTERMIND 7 +#define T_DEMON 8 +#define T_SPECTRE 9 +#define T_IMPFIREBALL 10 +#define T_CLIP 11 +#define T_SHELLS 12 +#define T_CACODEMON 19 +#define T_REVENANT 20 +#define T_BRIDGE 21 +#define T_ARMORBONUS 22 +#define T_STIMPACK 23 +#define T_MEDKIT 24 +#define T_SOULSPHERE 25 +#define T_SHOTGUN 27 +#define T_CHAINGUN 28 +#define T_ROCKETLAUNCHER 29 +#define T_PLASMAGUN 30 +#define T_BFG 31 +#define T_CHAINSAW 32 +#define T_SUPERSHOTGUN 33 +#define T_PLASMABOLT 51 +#define T_TRACER 53 +#define T_GREENARMOR 68 +#define T_BLUEARMOR 69 +#define T_CELL 75 +#define T_BLUEKEYCARD 85 +#define T_REDKEYCARD 86 +#define T_YELLOWKEYCARD 87 +#define T_YELLOWSKULLKEY 88 +#define T_REDSKULLKEY 89 +#define T_BLUESKULLKEY 90 +#define T_TEMPLARGEFLAME 98 +#define T_STEALTHBARON 100 +#define T_STEALTHKNIGHT 101 +#define T_STEALTHZOMBIE 102 +#define T_STEALTHSHOTGUY 103 + +#define T_LOSTSOUL 110 +#define T_VILE 111 +#define T_MANCUBUS 112 +#define T_HELLKNIGHT 113 +#define T_CYBERDEMON 114 +#define T_PAINELEMENTAL 115 +#define T_WOLFSS 116 +#define T_STEALTHARACHNOTRON 117 +#define T_STEALTHVILE 118 +#define T_STEALTHCACODEMON 119 +#define T_STEALTHCHAINGUY 120 +#define T_STEALTHSERGEANT 121 +#define T_STEALTHIMP 122 +#define T_STEALTHMANCUBUS 123 +#define T_STEALTHREVENANT 124 +#define T_BARREL 125 +#define T_CACODEMONSHOT 126 +#define T_ROCKET 127 +#define T_BFGSHOT 128 +#define T_ARACHNOTRONPLASMA 129 +#define T_BLOOD 130 +#define T_PUFF 131 +#define T_MEGASPHERE 132 +#define T_INVULNERABILITY 133 +#define T_BERSERK 134 +#define T_INVISIBILITY 135 +#define T_IRONFEET 136 +#define T_COMPUTERMAP 137 +#define T_LIGHTAMP 138 +#define T_AMMOBOX 139 +#define T_ROCKETAMMO 140 +#define T_ROCKETBOX 141 +#define T_BATTERY 142 +#define T_SHELLBOX 143 +#define T_BACKPACK 144 +#define T_GUTS 145 +#define T_BLOODPOOL 146 +#define T_BLOODPOOL1 147 +#define T_BLOODPOOL2 148 +#define T_FLAMINGBARREL 149 +#define T_BRAINS 150 +#define T_SCRIPTEDMARINE 151 +#define T_HEALTHBONUS 152 +#define T_MANCUBUSSHOT 153 +#define T_BARONBALL 154 + +// Heretic Spawnable things (used for thingcount() and thing spawners) ------ + +#define T_CLINK 1 +#define T_MUMMYLEADER 2 +#define T_BEAST 3 +#define T_MUMMY 4 +//#define T_IMP 5 // Defined above +#define T_KNIGHT 6 +#define T_IMPLEADER 7 +#define T_MUMMYGHOST 8 +#define T_MUMMYLEADERGHOST 9 +//#define T_IMPFIREBALL 10 +#define T_WIMPYWANDAMMO 11 +#define T_HEFTYWANDAMMO 12 +#define T_ITEMEGG 14 +#define T_ITEMFLIGHT 15 +#define T_ITEMTELEPORT 18 +#define T_WIZARD 19 +#define T_IRONLICH 20 +#define T_ITEMHEALTHPOTION 23 +#define T_ITEMHEALTHFLASH 24 // incorrect name but keep it for compatibility +#define T_ITEMHEALTHFLASK 24 +#define T_ITEMHEALTHFULL 25 +#define T_CROSSBOW 27 +#define T_BLASTER 28 +#define T_PHOENIXROD 29 +#define T_SKULLROD 30 +#define T_MACE 31 +#define T_GAUNTLETS 32 +#define T_WIMPYCROSSBOWAMMO 33 +#define T_HEFTYCROSSBOWAMMO 34 +#define T_WIMPYMACEAMMO 35 +#define T_HEFTYMACEAMMO 36 +#define T_WIMPYBLASTERAMMO 37 +#define T_HEFTYBLASTERAMMO 38 +#define T_MORPHBLAST 40 +#define T_SHIELD1 68 +#define T_SHIELD2 69 +#define T_ITEMTIMEBOMB 72 +#define T_ITEMTORCH 73 +#define T_BLUEKEY 85 +#define T_GREENKEY 86 +#define T_YELLOWKEY 87 + +#define T_SOUND_WIND 110 +#define T_SOUND_WATERFALL 111 + +#define T_BEASTBALL 120 +#define T_FEATHER 121 +#define T_CHICKEN 122 +#define T_VOLCANOBALL 123 +#define T_TINYVOLCANOBALL 124 +#define T_POD 125 +#define T_PODGENERATOR 126 +#define T_KNIGHTAXE 127 +#define T_KNIGHTBLOODAXE 128 +#define T_KNIGHTGHOST 129 +#define T_MUMMYHEAD 131 +#define T_SNAKE 132 +#define T_ITEMINVULNERABILITY 133 +#define T_ITEMTOME 134 +#define T_ITEMINVISIBILITY 135 +#define T_ITEMBAGOFHOLDING 136 +#define T_ITEMALLMAP 137 +#define T_SNAKEPROJECTILE 138 +#define T_SNAKEPROJECTILEBIG 139 +#define T_WIZARDSHOT 140 + +#define T_DSPARILTELEPORTDEST 141 +#define T_DSPARILONSERPENT 142 +#define T_DSPARILALONE 143 +#define T_SERPENTFIREBALL 144 +#define T_DSPARILBLUESHOT 145 +#define T_DSPARILWIZARDSPAWNER 146 + +#define T_CROSSBOWMAINBLAST 147 +#define T_CROSSBOWMINIBLAST 148 +#define T_CROSSBOWPOWERBLAST 149 +#define T_VOLCANO 150 +#define T_POWERWANDMINIBLAST 151 +#define T_POWERWANDBIGGERBLAST 152 +#define T_DEATHBALL 153 +#define T_NOGRAVITYMACEBALL 154 +#define T_BOUNCYMACEBALL 155 +#define T_HEAVYMACEBALL 156 +#define T_RIPPER 157 +#define T_WIMPYSKULLRODAMMO 158 +#define T_HEFTYSKULLRODAMMO 159 +#define T_SKULLRODBLAST 160 +#define T_WIMPYPHOENIXRODAMMO 161 +#define T_HEFTYPHOENIXRODAMMO 162 +#define T_PHOENIXSHOT 163 +#define T_IRONLICHBLUESHOT 164 +#define T_WHIRLWIND 165 +#define T_REDTELEGLITTER 166 +#define T_BLUETELEGLITTER 167 + +// Hexen Spawnable things (used for thingcount() and thing spawners) ------ + +#define T_CENTAUR 1 +#define T_CENTAURLEADER 2 +#define T_DEMON1 3 +#define T_ETTIN 4 +#define T_FIREGARGOYLE 5 +#define T_WATERLURKER 6 +#define T_WATERLURKERLEADER 7 +#define T_WRAITH 8 +#define T_WRAITHBURIED 9 +#define T_FIREBALL1 10 +#define T_MANA1 11 +#define T_MANA2 12 +#define T_ITEMBOOTS 13 +#define T_ITEMPORK 14 +#define T_ITEMSUMMON 16 +#define T_ITEMTPORTOTHER 17 +#define T_BISHOP 19 +#define T_ICEGOLEM 20 +#define T_DRAGONSKINBRACERS 22 +#define T_ITEMBOOSTMANA 26 +#define T_FIGHTERAXE 27 +#define T_FIGHTERHAMMER 28 +#define T_FIGHTERSWORD1 29 +#define T_FIGHTERSWORD2 30 +#define T_FIGHTERSWORD3 31 +#define T_CLERICSTAFF 32 +#define T_CLERICHOLY1 33 +#define T_CLERICHOLY2 34 +#define T_CLERICHOLY3 35 +#define T_MAGESHARDS 36 +#define T_MAGESTAFF1 37 +#define T_MAGESTAFF2 38 +#define T_MAGESTAFF3 39 +#define T_ARROW 50 +#define T_DART 51 +#define T_POISONDART 52 +#define T_RIPPERBALL 53 +#define T_BLADE 64 +#define T_ICESHARD 65 +#define T_FLAME_SMALL 66 +#define T_FLAME_LARGE 67 +#define T_MESHARMOR 68 +#define T_FALCONSHIELD 69 +#define T_PLATINUMHELM 70 +#define T_AMULETOFWARDING 71 +#define T_ITEMFLECHETTE 72 +#define T_ITEMREPULSION 74 +#define T_MANA3 75 +#define T_PUZZSKULL 76 +#define T_PUZZGEMBIG 77 +#define T_PUZZGEMRED 78 +#define T_PUZZGEMGREEN1 79 +#define T_PUZZGEMGREEN2 80 +#define T_PUZZGEMBLUE1 81 +#define T_PUZZGEMBLUE2 82 +#define T_PUZZBOOK1 83 +#define T_PUZZBOOK2 84 +#define T_METALKEY 85 +#define T_SMALLMETALKEY 86 +#define T_AXEKEY 87 +#define T_FIREKEY 88 +#define T_EMERALDKEY 89 +#define T_MACEKEY 90 +#define T_SILVERKEY 91 +#define T_RUSTYKEY 92 +#define T_HORNKEY 93 +#define T_SERPENTKEY 94 +#define T_WATERDRIP 95 +#define T_TEMPSMALLFLAME 96 +#define T_PERMSMALLFLAME 97 +#define T_PERMLARGEFLAME 99 +#define T_DEMON_MASH 100 +#define T_DEMON2_MASH 101 +#define T_ETTIN_MASH 102 +#define T_CENTAUR_MASH 103 +#define T_THRUSTSPIKEUP 104 +#define T_THRUSTSPIKEDOWN 105 +#define T_FLESH_DRIP1 106 +#define T_FLESH_DRIP2 107 +#define T_SPARK_DRIP 108 + + +// Flags returned by ClassifyActor + +#define ACTOR_NONE 0 +#define ACTOR_WORLD 1 +#define ACTOR_PLAYER 2 +#define ACTOR_BOT 4 +#define ACTOR_VOODOODOLL 8 +#define ACTOR_MONSTER 16 +#define ACTOR_ALIVE 32 +#define ACTOR_DEAD 64 +#define ACTOR_MISSILE 128 +#define ACTOR_GENERIC 256 + + +// Physical volumes for SoundSequenceOnSector + +#define SECSEQ_FLOOR 1 +#define SECSEQ_CEILING 2 +#define SECSEQ_FULLHEIGHT 3 +#define SECSEQ_INTERIOR 4 + +// Channels for PlaySound and StopSound + +#define CHAN_AUTO 0 +#define CHAN_WEAPON 1 +#define CHAN_VOICE 2 +#define CHAN_ITEM 3 +#define CHAN_BODY 4 +#define CHAN_5 5 +#define CHAN_6 6 +#define CHAN_7 7 + +// Modifier flags for PlaySound + +#define CHAN_LISTENERZ 8 +#define CHAN_MAYBE_LOCAL 16 +#define CHAN_UI 32 +#define CHAN_NOPAUSE 64 + +// Standard attenuation values for PlaySound + +#define ATTN_NONE 0 // full volume the entire level +#define ATTN_NORM 1.0 +#define ATTN_IDLE 1.001 +#define ATTN_STATIC 3.0 // dimish very rapidly with distance + +// Identifiers for PlayActorSound + +#define SOUND_See 0 +#define SOUND_Attack 1 +#define SOUND_Pain 2 +#define SOUND_Death 3 +#define SOUND_Active 4 +#define SOUND_Use 5 +#define SOUND_Bounce 6 +#define SOUND_WallBounce 7 +#define SOUND_CrushPain 8 +#define SOUND_Howl 9 + +// Flags for SpawnDecal + +#define SDF_ABSANGLE 1 +#define SDF_PERMANENT 2 + +// Actor pointer selectors + +#DEFINE AAPTR_DEFAULT 0 +#DEFINE AAPTR_NULL 0x1 +#DEFINE AAPTR_TARGET 0x2 +#DEFINE AAPTR_MASTER 0x4 +#DEFINE AAPTR_TRACER 0x8 + +#DEFINE AAPTR_PLAYER_GETTARGET 0x10 +#DEFINE AAPTR_PLAYER_GETCONVERSATION 0x20 + +#DEFINE AAPTR_PLAYER1 0x40 +#DEFINE AAPTR_PLAYER2 0x80 +#DEFINE AAPTR_PLAYER3 0x100 +#DEFINE AAPTR_PLAYER4 0x200 +#DEFINE AAPTR_PLAYER5 0x400 +#DEFINE AAPTR_PLAYER6 0x800 +#DEFINE AAPTR_PLAYER7 0x1000 +#DEFINE AAPTR_PLAYER8 0x2000 + +#DEFINE AAPTR_FRIENDPLAYER 0x4000 +#DEFINE AAPTR_GET_LINETARGET 0x8000 + +// Actor pointer operation flags + +#DEFINE PTROP_UNSAFETARGET 1 +#DEFINE PTROP_UNSAFEMASTER 2 +#DEFINE PTROP_NOSAFEGUARDS PTROP_UNSAFETARGET |PTROP_UNSAFEMASTER + +// Line activation flags + +#define SPAC_Cross 1 // when player crosses line +#define SPAC_Use 2 // when player uses line +#define SPAC_MCross 4 // when monster crosses line +#define SPAC_Impact 8 // when projectile hits line +#define SPAC_Push 16 // when player pushes line +#define SPAC_PCross 32 // when projectile crosses line +#define SPAC_UseThrough 64 // when player uses line (doesn't block) +#define SPAC_AnyCross 128 // when anything without the TELEPORT flag crosses the line +#define SPAC_MUse 256 // monsters can use +#define SPAC_MPush 512 // monsters can push +#define SPAC_UseBack 1024 // can be used from the back side + +#define SPAC_None 0 + +// GetArmorInfo + +#define ARMORINFO_CLASSNAME 0 +#define ARMORINFO_SAVEAMOUNT 1 +#define ARMORINFO_SAVEPERCENT 2 +#define ARMORINFO_MAXABSORB 3 +#define ARMORINFO_MAXFULLABSORB 4 +#define ARMORINFO_ACTUALSAVEAMOUNT 5 + +// ========================================================================== +// Skulltag Definitions +// ========================================================================== + +// Skulltag Teams ----------------------------------------------------------- +#define TEAM_BLUE 0 +#define TEAM_RED 1 +#define NO_TEAM 2 + +// Team properties ---------------------------------------------------------- +#define TPROP_Name 0 +#define TPROP_Score 1 +#define TPROP_IsValid 2 +#define TPROP_NumPlayers 3 +#define TPROP_NumLivePlayers 4 +#define TPROP_TextColor 5 +#define TPROP_PlayerStartNum 6 +#define TPROP_Spread 7 +#define TPROP_Carrier 8 +#define TPROP_Assister 9 +#define TPROP_FragCount 10 +#define TPROP_DeathCount 11 +#define TPROP_WinCount 12 +#define TPROP_PointCount 13 +#define TPROP_ReturnTics 14 +#define TPROP_TeamItem 15 +#define TPROP_WinnerTheme 16 +#define TPROP_LoserTheme 17 + +// Skulltag Invasion -------------------------------------------------------- +#define IS_WAITINGFORPLAYERS 0 +#define IS_FIRSTCOUNTDOWN 1 +#define IS_INPROGRESS 2 +#define IS_BOSSFIGHT 3 +#define IS_WAVECOMPLETE 4 +#define IS_COUNTDOWN 5 + + +#define T_GRENADE 216 +#define T_BFG10KSHOT 217 +#define T_DARKIMPFIREBALL 218 +#define T_CACOLANTERNSHOT 219 +#define T_ABADDONSHOT 221 + +// Skulltag Monsters -------------------------------------------------------- +#define T_DARKIMP 155 +#define T_BLOODDEMON 156 +#define T_SSGGUY 157 +#define T_HECTEBUS 158 +#define T_CACOLANTERN 159 +#define T_BELPHEGOR 215 +#define T_ABADDON 220 + +// Skulltag Weapons --------------------------------------------------------- +#define T_PISTOL 162 +#define T_GRENADELAUNCHER 163 +#define T_RAILGUN 164 +#define T_BFG10000 165 +#define T_MINIGUN 214 + +// Skulltag Armor/Health Items ---------------------------------------------- +#define T_MAXHEALTHBONUS 166 +#define T_MAXARMORBONUS 167 +#define T_REDARMOR 168 + +// Skulltag Powerups -------------------------------------------------------- +#define T_TURBOSPHERE 169 +#define T_ANTIGRAVBELT 170 +#define T_TIMEFREEZER 171 +#define T_INFRAGOGGLES 172 +#define T_INFRATRACKER 173 +#define T_TRANSLUCENCY 174 +#define T_DOOMSPHERE 175 +#define T_RANDOMPOWERUP 176 + +// Skulltag Flags ----------------------------------------------------------- +#define T_BLUEFLAG 177 +#define T_REDFLAG 178 +#define T_WHITEFLAG 179 + +// Skulltag Runes ----------------------------------------------------------- +#define T_STRENGTH 180 +#define T_RAGE 181 +#define T_DRAIN 182 +#define T_SPREAD 183 +#define T_RESISTANCE 184 +#define T_REGENERATION 185 +#define T_PROSPERITY 186 +#define T_REFLECTION 187 +#define T_HIGHJUMP 188 +#define T_HASTE 189 + +// Zandronum database additions --------------------------------------------- +#define DB_ORDER_ASC 0 +#define DB_ORDER_DESC 1 + +// Events when you have input grabbed + +#define EV_KeyDown 1 // data1: unshifted ASCII, data2: shifted ASCII +#define EV_KeyRepeat 2 // data1: unshifted ASCII, data2: shifted ASCII +#define EV_KeyUp 3 // data1: unshifted ASCII, data2: shifted ASCII +#define EV_Char 4 // data1: translated character for text input +#define EV_MouseMove 5 // data1: x, data2: y +#define EV_LButtonDown 6 +#define EV_LButtonUp 7 +#define EV_LButtonDblClick 8 +#define EV_MButtonDown 9 +#define EV_MButtonUp 10 +#define EV_MButtonDblClick 11 +#define EV_RButtonDown 12 +#define EV_RButtonUp 13 +#define EV_RButtonDblClick 14 +#define EV_WheelDown 15 +#define EV_WheelUp 16 + +// Key modifiers (or'd with event type) + +#define GKM_SHIFT 256 +#define GKM_CTRL 512 +#define GKM_ALT 1024 + +// Button modifiers are only valid for EV_MouseMove events + +#define GKM_LBUTTON 2048 +#define GKM_MBUTTON 4096 +#define GKM_RBUTTON 8192 + +// Special codes for some GUI keys, including a few real ASCII codes. + +#define GK_PGDN 1 +#define GK_PGUP 2 +#define GK_HOME 3 +#define GK_END 4 +#define GK_LEFT 5 +#define GK_RIGHT 6 +#define GK_ALERT 7 // ASCII bell +#define GK_BACKSPACE 8 // ASCII +#define GK_TAB 9 // ASCII +#define GK_LINEFEED 10 // ASCII +#define GK_DOWN 10 +#define GK_VTAB 11 // ASCII +#define GK_UP 11 +#define GK_FORMFEED 12 // ASCII +#define GK_RETURN 13 // ASCII +#define GK_F1 14 +#define GK_F2 15 +#define GK_F3 16 +#define GK_F4 17 +#define GK_F5 18 +#define GK_F6 19 +#define GK_F7 20 +#define GK_F8 21 +#define GK_F9 22 +#define GK_F10 23 +#define GK_F11 24 +#define GK_F12 25 +#define GK_DEL 26 +#define GK_ESCAPE 27 // ASCII +#define GK_FREE1 28 +#define GK_FREE2 29 +#define GK_FREE3 30 +#define GK_CESCAPE 31 // color escape + +#define CHANGELEVEL_KEEPFACING 1 +#define CHANGELEVEL_RESETINVENTORY 2 +#define CHANGELEVEL_NOMONSTERS 4 +#define CHANGELEVEL_CHANGESKILL 8 +#define CHANGELEVEL_NOINTERMISSION 16 +#define CHANGELEVEL_RESETHEALTH 32 +#define CHANGELEVEL_PRERAISEWEAPON 64 + +#define NO_CHANGE 32767.0 + +#define SECF_SILENT 1 +#define SECF_NOFALLINGDAMAGE 2 +#define SECF_FLOORDROP 4 +#define SECF_NORESPAWN 8 +#define SECF_FRICTION 16 +#define SECF_PUSH 32 +#define SECF_SILENTMOVE 64 +#define SECF_DMGTERRAINFX 128 +#define SECF_DMGENDGODMODE 256 +#define SECF_DMGENDLEVEL 512 +#define SECF_DMGHAZARD 1024 + +#define BLOCKF_CREATURES 1 +#define BLOCKF_MONSTERS 2 +#define BLOCKF_PLAYERS 4 +#define BLOCKF_FLOATERS 8 +#define BLOCKF_PROJECTILES 16 +#define BLOCKF_EVERYTHING 32 +#define BLOCKF_RAILING 64 +#define BLOCKF_USE 128 +#define BLOCKF_SIGHT 256 +#define BLOCKF_HITSCAN 512 +#define BLOCKF_SOUND 1024 + +#define FOGP_DENSITY 0 +#define FOGP_OUTSIDEDENSITY 1 +#define FOGP_SKYFOG 2 + +#define PRINTNAME_LEVELNAME -1 +#define PRINTNAME_LEVEL -2 +#define PRINTNAME_SKILL -3 + +#define CSF_NOFAKEFLOORS 1 +#define CSF_NOBLOCKALL 2 + +#define FHF_NORANDOMPUFFZ 1 +#define FHF_NOIMPACTDECAL 2 + +// PickActor flags + +#define PICKAF_FORCETID 1 +#define PICKAF_RETURNTID 2 + +// magic value to set the ice translation through ACS +#define TRANSLATION_ICE 0x100007 + +// Actor flags +#define MF_SPECIAL 0x00000001 +#define MF_SOLID 0x00000002 +#define MF_SHOOTABLE 0x00000004 +#define MF_NOSECTOR 0x00000008 +#define MF_NOBLOCKMAP 0x00000010 +#define MF_AMBUSH 0x00000020 +#define MF_JUSTHIT 0x00000040 +#define MF_JUSTATTACKED 0x00000080 +#define MF_SPAWNCEILING 0x00000100 +#define MF_NOGRAVITY 0x00000200 +#define MF_DROPOFF 0x00000400 +#define MF_PICKUP 0x00000800 +#define MF_NOCLIP 0x00001000 +#define MF_INCHASE 0x00002000 +#define MF_FLOAT 0x00004000 +#define MF_TELEPORT 0x00008000 +#define MF_MISSILE 0x00010000 +#define MF_DROPPED 0x00020000 +#define MF_SHADOW 0x00040000 +#define MF_NOBLOOD 0x00080000 +#define MF_CORPSE 0x00100000 +#define MF_INFLOAT 0x00200000 +#define MF_INBOUNCE 0x00200000 +#define MF_COUNTKILL 0x00400000 +#define MF_COUNTITEM 0x00800000 +#define MF_SKULLFLY 0x01000000 +#define MF_NOTDMATCH 0x02000000 +#define MF_SPAWNSOUNDSOURCE 0x04000000 +#define MF_FRIENDLY 0x08000000 +#define MF_UNMORPHED 0x10000000 +#define MF_NOLIFTDROP 0x20000000 +#define MF_STEALTH 0x40000000 +#define MF_ICECORPSE 0x80000000 + +// Linedef flags +#define ML_BLOCKING 0x00000001 +#define ML_BLOCKMONSTERS 0x00000002 +#define ML_TWOSIDED 0x00000004 +#define ML_DONTPEGTOP 0x00000008 +#define ML_DONTPEGBOTTOM 0x00000010 +#define ML_SECRET 0x00000020 +#define ML_SOUNDBLOCK 0x00000040 +#define ML_DONTDRAW 0x00000080 +#define ML_MAPPED 0x00000100 +#define ML_REPEAT_SPECIAL 0x00000200 +#define ML_ADDTRANS 0x00000400 +#define ML_MONSTERSCANACTIVATE 0x00002000 +#define ML_BLOCK_PLAYERS 0x00004000 +#define ML_BLOCKEVERYTHING 0x00008000 +#define ML_ZONEBOUNDARY 0x00010000 +#define ML_RAILING 0x00020000 +#define ML_BLOCK_FLOATERS 0x00040000 +#define ML_CLIP_MIDTEX 0x00080000 +#define ML_WRAP_MIDTEX 0x00100000 +#define ML_3DMIDTEX 0x00200000 +#define ML_CHECKSWITCHRANGE 0x00400000 +#define ML_FIRSTSIDEONLY 0x00800000 +#define ML_BLOCKPROJECTILE 0x01000000 +#define ML_BLOCKUSE 0x02000000 +#define ML_BLOCKSIGHT 0x04000000 +#define ML_BLOCKHITSCAN 0x08000000 + +#define QF_RELATIVE 1 +#define QF_SCALEDOWN 1 << 1 +#define QF_SCALEUP 1 << 2 +#define QF_MAX 1 << 3 +#define QF_FULLINTENSITY 1 << 4 +#define QF_WAVE 1 << 5 + +#define WARPF_ABSOLUTEOFFSET 0x1 +#define WARPF_ABSOLUTEANGLE 0x2 +#define WARPF_USECALLERANGLE 0x4 +#define WARPF_NOCHECKPOSITION 0x8 +#define WARPF_INTERPOLATE 0x10 +#define WARPF_WARPINTERPOLATION 0x20 +#define WARPF_COPYINTERPOLATION 0x40 +#define WARPF_STOP 0x80 +#define WARPF_TOFLOOR 0x100 +#define WARPF_TESTONLY 0x200 +#define WARPF_ABSOLUTEPOSITION 0x400 +#define WARPF_BOB 0x800 +#define WARPF_MOVEPTR 0x1000 +#define WARPF_USEPTR 0x2000 +#define WARPF_COPYVELOCITY 0x4000 +#define WARPF_COPYPITCH 0x8000 + +#define CPXF_ANCESTOR (1 << 0) +#define CPXF_LESSOREQUAL (1 << 1) +#define CPXF_NOZ (1 << 2) +#define CPXF_COUNTDEAD (1 << 3) +#define CPXF_DEADONLY (1 << 4) +#define CPXF_EXACT (1 << 5) +#define CPXF_SETTARGET (1 << 6) +#define CPXF_SETMASTER (1 << 7) +#define CPXF_SETTRACER (1 << 8) +#define CPXF_FARTHEST (1 << 9) +#define CPXF_CLOSEST (1 << 10) +#define CPXF_SETONPTR (1 << 11) +#define CPXF_CHECKSIGHT (1 << 12) diff --git a/Build/Compilers/ZDaemon/zspecial.acs b/Build/Compilers/ZDaemon/zspecial.acs new file mode 100755 index 00000000..f06f2eb9 --- /dev/null +++ b/Build/Compilers/ZDaemon/zspecial.acs @@ -0,0 +1,418 @@ +//************************************************************************** +//** +//** zspecials.acs +//** +//************************************************************************** + +special +// 1:Polyobj_StartLine + 2:Polyobj_RotateLeft(3), + 3:Polyobj_RotateRight(3), + 4:Polyobj_Move(4), +// 5:Polyobj_ExplicitLine + 6:Polyobj_MoveTimes8(4), + 7:Polyobj_DoorSwing(4), + 8:Polyobj_DoorSlide(5), + 9:Line_Horizon(0), + 10:Door_Close(2,3), + 11:Door_Open(2,3), + 12:Door_Raise(3,4), + 13:Door_LockedRaise(4,5), + 14:Door_Animated(3,4), + 15:Autosave(0), +// 16:Transfer_WallLight + 17:Thing_Raise(1), + 18:StartConversation(1,2), + 19:Thing_Stop(1), + 20:Floor_LowerByValue(3,4), + 21:Floor_LowerToLowest(2,3), + 22:Floor_LowerToNearest(2,3), + 23:Floor_RaiseByValue(3,5), + 24:Floor_RaiseToHighest(2,5), + 25:Floor_RaiseToNearest(2,4), + 26:Stairs_BuildDown(5), + 27:Stairs_BuildUp(5), + 28:Floor_RaiseAndCrush(3,4), + 29:Pillar_Build(3), + 30:Pillar_Open(4), + 31:Stairs_BuildDownSync(4), + 32:Stairs_BuildUpSync(4), + 33:ForceField(0), + 34:ClearForceField(1), + 35:Floor_RaiseByValueTimes8(3,5), + 36:Floor_LowerByValueTimes8(3,4), + 37:Floor_MoveToValue(3,5), + 38:Ceiling_Waggle(5), + 39:Teleport_ZombieChanger(2), + 40:Ceiling_LowerByValue(3,4), + 41:Ceiling_RaiseByValue(3,4), + 42:Ceiling_CrushAndRaise(3,4), + 43:Ceiling_LowerAndCrush(3,4), + 44:Ceiling_CrushStop(1,2), + 45:Ceiling_CrushRaiseAndStay(3,4), + 46:Floor_CrushStop(1), + 47:Ceiling_MoveToValue(3,5), +// 48:Sector_Attach3dMidtex + 49:GlassBreak(0,1), +// 50:ExtraFloor_LightOnly + 51:Sector_SetLink(4), + 52:Scroll_Wall(5), + 53:Line_SetTextureOffset(5), + 54:Sector_ChangeFlags(3), + 55:Line_SetBlocking(3), + 56:Line_SetTextureScale(5), +// 57: Sector_SetPortal +// 58: Sector_CopyScroller + 59:Polyobj_OR_MoveToSpot(3), + 60:Plat_PerpetualRaise(3), + 61:Plat_Stop(1,2), + 62:Plat_DownWaitUpStay(3), + 63:Plat_DownByValue(4), + 64:Plat_UpWaitDownStay(3), + 65:Plat_UpByValue(4), + 66:Floor_LowerInstant(3,4), + 67:Floor_RaiseInstant(3,5), + 68:Floor_MoveToValueTimes8(4,5), + 69:Ceiling_MoveToValueTimes8(4,5), + 70:Teleport(1,3), + 71:Teleport_NoFog(1,4), + 72:ThrustThing(2,4), + 73:DamageThing(1,2), + 74:Teleport_NewMap(2,3), + 75:Teleport_EndGame(0), + 76:TeleportOther(3), + 77:TeleportGroup(5), + 78:TeleportInSector(4,5), + 79:Thing_SetConversation(2), + 80:ACS_Execute(2,5), + 81:ACS_Suspend(2), + 82:ACS_Terminate(2), + 83:ACS_LockedExecute(5), + 84:ACS_ExecuteWithResult(1,5), + 85:ACS_LockedExecuteDoor(5), + 86:Polyobj_MoveToSpot(3), + 87:Polyobj_Stop(1), + 88:Polyobj_MoveTo(4), + 89:Polyobj_OR_MoveTo(4), + 90:Polyobj_OR_RotateLeft(3), + 91:Polyobj_OR_RotateRight(3), + 92:Polyobj_OR_Move(4), + 93:Polyobj_OR_MoveTimes8(4), + 94:Pillar_BuildAndCrush(4,5), + 95:FloorAndCeiling_LowerByValue(3), + 96:FloorAndCeiling_RaiseByValue(3), + 97:Ceiling_LowerAndCrushDist(3,5), + 98:Sector_SetTranslucent(3,4), + 99:Floor_RaiseAndCrushDoom(3,4), +// 100:Scroll_Texture_Left +// 101:Scroll_Texture_Right +// 102:Scroll_Texture_Up +// 103:Scroll_Texture_Down + 104:Ceiling_CrushAndRaiseSilentDist(4,5), + 105:Door_WaitRaise(4,5), + 106:Door_WaitClose(3,4), + 107:Line_SetPortalTarget(2), + + 109:Light_ForceLightning(1), + 110:Light_RaiseByValue(2), + 111:Light_LowerByValue(2), + 112:Light_ChangeToValue(2), + 113:Light_Fade(3), + 114:Light_Glow(4), + 115:Light_Flicker(3), + 116:Light_Strobe(5), + 117:Light_Stop(1), +// 118:Plane_Copy + 119:Thing_Damage(2,3), + 120:Radius_Quake(5), +// 121:Line_SetIdentification + + 125:Thing_Move(2,3), + + 127:Thing_SetSpecial(5), + 128:ThrustThingZ(4), + 129:UsePuzzleItem(0), // only for setting it on a line. Cannot be called! + 130:Thing_Activate(1), + 131:Thing_Deactivate(1), + 132:Thing_Remove(1), + 133:Thing_Destroy(1,3), + 134:Thing_Projectile(5), + 135:Thing_Spawn(3,4), + 136:Thing_ProjectileGravity(5), + 137:Thing_SpawnNoFog(3,4), + 138:Floor_Waggle(5), + 139:Thing_SpawnFacing(2,4), + 140:Sector_ChangeSound(2), + + 143:Player_RemoveItem(2), // Skulltag Functions + 144:Player_GiveItem(2), // Skulltag Functions + 145:Player_SetTeam(1), // Skulltag Functions + 152:Team_Score(2), // Skulltag Functions + 153:Team_GivePoints(3), // Skulltag Functions + 154:Teleport_NoStop(2, 3), + + 157:SetGlobalFogParameter(2), // GZDoom only! + 158:FS_Execute(1,4), + 159:Sector_SetPlaneReflection(3), // GZDoom only! +// 160:Sector_Set3DFloor +// 161:Sector_SetContents + + 168:Ceiling_CrushAndRaiseDist(3,5), + 169:Generic_Crusher2(5), + 170:Sector_SetCeilingScale2(3), + 171:Sector_SetFloorScale2(3), + 172:Plat_UpNearestWaitDownStay(3), + 173:NoiseAlert(2), + 174:SendToCommunicator(4), + 175:Thing_ProjectileIntercept(5), + 176:Thing_ChangeTID(2), + 177:Thing_Hate(2,3), + 178:Thing_ProjectileAimed(4,5), + 179:ChangeSkill(1), + 180:Thing_SetTranslation(2), +// 181:Plane_Align, + 182:Line_Mirror(0), + 183:Line_AlignCeiling(2), + 184:Line_AlignFloor(2), + 185:Sector_SetRotation(3), + 186:Sector_SetCeilingPanning(5), + 187:Sector_SetFloorPanning(5), + 188:Sector_SetCeilingScale(5), + 189:Sector_SetFloorScale(5), + 191:SetPlayerProperty(3), + 192:Ceiling_LowerToHighestFloor(2,5), + 193:Ceiling_LowerInstant(3,5), + 194:Ceiling_RaiseInstant(3,4), + 195:Ceiling_CrushRaiseAndStayA(4,5), + 196:Ceiling_CrushAndRaiseA(4,5), + 197:Ceiling_CrushAndRaiseSilentA(4,5), + 198:Ceiling_RaiseByValueTimes8(3,4), + 199:Ceiling_LowerByValueTimes8(3,4), + 200:Generic_Floor(5), + 201:Generic_Ceiling(5), + 202:Generic_Door(5), + 203:Generic_Lift(5), + 204:Generic_Stairs(5), + 205:Generic_Crusher(5), + 206:Plat_DownWaitUpStayLip(4,5), + 207:Plat_PerpetualRaiseLip(4), + 208:TranslucentLine(2,3), +// 209:Transfer_Heights, +// 210:Transfer_FloorLight, +// 211:Transfer_CeilingLight, + 212:Sector_SetColor(4,5), + 213:Sector_SetFade(4), + 214:Sector_SetDamage(3,5), + 215:Teleport_Line(2), + 216:Sector_SetGravity(3), + 217:Stairs_BuildUpDoom(5), + 218:Sector_SetWind(4), + 219:Sector_SetFriction(2), + 220:Sector_SetCurrent(4), + 221:Scroll_Texture_Both(5), +// 222:Scroll_Texture_Model, + 223:Scroll_Floor(4), + 224:Scroll_Ceiling(4), +// 225:Scroll_Texture_Offsets, + 226:ACS_ExecuteAlways(2,5), +// 227:PointPush_SetForce, + 228:Plat_RaiseAndStayTx0(2,3), + 229:Thing_SetGoal(3,4), + 230:Plat_UpByValueStayTx(3), + 231:Plat_ToggleCeiling(1), + 232:Light_StrobeDoom(3), + 233:Light_MinNeighbor(1), + 234:Light_MaxNeighbor(1), + 235:Floor_TransferTrigger(1), + 236:Floor_TransferNumeric(1), + 237:ChangeCamera(3), + 238:Floor_RaiseToLowestCeiling(2,5), + 239:Floor_RaiseByValueTxTy(3), + 240:Floor_RaiseByTexture(2,4), + 241:Floor_LowerToLowestTxTy(2), + 242:Floor_LowerToHighest(3,4), + 243:Exit_Normal(1), + 244:Exit_Secret(1), + 245:Elevator_RaiseToNearest(2), + 246:Elevator_MoveToFloor(2), + 247:Elevator_LowerToNearest(2), + 248:HealThing(1,2), + 249:Door_CloseWaitOpen(3, 4), + 250:Floor_Donut(3), + 251:FloorAndCeiling_LowerRaise(3,4), + 252:Ceiling_RaiseToNearest(2,3), + 253:Ceiling_LowerToLowest(2,4), + 254:Ceiling_LowerToFloor(2,5), + 255:Ceiling_CrushRaiseAndStaySilA(4,5), + + // These are specialized versions of the Generic_* specials which are defined for EE Extradata. + 256:Floor_LowerToHighestEE(2, 3), + 257:Floor_RaiseToLowest(2, 3), + 258:Floor_LowerToLowestCeiling(2,3), + 259:Floor_RaiseToCeiling(2, 5), + 260:Floor_ToCeilingInstant(1, 4), + 261:Floor_LowerByTexture(2, 3), + 262:Ceiling_RaiseToHighest(2, 3), + 263:Ceiling_ToHighestInstant(1, 3), + 264:Ceiling_LowerToNearest(2, 4), + 265:Ceiling_RaiseToLowest(2, 3), + 266:Ceiling_RaiseToHighestFloor(2, 3), + 267:Ceiling_ToFloorInstant(1, 4), + 268:Ceiling_RaiseByTexture(2, 3), + 269:Ceiling_LowerByTexture(2, 4), + 270:Stairs_BuildDownDoom(5), + 271:Stairs_BuildUpDoomSync(4), + 272:Stairs_BuildDownDoomSync(4), + + + + // internal functions have negative values + -1:GetLineUDMFInt(2), + -2:GetLineUDMFFixed(2), + -3:GetThingUDMFInt(2), + -4:GetThingUDMFFixed(2), + -5:GetSectorUDMFInt(2), + -6:GetSectorUDMFFixed(2), + -7:GetSideUDMFInt(3), + -8:GetSideUDMFFixed(3), + -9:GetActorVelX(1), + -10:GetActorVelY(1), + -11:GetActorVelZ(1), + -12:SetActivator(1,2), + -13:SetActivatorToTarget(1), + -14:GetActorViewHeight(1), + -15:GetChar(2), + -16:GetAirSupply(1), + -17:SetAirSupply(2), + -18:SetSkyScrollSpeed(2), + -19:GetArmorType(2), + -20:SpawnSpotForced(4), + -21:SpawnSpotFacingForced(3), + -22:CheckActorProperty(3), + -23:SetActorVelocity(6), + -24:SetUserVariable(3), + -25:GetUserVariable(2), + -26:Radius_Quake2(6), + -27:CheckActorClass(2), + -28:SetUserArray(4), + -29:GetUserArray(3), + -30:SoundSequenceOnActor(2), + -31:SoundSequenceOnSector(3), + -32:SoundSequenceOnPolyobj(2), + -33:GetPolyobjX(1), + -34:GetPolyobjY(1), + -35:CheckSight(3), + -36:SpawnForced(4,6), + -37:AnnouncerSound(2), + -38:SetPointer(2,4), + -39:ACS_NamedExecute(2,5), + -40:ACS_NamedSuspend(2), + -41:ACS_NamedTerminate(2), + -42:ACS_NamedLockedExecute(5), + -43:ACS_NamedLockedExecuteDoor(5), + -44:ACS_NamedExecuteWithResult(1,5), + -45:ACS_NamedExecuteAlways(2,5), + -46:UniqueTID(0,2), + -47:IsTIDUsed(1), + -48:Sqrt(1), + -49:FixedSqrt(1), + -50:VectorLength(2), + -51:SetHUDClipRect(4,6), + -52:SetHUDWrapWidth(1), + -53:SetCVar(2), + -54:GetUserCVar(2), + -55:SetUserCVar(3), + -56:GetCVarString(1), + -57:SetCVarString(2), + -58:GetUserCVarString(2), + -59:SetUserCVarString(3), + -60:LineAttack(4,9), + -61:PlaySound(2,7), + -62:StopSound(1,2), + -63:strcmp(2,3), + -64:stricmp(2,3), + -64:strcasecmp(2,3), // an alias for stricmp + -65:StrLeft(2), + -66:StrRight(2), + -67:StrMid(3), + -68:GetActorClass(1), + -69:GetWeapon(0), + -70:SoundVolume(3), + -71:PlayActorSound(2,6), + -72:SpawnDecal(2,6), + -73:CheckFont(1), + -74:DropItem(2,4), + -75:CheckFlag(2), + -76:SetLineActivation(2), + -77:GetLineActivation(1), + -78:GetActorPowerupTics(2), + -79:ChangeActorAngle(2,3), + -80:ChangeActorPitch(2,3), + -81:GetArmorInfo(1), + -82:DropInventory(2), + -83:PickActor(5,8), + -84:IsPointerEqual(2,4), + -85:CanRaiseActor(1), + -86:SetActorTeleFog(3), + -87:SwapActorTeleFog(1), + -88:SetActorRoll(2), + -89:ChangeActorRoll(2,3), + -90:GetActorRoll(1), + -91:QuakeEx(8,16), + -92:Warp(6,11), + -93:GetMaxInventory(2), + -94:SetSectorDamage(2,5), + -95:SetSectorTerrain(3), + -96:SpawnParticle(1,16), + -97:SetMusicVolume(1), + -98:CheckProximity(3, 6), + -99:CheckActorState(2,3), + + // Zandronum's + -100:ResetMap(0), + -101:PlayerIsSpectator(1), + -102:ConsolePlayerNumber(0), + -103:GetTeamProperty(2), + -104:GetPlayerLivesLeft(1), + -105:SetPlayerLivesLeft(2), + -106:KickFromGame(2), + -107:GetGamemodeState(0), + -108:SetDBEntry(3), + -109:GetDBEntry(2), + -110:SetDBEntryString(3), + -111:GetDBEntryString(2), + -112:IncrementDBEntry(3), + -113:PlayerIsLoggedIn(1), + -114:GetPlayerAccountName(1), + -115:SortDBEntries(4), + -116:CountDBResults(1), + -117:FreeDBResults(1), + -118:GetDBResultKeyString(2), + -119:GetDBResultValueString(2), + -120:GetDBResultValue(2), + -121:GetDBEntryRank(3), + -122:RequestScriptPuke(4), + -123:BeginDBTransaction(0), + -124:EndDBTransaction(0), + -125:GetDBEntries(1), + + // -1xx are reserved for Zandronum + -200:CheckClass(1), + -201:DamageActor(6), // [arookas] + -202:SetActorFlag(3), + -203:SetTranslation(2), + + // Eternity's + -300:GetLineX(3), + -301:GetLineY(3), + + // GZDoom OpenGL + -400:SetSectorGlow(5), + -401:SetFogDensity(2), + + // ZDaemon's + -19620:GetTeamScore(1), + -19621:SetTeamScore(2), + + -100000:__EndOfList__(10); + diff --git a/Build/Compilers/ZDaemon/zwvars.acs b/Build/Compilers/ZDaemon/zwvars.acs new file mode 100755 index 00000000..7011f564 --- /dev/null +++ b/Build/Compilers/ZDaemon/zwvars.acs @@ -0,0 +1,8 @@ + +//************************************************************************** +//** +//** zwvars.acs +//** +//************************************************************************** + +// include your world-variable declarations here. diff --git a/Build/Configurations/Includes/ZDaemon_things.cfg b/Build/Configurations/Includes/ZDaemon_things.cfg new file mode 100755 index 00000000..6f9dc6ad --- /dev/null +++ b/Build/Configurations/Includes/ZDaemon_things.cfg @@ -0,0 +1,172 @@ +// [ZZ] reduced category count. +// yes, its nice to have them colored differently, but it's just terrible to navigate the tree like that. +bluethings +{ + color = 1; // Blue + arrow = 1; + title = "ZDaemon: Blue team"; + width = 16; + sort = 1; + height = 56; + hangs = 0; + blocking = 1; + error = 2; + + 5080 + { + title = "Blue team start"; + sprite = "PLAYE2E8"; + } + + 5130 + { + blocking = 0; + title = "Blue flag"; + sprite = "BFLAA0"; + height = 55; + width = 20; + arrow = 0; + } +} + +redthings +{ + color = 4; // Red + arrow = 1; + title = "ZDaemon: Red team"; + width = 16; + sort = 1; + height = 56; + hangs = 0; + blocking = 1; + error = 2; + + 5081 + { + title = "Red team start"; + sprite = "PLAYF2F8"; + } + + 5131 + { + title = "Red flag"; + sprite = "RFLAA0"; + height = 55; + width = 20; + arrow = 0; + } +} + +greenthings +{ + color = 2; // Green + arrow = 1; + title = "ZDaemon: Green team"; + width = 16; + sort = 1; + height = 56; + hangs = 0; + blocking = 1; + error = 2; + + 5083 + { + title = "Green team start"; + sprite = "PLAYF2F8"; + } + + 5133 + { + title = "Green flag"; + sprite = "GFLAA0"; + height = 55; + width = 20; + arrow = 0; + } +} + +whitethings +{ + color = 15; // White + arrow = 1; + title = "ZDaemon: White team"; + width = 16; + sort = 1; + height = 56; + hangs = 0; + blocking = 1; + error = 2; + + 5084 + { + title = "White team start"; + sprite = "PLAYF2F8"; + } + + 5134 + { + title = "White flag"; + sprite = "WFLAA0"; + height = 55; + width = 20; + arrow = 0; + } +} + +genericthings +{ + color = 14; // Yellow for "yellow flag". We don't really care what color domination points are. + arrow = 0; + title = "ZDaemon: Misc"; + + 5135 + { + title = "Domination point A"; + sprite = "DOMAA0"; + width = 30; + height = 60; + } + + 5136 + { + title = "Domination point B"; + sprite = "DOMBA0"; + width = 30; + height = 60; + } + + 5137 + { + title = "King of the Hill"; + sprite = "DOMCA0"; + width = 30; + height = 60; + } + + 5132 + { + title = "Yellow flag (Neutral)"; + sprite = "DFLAA0"; + height = 55; + width = 20; + arrow = 0; + } +} + +weapons +{ + color = 14; // Yellow + arrow = 0; + title = "Weapons"; + width = 20; + sort = 1; + height = 25; + hangs = 0; + blocking = 0; + + 5012 + { + title = "Railgun"; + sprite = "RAILA0"; + } +} diff --git a/Build/Configurations/ZDaemon_DoomHexen.cfg b/Build/Configurations/ZDaemon_DoomHexen.cfg new file mode 100755 index 00000000..4d563cf0 --- /dev/null +++ b/Build/Configurations/ZDaemon_DoomHexen.cfg @@ -0,0 +1,69 @@ +/*************************************************************\ + Doom Builder 2 Game Configuration for ZDoom-compatible port +\*************************************************************/ + +// This is required to prevent accidental use of a different configuration +type = "Doom Builder 2 Game Configuration"; + +// This is the title to show for this game +game = "ZDaemon: Doom 2 (Hexen format)"; + +// This is the simplified game engine/sourceport name +engine = "zdaemon"; + +// ******************************************************* +// * * +// * Note: all the elements that could be factorized * +// * because they were common to ZDoom, GZDoom and * +// * Zandronum have been moved to ZDoom_common.cfg. * +// * * +// ******************************************************* + +// STANDARD ZDOOM SETTINGS +// Settings common to all games and all map formats +include("Includes\\ZDoom_common.cfg", "common"); + +// Settings common to Hexen map format +include("Includes\\ZDoom_common.cfg", "mapformat_hexen"); + +// compiler +defaultscriptcompiler = "zdaemon_acs.cfg"; + +// Settings common to Doom games +include("Includes\\Game_Doom.cfg"); + +// Default thing filters +// (these are not required, just useful for new users) +thingsfilters +{ + include("Includes\\Doom_misc.cfg", "thingsfilters"); +} + +// THING TYPES +// Each engine has its own additional thing types +// Order should always be 1: Game; 2: ZDoom/game; 3: ZDoom/zdoom +thingtypes +{ + // Basic game actors + include("Includes\\Doom_things.cfg"); + include("Includes\\Doom2_things.cfg"); + // Additional ZDoom actors for that game + include("Includes\\ZDoom_things.cfg", "doom"); + // Standard ZDoom actors + include("Includes\\ZDoom_things.cfg", "zdoom"); + // Additional ZDaemon actors + include("Includes\\ZDaemon_things.cfg"); +} + +// ENUMERATIONS +// Each engine has its own additional thing types +// These are enumerated lists for linedef types and UDMF fields. +enums +{ + // Basic game enums + include("Includes\\Doom_misc.cfg", "enums"); + // Standard ZDoom enums + include("Includes\\ZDoom_misc.cfg", "enums"); + // Additional ZDoom enums for that game + include("Includes\\ZDoom_misc.cfg", "enums_doom"); +} \ No newline at end of file diff --git a/Build/Scripting/ZDaemon_ACS.cfg b/Build/Scripting/ZDaemon_ACS.cfg new file mode 100755 index 00000000..34a14e53 --- /dev/null +++ b/Build/Scripting/ZDaemon_ACS.cfg @@ -0,0 +1,1017 @@ +/*******************************************************************\ + Doom Builder Script highlighting definitions for ACS +\*******************************************************************/ + +// Compiler settings +compiler = "zdaemon_acc"; +parameters = "-I \"%PT\" -I \"%PS\" %FI %FO"; +resultlump = "BEHAVIOR"; + +// Editor settings +description = "ZDaemon ACS"; +codepage = 0; +extensions = "acs"; +casesensitive = false; +insertcase = 0; // 0=Normal, 1=Lowercase, 2=Uppercase +lexer = 35; // CPP-style, case-insensitive +functionopen = "("; +functionclose = ")"; +codeblockopen = "{"; +codeblockclose = "}"; +arrayopen = "["; +arrayclose = "]"; +argumentdelimiter = ","; +terminator = ";"; +extrawordchars = "#"; // Extra characters to be treated as a part of a word by the Script Editor +keywordhelp = "http://www.zdaemon.org/acs_help.php?title=%K"; +snippetsdir = "acs"; +scripttype = "ACS"; + +keywords +{ + #Define = "#Define identifier expression"; + #EncryptStrings = "#EncryptStrings"; + #Import = "#Import"; + #Include = "#Include"; + #Library = "#Library"; + #LibDefine = "#LibDefine identifier expression"; + #NoCompact = "#NoCompact"; + #NoWadAuthor = "#NoWadAuthor"; + #WadAuthor = "#WadAuthor"; + #region = "#region block"; + #endregion = "end of #region block"; + ACS_Execute = "ACS_Execute(script, map, arg1, arg2, arg3)"; + ACS_ExecuteAlways = "ACS_ExecuteAlways(script, map, arg1, arg2, arg3)"; + ACS_ExecuteWait = "ACS_ExecuteWait(script, map, arg1, arg2, arg3)"; + ACS_ExecuteWithResult = "ACS_ExecuteWithResult(script, s_arg1, s_arg2, s_arg3, s_arg4)"; + ACS_LockedExecute = "ACS_LockedExecute(script, map, arg1, arg2, lock)"; + ACS_LockedExecuteDoor = "ACS_LockedExecuteDoor(script, map, arg1, arg2, lock)"; + ACS_Suspend = "ACS_Suspend(script, map)"; + ACS_Terminate = "ACS_Terminate(script, map)"; + ActivatorSound = "ActivatorSound(name, volume)"; + ActivatorTID = "ActivatorTID()"; + AmbientSound = "AmbientSound(name, volume)"; + Autosave = "Autosave()"; + Bool = "Bool expression"; + Break = "Break"; + Return = "Return"; + CancelFade = "CancelFade()"; + Case = "Case expression:"; + Ceiling_CrushAndRaise = "Ceiling_CrushAndRaise(tag, speed, crush)"; + Ceiling_CrushAndRaiseA = "Ceiling_CrushAndRaiseA(tag, dspeed, uspeed, crush)"; + Ceiling_CrushAndRaiseSilentA = "Ceiling_CrushAndRaiseSilentA(tag, dspeed, uspeed, crush)"; + Ceiling_CrushRaiseAndStay = "Ceiling_CrushRaiseAndStay(tag, speed, crush)"; + Ceiling_CrushRaiseAndStayA = "Ceiling_CrushRaiseAndStayA(tag, dspeed, uspeed, crush)"; + Ceiling_CrushRaiseAndStaySilA = "Ceiling_CrushRaiseAndStaySilA(tag, dspeed, uspeed, crush)"; + Ceiling_CrushStop = "Ceiling_CrushStop(tag)"; + Ceiling_LowerAndCrush = "Ceiling_LowerAndCrush(tag, speed, crush)"; + Ceiling_LowerByValue = "Ceiling_LowerByValue(tag, speed, height)"; + Ceiling_LowerByValueTimes8 = "Ceiling_LowerByValueTimes8(tag, speed, height)"; + Ceiling_LowerInstant = "Ceiling_LowerInstant(tag, arg1, height)"; + Ceiling_LowerToFloor = "Ceiling_LowerToFloor(tag, speed)"; + Ceiling_LowerToHighestFloor = "Ceiling_LowerToHighestFloor(tag, speed)"; + Ceiling_LowerToLowest = "Ceiling_LowerToLowest(tag, speed)"; + Ceiling_MoveToValue = "Ceiling_MoveToValue(tag, speed, height, neg)"; + Ceiling_MoveToValueTimes8 = "Ceiling_MoveToValueTimes8(tag, speed, height, neg)"; + Ceiling_RaiseByValue = "Ceiling_RaiseByValue(tag, speed, height)"; + Ceiling_RaiseByValueTimes8 = "Ceiling_RaiseByValueTimes8(tag, speed, height)"; + Ceiling_RaiseInstant = "Ceiling_RaiseInstant(tag, arg1, height)"; + Ceiling_RaiseToNearest = "Ceiling_RaiseToNearest(tag, speed)"; + Ceiling_Waggle = "Ceiling_Waggle(tag, amp, freq, offset, time)"; + ChangeCamera = "ChangeCamera(tid, who, revert)"; + ChangeCeiling = "ChangeCeiling(tag, flat)"; + ChangeFloor = "ChangeFloor(tag, flat)"; + ChangeLevel = "ChangeLevel(mapname, position, flags, skill)"; + ChangeSkill = "ChangeSkill(skill)"; + CheckActorCeilingTexture = "CheckActorCeilingTexture(tid, texture)"; + CheckActorClass = "CheckActorClass(tid, class)"; + CheckActorFloorTexture = "CheckActorFloorTexture(tid, texture)"; + CheckActorInventory = "CheckActorInventory(tid, type)"; + CheckActorProperty = "CheckActorProperty(tid, property, value)"; + CheckInventory = "CheckInventory(type)"; + CheckPlayerCamera = "CheckPlayerCamera(player)"; + CheckWeapon = "CheckWeapon(weapon)"; + ClassifyActor = "ClassifyActor(tid)"; + ClearActorInventory = "ClearActorInventory(tid)"; + ClearForceField = "ClearForceField()"; + ClearInventory = "ClearInventory()"; + ClearLineSpecial = "ClearLineSpecial()"; + Const = "Const"; + Continue = "Continue"; + cos = "cos(angle)"; + CreateTranslation = "CreateTranslation(transnumber, translation, translation, translation, ...)"; + DamageThing = "DamageThing(amount)"; + Death = "Script expression Death"; + Default = "Default:"; + Delay = "Delay(tics)"; + Disconnect = "Script expression Disconnect"; + Do = "Do"; + Door_Animated = "Door_Animated(tag, speed, delay)"; + Door_Close = "Door_Close(tag, speed)"; + Door_CloseWaitOpen = "Door_CloseWaitOpen(tag, speed, delay)"; + Door_LockedRaise = "Door_LockedRaise(tag, speed, delay, lock)"; + Door_Open = "Door_Open(tag, speed)"; + Door_Raise = "Door_Raise(tag, speed, delay)"; + Elevator_LowerToNearest = "Elevator_LowerToNearest(tag, speed)"; + Elevator_MoveToFloor = "Elevator_MoveToFloor(tag, speed)"; + Elevator_RaiseToNearest = "Elevator_RaiseToNearest(tag, speed)"; + Else = "Else"; + Enter = "Script expression Enter"; + Exit_Normal = "Exit_Normal(pos)"; + Exit_Secret = "Exit_Secret(pos)"; + FadeRange = "FadeRange(red1, green1, blue1, red2, green2, blue2, amount, seconds)"; + FadeTo = "FadeTo(red, green, blue, amount, seconds)"; + FixedDiv = "FixedDiv(fa, fb)"; + FixedMul = "FixedMul(fa, fb)"; + Floor_CrushStop = "Floor_CrushStop(tag)"; + Floor_Donut = "Floor_Donut(ptag, pspeed, sspeed)"; + Floor_LowerByValue = "Floor_LowerByValue(tag, speed, height)"; + Floor_LowerByValueTimes8 = "Floor_LowerByValueTimes8(tag, speed, height)"; + Floor_LowerInstant = "Floor_LowerInstant(tag, arg1, height)"; + Floor_LowerToHighest = "Floor_LowerToHighest(tag, speed, adjust)"; + Floor_LowerToLowest = "Floor_LowerToLowest(tag, speed)"; + Floor_LowerToLowestTxTy = "Floor_LowerToLowestTxTy(tag, speed)"; + Floor_LowerToNearest = "Floor_LowerToNearest(tag, speed)"; + Floor_MoveToValue = "Floor_MoveToValue(tag, speed, height, neg)"; + Floor_MoveToValueTimes8 = "Floor_MoveToValueTimes8(tag, speed, height, neg)"; + Floor_RaiseAndCrush = "Floor_RaiseAndCrush(tag, speed, crush)"; + Floor_RaiseByTexture = "Floor_RaiseByTexture(tag, speed)"; + Floor_RaiseByValue = "Floor_RaiseByValue(tag, speed, height)"; + Floor_RaiseByValueTimes8 = "Floor_RaiseByValueTimes8(tag, speed, height)"; + Floor_RaiseByValueTxTy = "Floor_RaiseByValueTxTy(tag, speed, height)"; + Floor_RaiseInstant = "Floor_RaiseInstant(tag, arg1, height)"; + Floor_RaiseToHighest = "Floor_RaiseToHighest(tag, speed)"; + Floor_RaiseToLowestCeiling = "Floor_RaiseToLowestCeiling(tag, speed)"; + Floor_RaiseToNearest = "Floor_RaiseToNearest(tag, speed)"; + Floor_TransferNumeric = "Floor_TransferNumeric(tag)"; + Floor_TransferTrigger = "Floor_TransferTrigger(tag)"; + Floor_Waggle = "Floor_Waggle(tag, amp, freq, offset, time)"; + FloorAndCeiling_LowerByValue = "FloorAndCeiling_LowerByValue(tag, speed, height)"; + FloorAndCeiling_LowerRaise = "FloorAndCeiling_LowerRaise(tag, fspeed, cspeed)"; + FloorAndCeiling_RaiseByValue = "FloorAndCeiling_RaiseByValue(tag, speed, height)"; + For = "For(initialization, condition, iteration)"; + ForceField = "ForceField()"; + Function = "Function Void expression (Void)"; + GameSkill = "GameSkill()"; + GameType = "GameType()"; + Generic_Ceiling = "Generic_Ceiling(tag, speed, height, target, flag)"; + Generic_Crusher = "Generic_Crusher(tag, dspeed, uspeed, silent, crush)"; + Generic_Door = "Generic_Door(tag, speed, kind, delay, lock)"; + Generic_Floor = "Generic_Floor(tag, speed, height, target, flags)"; + Generic_Lift = "Generic_Lift(tag, speed, delay, type, height)"; + Generic_Stairs = "Generic_Stairs(tag, speed, height, flags, reset)"; + GetActorAngle = "GetActorAngle(tid)"; + GetActorCeilingZ = "GetActorCeilingZ(tid)"; + GetActorFloorZ = "GetActorFloorZ(tid)"; + GetActorLightLevel = "GetActorLightLevel(tid)"; + GetActorPitch = "GetActorPitch(tid)"; + GetActorProperty = "GetActorProperty(tid, property)"; + GetActorVelX = "GetActorVelX(tid)"; + GetActorVelY = "GetActorVelY(tid)"; + GetActorVelZ = "GetActorVelZ(tid)"; + GetActorViewHeight = "GetActorViewHeight(tid)"; + GetActorX = "GetActorX(tid)"; + GetActorY = "GetActorY(tid)"; + GetActorZ = "GetActorZ(tid)"; + GetAirSupply = "GetAirSupply(playernumber)"; + GetAmmoCapacity = "GetAmmoCapacity(classname)"; + GetArmorType = "GetArmorType(armortype, playernumber)"; + GetChar = "GetChar(string, index)"; + GetCVar = "GetCVar(name)"; + GetLevelInfo = "GetLevelInfo(infotype)"; + GetLineRowOffset = "GetLineRowOffset()"; + GetLineUDMFInt = "GetLineUDMFInt(lineid, fieldname)"; + GetLineUDMFFixed = "GetLineUDMFFixed(lineid, fieldname)"; + GetPlayerInput = "GetPlayerInput(player, input)"; + GetPolyobjX = "GetPolyobjX(po)"; + GetPolyobjY = "GetPolyobjY(po)"; + GetScreenHeight = "GetScreenHeight()"; + GetScreenWidth = "GetScreenWidth()"; + GetSectorCeilingZ = "GetSectorCeilingZ(tag, x, y)"; + GetSectorFloorZ = "GetSectorFloorZ(tag, x, y)"; + GetSectorLightLevel = "GetSectorLightLevel(tag)"; + GetSectorUDMFInt = "GetSectorUDMFInt(tag, fieldname)"; + GetSectorUDMFFixed = "GetSectorUDMFFixed(tag, fieldname)"; + GetSideUDMFInt = "GetSideUDMFInt(lineid, side, fieldname)"; + GetSideUDMFFixed = "GetSideUDMFFixed(lineid, side, fieldname)"; + GetThingUDMFInt = "GetThingUDMFInt(tid, fieldname)"; + GetThingUDMFFixed = "GetThingUDMFFixed(tid, fieldname)"; + GetUserArray = "GetUserArray(tid, name, pos)"; + GetUserVariable = "GetUserVariable(tid, name)"; + GiveActorInventory = "GiveActorInventory(tid, type, amount)"; + GiveInventory = "GiveInventory(type, amount)"; + GlassBreak = "GlassBreak(dontspawnjunk)"; + Global = "Global Int expression:identifier"; + HealThing = "HealThing(amount)"; + HudMessage = "HudMessage(text; type, id, color, x, y, holdtime)"; + HudMessageBold = "HudMessageBold(text; type, id, color, x, y, holdtime)"; + If = "If(expression)"; + Int = "Int expression"; + Light_ChangeToValue = "Light_ChangeToValue(tag, value)"; + Light_Fade = "Light_Fade(tag, value, tics)"; + Light_Flicker = "Light_Flicker(tag, upper, lower)"; + Light_ForceLightning = "Light_ForceLightning()"; + Light_Glow = "Light_Glow(tag, upper, lower, tics)"; + Light_LowerByValue = "Light_LowerByValue(tag, value)"; + Light_MaxNeighbor = "Light_MaxNeighbor(tag)"; + Light_MinNeighbor = "Light_MinNeighbor(tag)"; + Light_RaiseByValue = "Light_RaiseByValue(tag, value)"; + Light_Stop = "Light_Stop(tag)"; + Light_Strobe = "Light_Strobe(tag, upper, lower, u-tics, l-tics)"; + Light_StrobeDoom = "Light_StrobeDoom(tag, u-tics, l-tics)"; + Lightning = "Script expression Lightning"; + Line_AlignCeiling = "Line_AlignCeiling(lineid, side)"; + Line_AlignFloor = "Line_AlignFloor(lineid, side)"; + Line_SetBlocking = "Line_SetBlocking(lineid, setflags, clearflags)"; + Line_SetTextureScale = "Line_SetTextureScale(lineid, x, y, side, flags)"; + Line_SetTextureOffset = "Line_SetTextureOffset(lineid, x, y, side, flags)"; + LineSide = "LineSide()"; + LocalAmbientSound = "LocalAmbientSound(name, volume)"; + LocalSetMusic = "LocalSetMusic(song, pattern, transition)"; + Log = "Log(type:expression)"; + MorphActor = "MorphActor(tid, playerclass, monsterclass, duration, style, morphflash, unmorphflash)"; + Net = "Script expression Net"; + NoiseAlert = "NoiseAlert(target_tid, emiter_tid)"; + Open = "Script expression Open"; + Pillar_Build = "Pillar_Build(tag, speed, height)"; + Pillar_BuildAndCrush = "Pillar_BuildAndCrush(tag, speed, height, crush)"; + Pillar_Open = "Pillar_Open(tag, speed, fdist, cdist)"; + Plat_DownByValue = "Plat_DownByValue(tag, speed, delay, height)"; + Plat_DownWaitUpStay = "Plat_DownWaitUpStay(tag, speed, delay)"; + Plat_DownWaitUpStayLip = "Plat_DownWaitUpStayLip(tag, speed, delay, lip)"; + Plat_PerpetualRaise = "Plat_PerpetualRaise(tag, speed, delay)"; + Plat_PerpetualRaiseLip = "Plat_PerpetualRaiseLip(tag, speed, delay, lip)"; + Plat_RaiseAndStayTx0 = "Plat_RaiseAndStayTx0(tag, speed)"; + Plat_Stop = "Plat_Stop(tag)"; + Plat_ToggleCeiling = "Plat_ToggleCeiling(tag)"; + Plat_UpByValue = "Plat_UpByValue(tag, speed, delay, height)"; + Plat_UpByValueStayTx = "Plat_UpByValueStayTx(tag, speed, height)"; + Plat_UpNearestWaitDownStay = "Plat_UpNearestWaitDownStay(tag, speed, delay)"; + Plat_UpWaitDownStay = "Plat_UpWaitDownStay(tag, speed, delay)"; + Player_GiveItem = "Player_GiveItem(item, message)"; + Player_RemoveItem = "Player_RemoveItem(item, message)"; + Player_SetTeam = "Player_SetTeam(team)"; + PlayerClass = "PlayerClass(player_number)"; + PlayerCount = "PlayerCount()"; + PlayerFrags = "PlayerFrags()"; + PlayerInGame = "PlayerInGame(player_number)"; + PlayerIsBot = "PlayerIsBot(player_number)"; + PlayerNumber = "PlayerNumber()"; + PlayMovie = "PlayMovie(moviename)"; + Polyobj_DoorSlide = "Polyobj_DoorSlide(po, speed, angle, dist, delay)"; + Polyobj_DoorSwing = "Polyobj_DoorSwing(po, speed, angle, delay)"; + Polyobj_Move = "Polyobj_Move(po, speed, angle, dist)"; + Polyobj_MoveTimes8 = "Polyobj_MoveTimes8(po, speed, angle, dist)"; + Polyobj_OR_Move = "Polyobj_OR_Move(po, speed, angle, distance)"; + Polyobj_OR_MoveTimes8 = "Polyobj_OR_MoveTimes8(po, speed, angle, distance)"; + Polyobj_OR_RotateLeft = "Polyobj_OR_RotateLeft(po, speed)"; + Polyobj_OR_RotateRight = "Polyobj_OR_RotateRight(po, speed, angle)"; + Polyobj_RotateLeft = "Polyobj_RotateLeft(po, speed, angle)"; + Polyobj_RotateRight = "Polyobj_RotateRight(po, speed, angle)"; + PolyWait = "PolyWait(po)"; + Print = "Print(type:expression)"; + PrintBold = "PrintBold(type:expression)"; + Radius_Quake = "Radius_Quake(intensity, duration, damrad, tremrad, tid)"; + Random = "Random(low, high)"; + ReplaceTextures = "ReplaceTextures(oldtexture, newtexture, flags)"; + Respawn = "Script expression Respawn"; + Restart = "Restart"; + Script = "Script expression (Void)"; + ScriptWait = "ScriptWait(scriptid)"; + Scroll_Ceiling = "Scroll_Ceiling(tag, scrollbits, 0, xmove, ymove)"; + Scroll_Floor = "Scroll_Floor(tag, scrollbits, method xmove, ymove)"; + Scroll_Texture_Both = "Scroll_Texture_Both(lineid, left, right, down, up)"; + Scroll_Wall = "Scroll_Wall(lineid, x, y, side, flags)"; + Sector_ChangeSound = "Sector_ChangeSound(tag, newsequence)"; + Sector_SetCeilingPanning = "Sector_SetCeilingPanning(tag, u-int, u-frac, v-int, v-frac)"; + Sector_SetCeilingScale = "Sector_SetCeilingScale(tag, u-int, u-frac, v-int, v-frac)"; + Sector_SetColor = "Sector_SetColor(tag, r, g, b)"; + Sector_SetDamage = "Sector_SetDamage(tag, amount, mod)"; + Sector_SetFade = "Sector_SetFade(tag, r, g, b)"; + Sector_SetFloorPanning = "Sector_SetFloorPanning(tag, u-int, u-frac, v-int, v-frac)"; + Sector_SetFloorScale = "Sector_SetFloorScale(tag, u-int, u-frac, v-int, v-frac)"; + Sector_SetFriction = "Sector_SetFriction(tag, amount)"; + Sector_SetGravity = "Sector_SetGravity(tag, ipart, fpart)"; + Sector_SetLink = "Sector_SetLink(controltag, tag, surface, movetype)"; + Sector_SetPlaneReflection = "Sector_SetPlaneReflection(tag, floor, ceiling)"; + Sector_SetRotation = "Sector_SetRotation(tag, floor-angle, ceiling-angle)"; + SectorDamage = "SectorDamage(tag, amount, type, protection-item, flags)"; + SectorSound = "SectorSound(name, volume)"; + SendToCommunicator = "SendToCommunicator(voc_id, front_only, indentify, nolog)"; + SetActorAngle = "SetActorAngle(tid, angle)"; + SetAirControl = "SetAirControl(amount)"; + SetActorPitch = "SetActorPitch(tid, angle)"; + SetActorPosition = "SetActorPosition(tid, x, y, z, fog)"; + SetActorProperty = "SetActorProperty(tid, property, value)"; + SetActorState = "SetActorState(tid, state, exact)"; + SetActorVelocity = "SetActorVelocity(tid, velx, vely, velz, add, setbob)"; + SetAirSupply = "SetAirSupply(playernumber, tics)"; + SetCameraToTexture = "SetCameraToTexture(tag, texture, fov)"; + SetCeilingTrigger = "SetCeilingTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)"; + SetFloorTrigger = "SetFloorTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)"; + SetFont = "SetFont(fontname)"; + SetGravity = "SetGravity(amount)"; + SetHudSize = "SetHudSize(width, height, statusbar)"; + SetLineBlocking = "SetLineBlocking(line, blocking)"; + SetLineMonsterBlocking = "SetLineMonsterBlocking(line, blocking)"; + SetLineSpecial = "SetLineSpecial(line, special, arg1, arg2, arg3, arg4, arg5)"; + SetLineTexture = "SetLineTexture(line, side, position, texture)"; + SetMarineSprite = "SetMarineSprite(tid, actorclass)"; + SetMarineWeapon = "SetMarineWeapon(tid, weapon)"; + SetMugShotState = "SetMugShotState(state)"; + SetMusic = "SetMusic(song, pattern, transition)"; + SetPlayerProperty = "SetPlayerProperty(who, set, which)"; + SetResultValue = "SetResultValue(value)"; + SetSkyScrollSpeed = "SetSkyScrollSpeed(skynumber, speed)"; + SetThingSpecial = "SetThingSpecial(tid, special, arg1, arg2, arg3, arg4, arg5)"; + SetWeapon = "SetWeapon(weaponname)"; + sin = "sin(angle)"; + SoundSequence = "SoundSequence(sndseq)"; + SoundSequenceOnActor = "SoundSequenceOnActor(tid, sndseq)"; + SoundSequenceOnSector = "SoundSequenceOnSector(tag, sndseq, location)"; + SoundSequenceOnPolyObj = "SoundSequenceOnPolyObj(tag, sndseq)"; + Spawn = "Spawn(type, x, y, z, thingid, angle)"; + SpawnProjectile = "SpawnProjectile(tid, type, angle, speed, vspeed, gravity, newtid)"; + SpawnSpot = "SpawnSpot(type, spotid, thingid, angle)"; + SpawnSpotFacing = "SpawnSpotFacing(type, spotid, thingid)"; + Special = "Special"; + Stairs_BuildDown = "Stairs_BuildDown(tag, speed, height, delay, reset)"; + Stairs_BuildDownSync = "Stairs_BuildDownSync(tag, speed, height, reset)"; + Stairs_BuildUp = "Stairs_BuildUp(tag, speed, height, delay, reset)"; + Stairs_BuildUpDoom = "Stairs_BuildUpDoom(tag, speed, height, delay, reset)"; + Stairs_BuildUpSync = "Stairs_BuildUpSync(tag, speed, height, reset)"; + StartConversation = "StartConversation(tid, facing)"; + Str = "Str expression"; + strlen = "strlen(string)"; + Suspend = "Suspend"; + Switch = "Switch(expression)"; + TagWait = "TagWait(tag)"; + TakeActorInventory = "TakeActorInventory(tid, type, amount)"; + TakeInventory = "TakeInventory(type, amount)"; + Team_Score = "Team_Score(amount, nogrin)"; + Teleport = "Teleport(tid, tag, nosourcefog)"; + Teleport_EndGame = "Teleport_EndGame()"; + Teleport_Line = "Teleport_Line(thisid, destid, flip)"; + Teleport_NewMap = "Teleport_NewMap(map, pos)"; + Teleport_NoFog = "Teleport_NoFog(tid)"; + Teleport_NoStop = "Teleport_NoStop(tid, tag, nofog)"; + Teleport_ZombieChanger = "Teleport_ZombieChanger(tid, tag)"; + TeleportGroup = "TeleportGroup(groupid, sourceid, destinationid, movesource, fog)"; + TeleportInSector = "TeleportInSector(tag, sourceid, destinationid, fog, groupid)"; + TeleportOther = "TeleportOther(tid, destinationid, fog)"; + Terminate = "Terminate"; + Thing_Activate = "Thing_Activate(tid)"; + Thing_ChangeTID = "Thing_ChangeTID(oldtid, newtid)"; + Thing_Damage = "Thing_Damage(tid, amount, mod)"; + Thing_Damage2 = "Thing_Damage2(tid, amount, type)"; + Thing_Deactivate = "Thing_Deactivate(tid)"; + Thing_Destroy = "Thing_Destroy(tid, extreme)"; + Thing_Hate = "Thing_Hate(hater, hatee, type)"; + Thing_Move = "Thing_Move(tid, destid, nofog)"; + Thing_Projectile = "Thing_Projectile(tid, type, angle, speed, vspeed)"; + Thing_Projectile2 = "Thing_Projectile2(tid, type, angle, speed, vspeed, gravity, newtid)"; + Thing_ProjectileAimed = "Thing_ProjectileAimed(tid, type, speed, target, newtid)"; + Thing_ProjectileGravity = "Thing_ProjectileGravity(tid, type, angle, speed, vspeed)"; + Thing_ProjectileIntercept = "Thing_ProjectileIntercept(tid, type, speed, target, newtid)"; + Thing_Raise = "Thing_Raise(tid)"; + Thing_Remove = "Thing_Remove(tid)"; + Thing_SetFrame = "Thing_SetFrame(tid, frame)"; + Thing_SetGoal = "Thing_SetGoal(tid, goal, delay, ignore)"; + Thing_SetSpecial = "Thing_SetSpecial(tid, special, arg1, arg2, arg3)"; + Thing_SetTranslation = "Thing_SetTranslation(tid, translation)"; + Thing_Spawn = "Thing_Spawn(tid, type, angle, newtid)"; + Thing_SpawnFacing = "Thing_SpawnFacing(tid, type, nofog, newtid)"; + Thing_SpawnNoFog = "Thing_SpawnNoFog(tid, type, angle, newtid)"; + Thing_Stop = "Thing_Stop(tid)"; + ThingCount = "ThingCount(type, id)"; + ThingCountName = "ThingCountName(type, tid)"; + ThingCountNameSector = "ThingCountNameSector(class, tid, tag)"; + ThingCountSector = "ThingCountSector(type, tid, tag)"; + ThingSound = "ThingSound(thingid, name, volume)"; + ThrustThing = "ThrustThing(angle, force, limit, tid)"; + ThrustThingZ = "ThrustThingZ(tid, speed, upordown, addorset)"; + Timer = "Timer()"; + TranslucentLine = "TranslucentLine(lineid, amount, additive)"; + Unloading = "Script expression Unloading"; + UnmorphActor = "UnmorphActor(tid, force)"; + Until = "Until(expression)"; + UsePuzzleItem = "UsePuzzleItem(item, script)"; + UseActorInventory = "UseActorInventory(tid, item)"; + VectorAngle = "VectorAngle(x, y)"; + Void = "Void"; + While = "While(expression)"; + World = "World Int expression:identifier"; + //ZDaemon + ACS_NamedExecute = "ACS_NamedExecute(script, map, arg1, arg2, arg3)"; + ACS_NamedExecuteAlways = "ACS_NamedExecuteAlways(script, map, arg1, arg2, arg3)"; + ACS_NamedExecuteWait = "ACS_NamedExecuteWait(script, map, arg1, arg2, arg3)"; + ACS_NamedExecuteWithResult = "ACS_NamedExecuteWithResult(script, s_arg1, s_arg2, s_arg3, s_arg4)"; + ACS_NamedLockedExecute = "ACS_NamedLockedExecute(script, map, arg1, arg2, lock)"; + ACS_NamedLockedExecuteDoor = "ACS_NamedLockedExecuteDoor(script, map, arg1, arg2, lock)"; + ACS_NamedSuspend = "ACS_NamedSuspend(script, map)"; + ACS_NamedTerminate = "ACS_NamedTerminate(script, map)"; + Client_Execute = "Client_Execute(client, script, map, arg1, arg2, arg3)"; + Client_ExecuteAlways = "Client_ExecuteAlways(client, script, map, arg1, arg2, arg3)"; + Client_NamedExecute = "Client_NamedExecute(client, script, map, arg1, arg2, arg3)"; + Client_NamedExecuteAlways = "Client_NamedExecuteAlways(client, script, map, arg1, arg2, arg3)"; + ConsolePlayerNumber = "ConsolePlayerNumber()"; + GetPlayerInfo = "GetPlayerInfo(player_number, playerinfo)"; + GetPlayerLivesLeft = "GetPlayerLivesLeft(player_number)"; + GetTeamScore = "GetTeamScore(team)"; + NamedScriptWait = "NamedScriptWait(script)"; + NetMode = "NetMode()"; + PlayerIsSpectator = "PlayerIsSpectator(player_number)"; + PlayerTopIndex = "PlayerTopIndex()"; + ResetMap = "ResetMap()"; + Server_Execute = "Server_Execute(script, map, arg1, arg2, arg3)"; + Server_ExecuteAlways = "Server_ExecuteAlways(script, map, arg1, arg2, arg3)"; + Server_NamedExecute = "Server_NamedExecute(script, map, arg1, arg2, arg3)"; + Server_NamedExecuteAlways = "Server_NamedExecuteAlways(script, map, arg1, arg2, arg3)"; + SetPlayerInfo = "SetPlayerInfo(player_number, playerinfo, value)"; + SetTeamScore = "SetTeamScore(team, value)"; + ZD_rand = "ZD_rand(int min_value, int max_value)"; + ZD_rand_restorestate = "ZD_rand_restorestate()"; + ZD_rand_savestate = "ZD_rand_savestate()"; + ZD_srand = "ZD_srand(int seed)"; +} + +constants +{ + TRUE; + FALSE; + ON; + OFF; + YES; + NO; + CARRY; + SCROLL; + SCROLL_AND_CARRY; + ACTOR_NONE; + ACTOR_WORLD; + ACTOR_PLAYER; + ACTOR_BOT; + ACTOR_VOODOODOLL; + ACTOR_MONSTER; + ACTOR_ALIVE; + ACTOR_DEAD; + ACTOR_MISSILE; + ACTOR_GENERIC; + APROP_ActiveSound; + APROP_Alpha; + APROP_Ambush; + APROP_AttackSound; + APROP_ChaseGoal; + APROP_Damage; + APROP_DeathSound; + APROP_Dropped; + APROP_Friendly; + APROP_Frightened; + APROP_Gravity; + APROP_Health; + APROP_Invulnerable; + APROP_JumpZ; + APROP_Notarget; + APROP_PainSound; + APROP_RenderStyle; + APROP_SeeSound; + APROP_SpawnHealth; + APROP_Speed; + BLOCK_CREATURES; + BLOCK_EVERYTHING; + BLOCK_NOTHING; + BLOCKF_CREATURES; + BLOCKF_MONSTERS; + BLOCKF_PLAYERS; + BLOCKF_FLOATERS; + BLOCKF_PROJECTILES; + BLOCKF_EVERYTHING; + BLOCKF_RAILING; + BLOCKF_USE; + BT_ALTATTACK; + BT_ATTACK; + BT_BACK; + BT_CROUCH; + BT_FORWARD; + BT_JUMP; + BT_LEFT; + BT_LOOKDOWN; + BT_LOOKUP; + BT_MOVEDOWN; + BT_MOVELEFT; + BT_MOVERIGHT; + BT_MOVEUP; + BT_RELOAD; + BT_RIGHT; + BT_SHOWSCORES; + BT_SPEED; + BT_STRAFE; + BT_TURN180; + BT_USE; + BT_USER1; + BT_USER2; + BT_USER3; + BT_USER4; + BT_ZOOM; + CLASS_CLERIC; + CLASS_FIGHTER; + CLASS_MAGE; + CR_BLACK; + CR_BLUE; + CR_BRICK; + CR_BROWN; + CR_CREAM; + CR_DARKBROWN; + CR_DARKGRAY; + CR_DARKGREEN; + CR_DARKRED; + CR_GOLD; + CR_GRAY; + CR_GREEN; + CR_GREY; + CR_LIGHTBLUE; + CR_OLIVE; + CR_ORANGE; + CR_PURPLE; + CR_RED; + CR_TAN; + CR_UNTRANSLATED; + CR_WHITE; + CR_YELLOW; + DAMAGE_IN_AIR; + DAMAGE_NONPLAYERS; + DAMAGE_PLAYERS; + DAMAGE_SUBCLASSES_PROTECT; + GAME_NET_COOPERATIVE; + GAME_NET_DEATHMATCH; + GAME_NET_TEAMGAME; + GAME_SINGLE_PLAYER; + HUDMSG_COLORSTRING; + HUDMSG_FADEINOUT; + HUDMSG_FADEOUT; + HUDMSG_LOG; + HUDMSG_PLAIN; + HUDMSG_TYPEON; + INPUT_BUTTONS; + INPUT_FORWARDMOVE; + INPUT_OLDBUTTONS; + INPUT_PITCH; + INPUT_ROW; + INPUT_SIDEMOVE; + INPUT_UPMOVE; + INPUT_YAW; + LEVELINFO_CLUSTERNUM; + LEVELINFO_FOUND_ITEMS; + LEVELINFO_FOUND_SECRETS; + LEVELINFO_KILLED_MONSTERS; + LEVELINFO_LEVELNUM; + LEVELINFO_PAR_TIME; + LEVELINFO_SUCK_TIME; + LEVELINFO_TOTAL_ITEMS; + LEVELINFO_TOTAL_MONSTERS; + LEVELINFO_TOTAL_SECRETS; + LINE_BACK; + LINE_FRONT; + MARINEWEAPON_BerserkFis; + MARINEWEAPON_BFG; + MARINEWEAPON_Chaingun; + MARINEWEAPON_Chainsaw; + MARINEWEAPON_Dummy; + MARINEWEAPON_Fist; + MARINEWEAPON_Pistol; + MARINEWEAPON_PlasmaRifl; + MARINEWEAPON_Railgun; + MARINEWEAPON_RocketLaunche; + MARINEWEAPON_Shotgun; + MARINEWEAPON_SuperShotgu; + MOD_BARREL; + MOD_BFG_BOOM; + MOD_BFG_SPLASH; + MOD_CHAINGUN; + MOD_CHAINSAW; + MOD_CRUSH; + MOD_EXIT; + MOD_FALLING; + MOD_FIST; + MOD_HIT; + MOD_LAVA; + MOD_PISTOL; + MOD_PLASMARIFLE; + MOD_R_SPLASH; + MOD_ROCKET; + MOD_SHOTGUN; + MOD_SLIME; + MOD_SPLASH; + MOD_SSHOTGUN; + MOD_SUICIDE; + MOD_TELEFRAG; + MOD_UNKNOWN; + MOD_WATER; + MODINPUT_BUTTONS; + MODINPUT_FORWARDMOVE; + MODINPUT_OLDBUTTONS; + MODINPUT_PITCH; + MODINPUT_ROW; + MODINPUT_SIDEMOVE; + MODINPUT_UPMOVE; + MODINPUT_YAW; + MOVIE_Failed; + MOVIE_Played; + MOVIE_Played_Aborted; + MOVIE_Played_NoVideo; + NOT_BOTTOM; + NOT_CEILING; + NOT_FLOOR; + NOT_MIDDLE; + NOT_TOP; + PLAYERINFO_AIMDIST; + PLAYERINFO_COLOR; + PLAYERINFO_GENDER; + PLAYERINFO_MOVEBOB; + PLAYERINFO_NEVERSWITCH; + PLAYERINFO_PLAYERCLASS; + PLAYERINFO_STILLBOB; + PLAYERINFO_TEAM; + PROP_FLY; + PROP_FROZEN; + PROP_INSTANTWEAPONSWITCH; + PROP_NOTARGET; + PROP_TOTALLYFROZEN; + SIDE_BACK; + SIDE_FRONT; + SKILL_EASY; + SKILL_HARD; + SKILL_NORMAL; + SKILL_VERY_EASY; + SKILL_VERY_HARD; + STYLE_Add; + STYLE_Fuzzy; + STYLE_None; + STYLE_Normal; + STYLE_OptFuzzy; + STYLE_SoulTrans; + STYLE_Translucent; + T_AMMOBOX; + T_AMULETOFWARDING; + T_ANTIGRAVBELT; + T_ARACHNOTRON; + T_ARACHNOTRONPLASMA; + T_ARCHSTATUE; + T_ARMORBONUS; + T_ARROW; + T_AXEKEY; + T_BACKPACK; + T_BARON; + T_BARONBALL; + T_BARONSTATUE; + T_BARREL; + T_BATTERY; + T_BEAST; + T_BEASTBALL; + T_BELPHEGOR; + T_BERSERK; + T_BFG; + T_BFG10000; + T_BFGSHOT; + T_BISHOP; + T_BLADE; + T_BLASTER; + T_BLOOD; + T_BLOODDEMON; + T_BLOODPOOL; + T_BLOODPOOL1; + T_BLOODPOOL2; + T_BLUEARMOR; + T_BLUEFLAG; + T_BLUEKEY; + T_BLUEKEYCARD; + T_BLUESKULLKEY; + T_BLUETELEGLITTER; + T_BOBBINGSKULLINFLAMES; + T_BOUNCYMACEBALL; + T_BRAINS; + T_BRIDGE; + T_CACODEMON; + T_CACODEMONSHOT; + T_CACOLANTERN; + T_CELL; + T_CENTAUR; + T_CENTAUR_MASH; + T_CENTAURLEADER; + T_CHAINGUN; + T_CHAINGUY; + T_CHAINSAW; + T_CHICKEN; + T_CLERICHOLY1; + T_CLERICHOLY2; + T_CLERICHOLY3; + T_CLERICSTAFF; + T_CLINK; + T_CLIP; + T_COMPUTERMAP; + T_CROSSBOW; + T_CROSSBOWMAINBLAST; + T_CROSSBOWMINIBLAST; + T_CROSSBOWPOWERBLAST; + T_CYBERDEMON; + T_CYBERDEMONSTATUE; + T_DARKIMP; + T_DART; + T_DEADCYBERDEMON; + T_DEATHBALL; + T_DEMON; + T_DEMON_MASH; + T_DEMON1; + T_DEMON2_MASH; + T_DEMONSTATUE; + T_DIRT1; + T_DIRT2; + T_DIRT3; + T_DIRT4; + T_DIRT5; + T_DIRT6; + T_DOOMSPHERE; + T_DRAGONSKINBRACERS; + T_DRAIN; + T_DSPARILALONE; + T_DSPARILBLUESHOT; + T_DSPARILONSERPENT; + T_DSPARILTELEPORTDEST; + T_DSPARILWIZARDSPAWNER; + T_EMERALDKEY; + T_ETTIN; + T_ETTIN_MASH; + T_FALCONSHIELD; + T_FEATHER; + T_FIGHTERAXE; + T_FIGHTERHAMMER; + T_FIGHTERSWORD1; + T_FIGHTERSWORD2; + T_FIGHTERSWORD3; + T_FIREBALL1; + T_FIREGARGOYLE; + T_FIREKEY; + T_FLAME_LARGE; + T_FLAME_SMALL; + T_FLAMINGBARREL; + T_FLESH_DRIP1; + T_FLESH_DRIP2; + T_GAUNTLETS; + T_GOTHICPILLAR; + T_GREENARMOR; + T_GREENKEY; + T_GRENADE; + T_GRENADELAUNCHER; + T_GREYPILLARHEART; + T_GREYSTALAGMITE; + T_GUTS; + T_HASTE; + T_HEALTHBONUS; + T_HEAVYMACEBALL; + T_HECTEBUS; + T_HEFTYBLASTERAMMO; + T_HEFTYCROSSBOWAMMO; + T_HEFTYMACEAMMO; + T_HEFTYPHOENIXRODAMMO; + T_HEFTYSKULLRODAMMO; + T_HEFTYWANDAMMO; + T_HELLKNIGHT; + T_HELLPILLAR; + T_HIGHJUMP; + T_HISSY; + T_HORNKEY; + T_ICEGOLEM; + T_ICESHARD; + T_IMP; + T_IMPALINGSPIKE; + T_IMPALINGSPIKECGUN; + T_IMPALINGSPIKEZOMB; + T_IMPFIREBALL; + T_IMPHEAD; + T_IMPLEADER; + T_IMPSTATUE; + T_INFRAGOGGLES; + T_INFRATRACKER; + T_INVISIBILITY; + T_INVULNERABILITY; + T_IRONFEET; + T_IRONLICH; + T_IRONLICHBLUESHOT; + T_ITEMALLMAP; + T_ITEMBAGOFHOLDING; + T_ITEMBOOSTMANA; + T_ITEMBOOTS; + T_ITEMEGG; + T_ITEMFLECHETTE; + T_ITEMFLIGHT; + T_ITEMHEALTHFLASK; + T_ITEMHEALTHFULL; + T_ITEMHEALTHPOTION; + T_ITEMINVISIBILITY; + T_ITEMINVULNERABILITY; + T_ITEMREPULSION; + T_ITEMSUMMON; + T_ITEMTELEPORT; + T_ITEMTIMEBOMB; + T_ITEMTOME; + T_ITEMTORCH; + T_ITEMTPORTOTHER; + T_KNIGHT; + T_KNIGHTAXE; + T_KNIGHTBLOODAXE; + T_KNIGHTGHOST; + T_LABORTORYPILLAR; + T_LIGHTAMP; + T_LOSTSOUL; + T_MACE; + T_MACEKEY; + T_MAGESHARDS; + T_MAGESTAFF1; + T_MAGESTAFF2; + T_MAGESTAFF3; + T_MANA1; + T_MANA2; + T_MANA3; + T_MANCUBUS; + T_MANCUBUSSHOT; + T_MASARMORBONUS; + T_MASSMOUTHSTATUE; + T_MAXHEALTHBONUS; + T_MEDKIT; + T_MEGASPHERE; + T_MESHARMOR; + T_METALKEY; + T_MILITARYPILLAR; + T_MINIGUN; + T_MORPHBLAST; + T_MUMMY; + T_MUMMYGHOST; + T_MUMMYHEAD; + T_MUMMYLEADER; + T_MUMMYLEADERGHOST; + T_NOGRAVITYMACEBALL; + T_NONE; + T_PAINELEMENTAL; + T_PERMLARGEFLAME; + T_PERMSMALLFLAME; + T_PHOENIXROD; + T_PHOENIXSHOT; + T_PISTOL; + T_PLASMABOLT; + T_PLASMAGUN; + T_PLATINUMHELM; + T_POD; + T_PODGENERATOR; + T_POISONDART; + T_POWERWANDBIGGERBLAST; + T_POWERWANDMINIBLAST; + T_PROSPERITY; + T_PUFF; + T_PUZZBOOK1; + T_PUZZBOOK2; + T_PUZZGEMBIG; + T_PUZZGEMBLUE1; + T_PUZZGEMBLUE2; + T_PUZZGEMGREEN1; + T_PUZZGEMGREEN2; + T_PUZZGEMRED; + T_PUZZSKULL; + T_RAGE; + T_RAILGUN; + T_RANDOMPOWERUP; + T_REDARMOR; + T_REDFLAG; + T_REDKEYCARD; + T_REDSKULLKEY; + T_REDTELEGLITTER; + T_REFLECTION; + T_REGENERATION; + T_RESISTANCE; + T_REVENANT; + T_REVENANTHAND; + T_RIPPER; + T_RIPPERBALL; + T_ROCK1; + T_ROCK2; + T_ROCK3; + T_ROCKET; + T_ROCKETAMMO; + T_ROCKETBOX; + T_ROCKETLAUNCHER; + T_RUSTYKEY; + T_SAUSAGEHEAD; + T_SAUSAGESPITTER; + T_SCRIPTEDMARINE; + T_SERPENTFIREBALL; + T_SERPENTKEY; + T_SHELLBOX; + T_SHELLS; + T_SHIELD1; + T_SHIELD2; + T_SHORTGREYPILLAR; + T_SHOTGUN; + T_SHOTGUY; + T_SILVERKEY; + T_SKULLROD; + T_SKULLRODBLAST; + T_SMALLMETALKEY; + T_SNAKE; + T_SNAKEPROJECTILE; + T_SNAKEPROJECTILEBIG; + T_SOULSPHERE; + T_SOUND_WATERFALL; + T_SOUND_WIND; + T_SPARK_DRIP; + T_SPECTRE; + T_SPIDERMASTERMIND; + T_SPREAD; + T_SSGGUY; + T_STAINEDGLASS0; + T_STAINEDGLASS1; + T_STAINEDGLASS2; + T_STAINEDGLASS3; + T_STAINEDGLASS4; + T_STAINEDGLASS5; + T_STAINEDGLASS6; + T_STAINEDGLASS7; + T_STAINEDGLASS8; + T_STAINEDGLASS9; + T_STARBASEPILLAR; + T_STEALTHARACHNOTRON; + T_STEALTHBARON; + T_STEALTHCACODEMON; + T_STEALTHCHAINGUY; + T_STEALTHIMP; + T_STEALTHKNIGHT; + T_STEALTHMANCUBUS; + T_STEALTHREVENANT; + T_STEALTHSERGEANT; + T_STEALTHSHOTGUY; + T_STEALTHVILE; + T_STEALTHZOMBIE; + T_STIMPACK; + T_STRENGTH; + T_SUPERSHOTGUN; + T_TALLGOTHICPILLAR; + T_TALLGREYPILLAR; + T_TEMPLARGEFLAME; + T_TEMPSMALLFLAME; + T_THRUSTSPIKEDOWN; + T_THRUSTSPIKEUP; + T_TIMEFREEZER; + T_TINYVOLCANOBALL; + T_TRACER; + T_TRANSLUCENCY; + T_TURBOSPHERE; + T_VILE; + T_VOLCANO; + T_VOLCANOBALL; + T_WATERDRIP; + T_WATERLURKER; + T_WATERLURKERLEADER; + T_WHIRLWIND; + T_WHITEFLAG; + T_WIMPYBLASTERAMMO; + T_WIMPYCROSSBOWAMMO; + T_WIMPYMACEAMMO; + T_WIMPYPHOENIXRODAMMO; + T_WIMPYSKULLRODAMMO; + T_WIMPYWANDAMMO; + T_WIZARD; + T_WIZARDSHOT; + T_WOLFSS; + T_WRAITH; + T_WRAITHBURIED; + T_YELLOWKEY; + T_YELLOWKEYCARD; + T_YELLOWSKULLKEY; + T_ZOMBIE; + TEAM_BLUE; + TEAM_RED; + TEXTURE_BOTTOM; + TEXTURE_MIDDLE; + TEXTURE_TOP; + //ZDaemon + TEAM_GREEN; + TEAM_WHITE; + PLAYERINFO_ITEMS; + PLAYERINFO_HEALTH; + PLAYERINFO_ARMOR; + PLAYERINFO_SECRETS; + PLAYERINFO_KILLS; + PLAYERINFO_DEATHS; + PLAYERINFO_SUICIDES; + PLAYERINFO_PTS_1; + PLAYERINFO_PTS_2; + PLAYERINFO_PTS_3; + PLAYERINFO_TIME; + PLAYERINFO_USR_1; + PLAYERINFO_USR_2; + PLAYERINFO_USR_3; + PLAYERINFO_USR_4; + PLAYERINFO_USR_5; + PLAYERINFO_USR_6; + PLAYERINFO_USR_7; + PLAYERINFO_USR_8; + PLAYERINFO_USR_9; + PLAYERINFO_USR_10; +}