mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Added separate compiler for Hexen (with correct includes).
Added separate Script Configuration so that only the available function and constants are shown in the editor.
This commit is contained in:
parent
7406843955
commit
d84312ea92
7 changed files with 374 additions and 788 deletions
17
Build/Compilers/Hexen/acc.cfg
Normal file
17
Build/Compilers/Hexen/acc.cfg
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
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)
|
||||
hexen_acc
|
||||
{
|
||||
interface = "AccCompiler";
|
||||
program = "acc.exe";
|
||||
zcommon = "common.acs";
|
||||
zdefs = "defs.acs";
|
||||
zspecial = "specials.acs";
|
||||
zwvars = "wvars.acs";
|
||||
}
|
||||
}
|
BIN
Build/Compilers/Hexen/acc.exe
Normal file
BIN
Build/Compilers/Hexen/acc.exe
Normal file
Binary file not shown.
10
Build/Compilers/Hexen/common.acs
Normal file
10
Build/Compilers/Hexen/common.acs
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** common.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
#include "specials.acs"
|
||||
#include "defs.acs"
|
||||
#include "wvars.acs"
|
149
Build/Compilers/Hexen/defs.acs
Normal file
149
Build/Compilers/Hexen/defs.acs
Normal file
|
@ -0,0 +1,149 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** defs.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
#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
|
||||
|
||||
#define GAME_SINGLE_PLAYER 0
|
||||
#define GAME_NET_COOPERATIVE 1
|
||||
#define GAME_NET_DEATHMATCH 2
|
||||
|
||||
#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 T_NONE 0
|
||||
#define T_CENTAUR 1
|
||||
#define T_CENTAURLEADER 2
|
||||
#define T_DEMON 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_ITEMEGG 14
|
||||
#define T_ITEMFLIGHT 15
|
||||
#define T_ITEMSUMMON 16
|
||||
#define T_ITEMTPORTOTHER 17
|
||||
#define T_ITEMTELEPORT 18
|
||||
#define T_BISHOP 19
|
||||
#define T_ICEGOLEM 20
|
||||
#define T_BRIDGE 21
|
||||
#define T_DRAGONSKINBRACERS 22
|
||||
#define T_ITEMHEALTHPOTION 23
|
||||
#define T_ITEMHEALTHFLASK 24
|
||||
#define T_ITEMHEALTHFULL 25
|
||||
#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_MORPHBLAST 40
|
||||
#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_ARROW 50
|
||||
#define T_DART 51
|
||||
#define T_POISONDART 52
|
||||
#define T_RIPPERBALL 53
|
||||
#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
|
||||
#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_ITEMTORCH 73
|
||||
#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_GREENKEY 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_TEMPLARGEFLAME 98
|
||||
#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
|
||||
|
||||
|
84
Build/Compilers/Hexen/specials.acs
Normal file
84
Build/Compilers/Hexen/specials.acs
Normal file
|
@ -0,0 +1,84 @@
|
|||
//**************************************************************************
|
||||
//**
|
||||
//** specials.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
special
|
||||
80:ACS_Execute(5),
|
||||
81:ACS_Suspend(2),
|
||||
82:ACS_Terminate(2),
|
||||
83:ACS_LockedExecute(5),
|
||||
42:Ceiling_CrushAndRaise(3),
|
||||
44:Ceiling_CrushStop(1),
|
||||
43:Ceiling_LowerAndCrush(3),
|
||||
40:Ceiling_LowerByValue(3),
|
||||
41:Ceiling_RaiseByValue(3),
|
||||
45:Ceiling_CrushRaiseAndStay(3),
|
||||
69:Ceiling_MoveToValueTimes8(4),
|
||||
10:Door_Close(2),
|
||||
11:Door_Open(2),
|
||||
12:Door_Raise(3),
|
||||
13:Door_LockedRaise(4),
|
||||
20:Floor_LowerByValue(3),
|
||||
36:Floor_LowerByValueTimes8(3),
|
||||
66:Floor_LowerInstant(3),
|
||||
68:Floor_MoveToValueTimes8(4),
|
||||
21:Floor_LowerToLowest(2),
|
||||
22:Floor_LowerToNearest(2),
|
||||
28:Floor_RaiseAndCrush(3),
|
||||
23:Floor_RaiseByValue(3),
|
||||
35:Floor_RaiseByValueTimes8(3),
|
||||
67:Floor_RaiseInstant(3),
|
||||
24:Floor_RaiseToHighest(2),
|
||||
25:Floor_RaiseToNearest(2),
|
||||
95:FloorAndCeiling_LowerByValue(3),
|
||||
96:FloorAndCeiling_RaiseByValue(3),
|
||||
46:Floor_CrushStop(1),
|
||||
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),
|
||||
29:Pillar_Build(3),
|
||||
94:Pillar_BuildAndCrush(4),
|
||||
30:Pillar_Open(4),
|
||||
62:Plat_DownWaitUpStay(3),
|
||||
63:Plat_DownByValue(4),
|
||||
64:Plat_UpWaitDownStay(3),
|
||||
65:Plat_UpByValue(4),
|
||||
60:Plat_PerpetualRaise(3),
|
||||
61:Plat_Stop(1),
|
||||
6:Polyobj_MoveTimes8(4),
|
||||
4:Polyobj_Move(4),
|
||||
2:Polyobj_RotateLeft(3),
|
||||
3:Polyobj_RotateRight(3),
|
||||
7:Polyobj_DoorSwing(4),
|
||||
8:Polyobj_DoorSlide(5),
|
||||
93:Polyobj_OR_MoveTimes8(4),
|
||||
92:Polyobj_OR_Move(4),
|
||||
90:Polyobj_OR_RotateLeft(3),
|
||||
91:Polyobj_OR_RotateRight(3),
|
||||
120:Radius_Quake(5),
|
||||
140:Sector_ChangeSound(2),
|
||||
26:Stairs_BuildDown(5),
|
||||
27:Stairs_BuildUp(5),
|
||||
31:Stairs_BuildDownSync(4),
|
||||
32:Stairs_BuildUpSync(4),
|
||||
70:Teleport(1),
|
||||
71:Teleport_NoFog(1),
|
||||
74:Teleport_NewMap(2),
|
||||
72:ThrustThing(2),
|
||||
73:DamageThing(1),
|
||||
130:Thing_Activate(1),
|
||||
131:Thing_Deactivate(1),
|
||||
133:Thing_Destroy(1),
|
||||
134:Thing_Projectile(5),
|
||||
136:Thing_ProjectileGravity(5),
|
||||
132:Thing_Remove(1),
|
||||
135:Thing_Spawn(3),
|
||||
137:Thing_SpawnNoFog(3),
|
||||
138:Floor_Waggle(5);
|
13
Build/Compilers/Hexen/wvars.acs
Normal file
13
Build/Compilers/Hexen/wvars.acs
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
//**************************************************************************
|
||||
//**
|
||||
//** wvars.acs
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
/*
|
||||
world int 0:WorldFree1;
|
||||
world int 1:WorldFree2;
|
||||
world int 2:WorldFree3;
|
||||
world int 3:WorldFree4;
|
||||
*/
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue