mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Delete map configs
These belong to the High Voltage Ring repo now.
This commit is contained in:
parent
0d67b12c74
commit
283959ac11
13 changed files with 0 additions and 17486 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,53 +0,0 @@
|
||||||
// Default lump name for new map
|
|
||||||
defaultlumpname = "WADNAME";
|
|
||||||
|
|
||||||
//GZDB specific. Don't try to load lumps that don't exist.
|
|
||||||
basegame = "Doom";
|
|
||||||
|
|
||||||
//Sky textures for vanilla maps
|
|
||||||
defaultskytextures
|
|
||||||
{
|
|
||||||
SKY1 = "MAP01";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Skill levels
|
|
||||||
skills
|
|
||||||
{
|
|
||||||
0 = "Easy";
|
|
||||||
1 = "Normal";
|
|
||||||
2 = "Hard";
|
|
||||||
3 = "Master";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Skins
|
|
||||||
skins
|
|
||||||
{
|
|
||||||
sonic;
|
|
||||||
tails;
|
|
||||||
knuckles;
|
|
||||||
amy;
|
|
||||||
mighty;
|
|
||||||
fang;
|
|
||||||
eggman;
|
|
||||||
metalsonic;
|
|
||||||
motobug;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Gametypes
|
|
||||||
gametypes
|
|
||||||
{
|
|
||||||
-1 = "Grand Prix";
|
|
||||||
0 = "Race";
|
|
||||||
1 = "Battle";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Texture loading options
|
|
||||||
defaultwalltexture = "DEV_OC3";
|
|
||||||
defaultfloortexture = "DEV_GZ2";
|
|
||||||
defaultceilingtexture = "F_SKY1";
|
|
||||||
|
|
||||||
// Default texture sets
|
|
||||||
// (these are not required, but useful for new users)
|
|
||||||
texturesets
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
@ -1,180 +0,0 @@
|
||||||
common
|
|
||||||
{
|
|
||||||
// Simulate Doom brightness levels (turn this off for linear lighting)
|
|
||||||
doomlightlevels = true;
|
|
||||||
|
|
||||||
// Enables support for long (> 8 chars) texture names
|
|
||||||
// WARNING: this should only be enabled for UDMF game configurations!
|
|
||||||
// WARNING: enabling this will make maps incompatible with Doom Builder 2 and can lead to problems in Slade 3!
|
|
||||||
longtexturenames = false;
|
|
||||||
|
|
||||||
// These directory names are ignored when loading PK3/PK7/Directory resources
|
|
||||||
ignoreddirectories = ".svn .git";
|
|
||||||
|
|
||||||
// Files with these extensions are ignored when loading PK3/PK7/Directory resources
|
|
||||||
ignoredextensions = "wad pk3 pk7 bak backup1 backup2 backup3 zip rar 7z";
|
|
||||||
|
|
||||||
// Default testing parameters
|
|
||||||
testparameters = "-file \"%AP\" \"%F\" -warp %L";
|
|
||||||
testshortpaths = false;
|
|
||||||
|
|
||||||
// Action special help
|
|
||||||
actionspecialhelp = "https://wiki.srb2.org/wiki/Linedef_type_%K";
|
|
||||||
|
|
||||||
// Generalized actions
|
|
||||||
generalizedlinedefs = false;
|
|
||||||
generalizedsectors = true;
|
|
||||||
|
|
||||||
// Maximum safe map size check (0 means skip check)
|
|
||||||
safeboundary = 1;
|
|
||||||
|
|
||||||
// Map boundaries. Map objects can only be placed within these boundaries
|
|
||||||
leftboundary = -32768;
|
|
||||||
rightboundary = 32767;
|
|
||||||
topboundary = 32767;
|
|
||||||
bottomboundary = -32768;
|
|
||||||
|
|
||||||
// Texture loading options
|
|
||||||
mixtexturesflats = true;
|
|
||||||
defaulttexturescale = 1.0f;
|
|
||||||
defaultflatscale = 1.0f;
|
|
||||||
scaledtextureoffsets = true;
|
|
||||||
|
|
||||||
maxcolormapalpha = 25;
|
|
||||||
|
|
||||||
// Thing number for start position in 3D Mode
|
|
||||||
start3dmode = 3328;
|
|
||||||
|
|
||||||
// Texture sources
|
|
||||||
textures
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "textures");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Patch sources
|
|
||||||
patches
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "patches");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sprite sources
|
|
||||||
sprites
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "sprites");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Flat sources
|
|
||||||
/*
|
|
||||||
flats
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "flats");
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
mapformat_udmf
|
|
||||||
{
|
|
||||||
// The format interface handles the map data format
|
|
||||||
formatinterface = "UniversalMapSetIO";
|
|
||||||
|
|
||||||
// Default nodebuilder configurations
|
|
||||||
defaultsavecompiler = "zdbsp_udmf_normal";
|
|
||||||
defaulttestcompiler = "zdbsp_udmf_fast";
|
|
||||||
|
|
||||||
// Determines the textmap namespace
|
|
||||||
engine = "srb2";
|
|
||||||
|
|
||||||
maplumpnames
|
|
||||||
{
|
|
||||||
include("UDMF_misc.cfg", "udmfmaplumpnames_begin");
|
|
||||||
include("RingRacers_misc.cfg", "udmfmaplumpnames");
|
|
||||||
include("RingRacers_misc.cfg", "sharedmaplumpnames");
|
|
||||||
include("UDMF_misc.cfg", "udmfmaplumpnames_end");
|
|
||||||
}
|
|
||||||
|
|
||||||
universalfields
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "universalfields");
|
|
||||||
}
|
|
||||||
|
|
||||||
// When this is set to true, sectors with the same tag will light up when a line is highlighted
|
|
||||||
linetagindicatesectors = false;
|
|
||||||
localsidedeftextureoffsets = false;
|
|
||||||
distinctfloorandceilingbrightness = true;
|
|
||||||
|
|
||||||
// Special linedefs
|
|
||||||
include("RingRacers_misc.cfg", "speciallinedefs_udmf");
|
|
||||||
|
|
||||||
// Default flags for first new thing
|
|
||||||
defaultthingflags
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
// SECTOR FLAGS
|
|
||||||
sectorflags
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "sectorflags");
|
|
||||||
}
|
|
||||||
|
|
||||||
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
||||||
sectorbrightness
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "sectorbrightness");
|
|
||||||
}
|
|
||||||
|
|
||||||
damagetypes = "Generic Lava DeathPit Instakill";
|
|
||||||
|
|
||||||
// LINEDEF FLAGS
|
|
||||||
linedefflags
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "linedefflags_udmf");
|
|
||||||
}
|
|
||||||
|
|
||||||
linedefactivations
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "linedefactivations_udmf");
|
|
||||||
}
|
|
||||||
|
|
||||||
linedefflagstranslation
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "linedefflagstranslation");
|
|
||||||
}
|
|
||||||
|
|
||||||
// LINEDEF RENDERSTYLES
|
|
||||||
linedefrenderstyles
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "linedefrenderstyles");
|
|
||||||
}
|
|
||||||
|
|
||||||
// THING FLAGS
|
|
||||||
thingflags
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "thingflags_udmf");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Thing flags UDMF translation table
|
|
||||||
// This is needed for copy/paste and prefabs to work properly
|
|
||||||
// When the UDMF field name is prefixed with ! it is inverted
|
|
||||||
thingflagstranslation
|
|
||||||
{
|
|
||||||
include("RingRacers_misc.cfg", "thingflagstranslation");
|
|
||||||
}
|
|
||||||
|
|
||||||
// How to compare thing flags (for the stuck things error checker)
|
|
||||||
thingflagscompare
|
|
||||||
{
|
|
||||||
include("UDMF_misc.cfg", "thingflagscompare");
|
|
||||||
}
|
|
||||||
|
|
||||||
// THING TYPES
|
|
||||||
thingtypes
|
|
||||||
{
|
|
||||||
include("RingRacers_things.cfg", "udmf");
|
|
||||||
}
|
|
||||||
|
|
||||||
// LINEDEF TYPES
|
|
||||||
linedeftypes
|
|
||||||
{
|
|
||||||
include("RingRacers_linedefs.cfg", "udmf");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,791 +0,0 @@
|
||||||
linedefflags
|
|
||||||
{
|
|
||||||
1 = "[0] Impassable";
|
|
||||||
2 = "[1] Block Players";
|
|
||||||
4 = "[2] Double-Sided";
|
|
||||||
8 = "[3] Upper Unpegged";
|
|
||||||
16 = "[4] Lower Unpegged";
|
|
||||||
32 = "[5] Slope Skew";
|
|
||||||
64 = "[6] Not Climbable";
|
|
||||||
128 = "[7] No Midtexture Skew";
|
|
||||||
256 = "[8] Peg Midtexture";
|
|
||||||
512 = "[9] Solid Midtexture";
|
|
||||||
1024 = "[10] Repeat Midtexture";
|
|
||||||
2048 = "[11] Netgame Only";
|
|
||||||
4096 = "[12] No Netgame";
|
|
||||||
8192 = "[13] Block Enemies";
|
|
||||||
16384 = "[14] Don't Bounce";
|
|
||||||
32768 = "[15] FOF Transfer";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Linedef flags UDMF translation table
|
|
||||||
// This is needed for copy/paste and prefabs to work properly
|
|
||||||
// When the UDMF field name is prefixed with ! it is inverted
|
|
||||||
linedefflagstranslation
|
|
||||||
{
|
|
||||||
1 = "blocking";
|
|
||||||
2 = "blockplayers";
|
|
||||||
4 = "twosided";
|
|
||||||
8 = "dontpegtop";
|
|
||||||
16 = "dontpegbottom";
|
|
||||||
32 = "skewtd";
|
|
||||||
64 = "noclimb";
|
|
||||||
128 = "noskew";
|
|
||||||
256 = "midpeg";
|
|
||||||
512 = "midsolid";
|
|
||||||
1024 = "wrapmidtex";
|
|
||||||
2048 = "netonly";
|
|
||||||
4096 = "nonet";
|
|
||||||
8192 = "blockmonsters";
|
|
||||||
16384 = "notbouncy";
|
|
||||||
32768 = "transfer";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
linedefflags_udmf
|
|
||||||
{
|
|
||||||
blocking = "Impassable";
|
|
||||||
blockplayers = "Block Players";
|
|
||||||
twosided = "Double-Sided";
|
|
||||||
dontpegtop = "Upper Unpegged";
|
|
||||||
dontpegbottom = "Lower Unpegged";
|
|
||||||
skewtd = "Slope Skew";
|
|
||||||
noclimb = "Not Climbable";
|
|
||||||
noskew = "No Midtexture Skew";
|
|
||||||
midpeg = "Peg Midtexture";
|
|
||||||
midsolid = "Solid Midtexture";
|
|
||||||
wrapmidtex = "Repeat Midtexture";
|
|
||||||
netonly = "Netgame Only";
|
|
||||||
nonet = "No Netgame";
|
|
||||||
blockmonsters = "Block Enemies";
|
|
||||||
bouncy = "Don't Bump";
|
|
||||||
transfer = "FOF Transfer";
|
|
||||||
}
|
|
||||||
|
|
||||||
linedefactivations
|
|
||||||
{
|
|
||||||
1 = "When player crosses";
|
|
||||||
2 = "When enemy crosses";
|
|
||||||
4 = "When projectile crosses";
|
|
||||||
8 = "When player bumps";
|
|
||||||
16 = "When enemy bumps";
|
|
||||||
32 = "On projectile impact";
|
|
||||||
}
|
|
||||||
|
|
||||||
linedefactivations_udmf
|
|
||||||
{
|
|
||||||
repeatspecial
|
|
||||||
{
|
|
||||||
name = "Repeatable action";
|
|
||||||
istrigger = false;
|
|
||||||
}
|
|
||||||
playercross = "When player crosses";
|
|
||||||
playerpush = "When player bumps";
|
|
||||||
monstercross = "When enemy crosses";
|
|
||||||
monsterpush = "When enemy bumps";
|
|
||||||
missilecross = "When projectile crosses";
|
|
||||||
impact = "On projectile impact";
|
|
||||||
}
|
|
||||||
|
|
||||||
linedefrenderstyles
|
|
||||||
{
|
|
||||||
translucent = "Translucent";
|
|
||||||
add = "Add";
|
|
||||||
subtract = "Subtract";
|
|
||||||
reversesubtract = "Reverse subtract";
|
|
||||||
modulate = "Modulate";
|
|
||||||
fog = "Fog";
|
|
||||||
}
|
|
||||||
|
|
||||||
sectorflags
|
|
||||||
{
|
|
||||||
colormapfog = "Fog Planes in Colormap";
|
|
||||||
colormapfadesprites = "Fade Fullbright in Colormap";
|
|
||||||
colormapprotected = "Protected Colormap";
|
|
||||||
flipspecial_nofloor = "No Trigger on Floor Touch";
|
|
||||||
flipspecial_ceiling = "Trigger on Ceiling Touch";
|
|
||||||
triggerspecial_touch = "Trigger on Edge Touch";
|
|
||||||
triggerspecial_headbump = "Trigger on Headbump";
|
|
||||||
triggerline_plane = "Linedef Trigger Requires Plane Touch";
|
|
||||||
triggerline_mobj = "Non-Pushables Can Trigger Linedef";
|
|
||||||
invertprecip = "Invert Precipitation";
|
|
||||||
gravityflip = "Flip Objects in Reverse Gravity";
|
|
||||||
heatwave = "Heat Wave";
|
|
||||||
noclipcamera = "Intangible to the Camera";
|
|
||||||
ripple_floor = "Water Ripple Floor";
|
|
||||||
ripple_ceiling = "Water Ripple Ceiling";
|
|
||||||
invertencore = "Encore Remap Invert";
|
|
||||||
nostepup = "Wall Sector (no step-up)";
|
|
||||||
doublestepup = "Ramp Sector (double step-up/down)";
|
|
||||||
nostepdown = "Non-Ramp Sector (no step-down)";
|
|
||||||
starpostactivator = "Star Post Activator";
|
|
||||||
exit = "Exit";
|
|
||||||
fan = "Fan Sector";
|
|
||||||
deleteitems = "Delete Items";
|
|
||||||
zoomtubestart = "Zoom Tube Start";
|
|
||||||
zoomtubeend = "Zoom Tube End";
|
|
||||||
}
|
|
||||||
|
|
||||||
thingflags
|
|
||||||
{
|
|
||||||
1 = "[1] Extra";
|
|
||||||
2 = "[2] Flip";
|
|
||||||
4 = "[4] Special";
|
|
||||||
8 = "[8] Ambush";
|
|
||||||
}
|
|
||||||
|
|
||||||
// THING FLAGS
|
|
||||||
thingflags_udmf
|
|
||||||
{
|
|
||||||
flip = "Flip";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Thing flags UDMF translation table
|
|
||||||
// This is needed for copy/paste and prefabs to work properly
|
|
||||||
// When the UDMF field name is prefixed with ! it is inverted
|
|
||||||
thingflagstranslation
|
|
||||||
{
|
|
||||||
2 = "flip";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// DEFAULT SECTOR BRIGHTNESS LEVELS
|
|
||||||
sectorbrightness
|
|
||||||
{
|
|
||||||
255;
|
|
||||||
248;
|
|
||||||
240;
|
|
||||||
232;
|
|
||||||
224;
|
|
||||||
216;
|
|
||||||
208;
|
|
||||||
200;
|
|
||||||
192;
|
|
||||||
184;
|
|
||||||
176;
|
|
||||||
168;
|
|
||||||
160;
|
|
||||||
152;
|
|
||||||
144;
|
|
||||||
136;
|
|
||||||
128;
|
|
||||||
120;
|
|
||||||
112;
|
|
||||||
104;
|
|
||||||
96;
|
|
||||||
88;
|
|
||||||
80;
|
|
||||||
72;
|
|
||||||
64;
|
|
||||||
56;
|
|
||||||
48;
|
|
||||||
40;
|
|
||||||
32;
|
|
||||||
24;
|
|
||||||
16;
|
|
||||||
8;
|
|
||||||
0;
|
|
||||||
}
|
|
||||||
|
|
||||||
numbrightnesslevels = 32;
|
|
||||||
|
|
||||||
/*
|
|
||||||
TEXTURES AND FLAT SOURCES
|
|
||||||
This tells Doom Builder where to find the information for textures
|
|
||||||
and flats in the IWAD file, Addition WAD file and Map WAD file.
|
|
||||||
|
|
||||||
Start and end lumps must be given in a structure (of which the
|
|
||||||
key name doesnt matter) and any textures or flats in between them
|
|
||||||
are loaded in either the textures category or flats category.
|
|
||||||
|
|
||||||
For textures: PNAMES, TEXTURE1 and TEXTURE2 are loaded by default.
|
|
||||||
*/
|
|
||||||
textures
|
|
||||||
{
|
|
||||||
zdoom1
|
|
||||||
{
|
|
||||||
start = "TX_START";
|
|
||||||
end = "TX_END";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
ADDITIONAL UNIVERSAL DOOM MAP FORMAT FIELD DEFINITIONS
|
|
||||||
Only add fields here that Doom Builder does not edit with its own user-interface!
|
|
||||||
The "default" field must match the UDMF specifications!
|
|
||||||
|
|
||||||
Field data types:
|
|
||||||
0 = integer *
|
|
||||||
1 = float
|
|
||||||
2 = string
|
|
||||||
3 = bool
|
|
||||||
4 = linedef action (integer) *
|
|
||||||
5 = sector effect (integer) *
|
|
||||||
6 = texture (string)
|
|
||||||
7 = flat (string)
|
|
||||||
8 = angle in degrees (integer)
|
|
||||||
9 = angle in radians (float)
|
|
||||||
10 = XXRRGGBB color (integer)
|
|
||||||
11 = enum option (integer) *
|
|
||||||
12 = enum bits (integer) *
|
|
||||||
13 = sector tag (integer) *
|
|
||||||
14 = thing tag (integer) *
|
|
||||||
15 = linedef tag (integer) *
|
|
||||||
16 = enum option (string)
|
|
||||||
17 = angle in degrees (float)
|
|
||||||
22 = byte angle (integer)
|
|
||||||
*/
|
|
||||||
universalfields
|
|
||||||
{
|
|
||||||
sector
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
linedef
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
sidedef
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
thing
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
MAP LUMP NAMES
|
|
||||||
Map lumps are loaded with the map as long as they are right after each other. When the editor
|
|
||||||
meets a lump which is not defined in this list it will ignore the map if not satisfied.
|
|
||||||
The order of items defines the order in which lumps will be written to WAD file on save.
|
|
||||||
To indicate the map header lump, use ~MAP
|
|
||||||
|
|
||||||
Legenda:
|
|
||||||
required = Lump is required to exist.
|
|
||||||
blindcopy = Lump will be copied along with the map blindly. (useful for lumps Doom Builder doesn't use)
|
|
||||||
nodebuild = The nodebuilder generates this lump.
|
|
||||||
allowempty = The nodebuilder is allowed to leave this lump empty.
|
|
||||||
scriptbuild = This lump is a text-based script, which should be compiled using current script compiler;
|
|
||||||
script = This lump is a text-based script. Specify the filename of the script configuration to use.
|
|
||||||
*/
|
|
||||||
|
|
||||||
doommaplumpnames
|
|
||||||
{
|
|
||||||
~MAP
|
|
||||||
{
|
|
||||||
required = true;
|
|
||||||
blindcopy = true;
|
|
||||||
nodebuild = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
THINGS
|
|
||||||
{
|
|
||||||
required = true;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
LINEDEFS
|
|
||||||
{
|
|
||||||
required = true;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
SIDEDEFS
|
|
||||||
{
|
|
||||||
required = true;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
VERTEXES
|
|
||||||
{
|
|
||||||
required = true;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
SEGS
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
SSECTORS
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
NODES
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
SECTORS
|
|
||||||
{
|
|
||||||
required = true;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
REJECT
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
BLOCKMAP
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
udmfmaplumpnames
|
|
||||||
{
|
|
||||||
ZNODES
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
REJECT
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
BLOCKMAP
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = true;
|
|
||||||
allowempty = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Because Ring Racers has a versatile virtual resource
|
|
||||||
// system, we can separate these out a bit more.
|
|
||||||
sharedmaplumpnames
|
|
||||||
{
|
|
||||||
BEHAVIOR
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
blindcopy = true;
|
|
||||||
nodebuild = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
SCRIPTS
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
nodebuild = false;
|
|
||||||
script = "RingRacers_ACS.cfg";
|
|
||||||
}
|
|
||||||
|
|
||||||
PICTURE
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
blindcopy = true;
|
|
||||||
nodebuild = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
MINIMAP
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
blindcopy = true;
|
|
||||||
nodebuild = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
TWEAKMAP
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
blindcopy = true;
|
|
||||||
nodebuild = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
ENCORE
|
|
||||||
{
|
|
||||||
required = false;
|
|
||||||
blindcopy = true;
|
|
||||||
nodebuild = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ENUMERATIONS
|
|
||||||
// These are enumerated lists for linedef types and UDMF fields.
|
|
||||||
// Reserved names are: angledeg, anglerad, color, texture, flat
|
|
||||||
enums
|
|
||||||
{
|
|
||||||
falsetrue
|
|
||||||
{
|
|
||||||
0 = "False";
|
|
||||||
1 = "True";
|
|
||||||
}
|
|
||||||
|
|
||||||
yesno
|
|
||||||
{
|
|
||||||
0 = "Yes";
|
|
||||||
1 = "No";
|
|
||||||
}
|
|
||||||
|
|
||||||
noyes
|
|
||||||
{
|
|
||||||
0 = "No";
|
|
||||||
1 = "Yes";
|
|
||||||
}
|
|
||||||
|
|
||||||
setadd
|
|
||||||
{
|
|
||||||
0 = "Set";
|
|
||||||
1 = "Add";
|
|
||||||
}
|
|
||||||
|
|
||||||
onoff
|
|
||||||
{
|
|
||||||
0 = "On";
|
|
||||||
1 = "Off";
|
|
||||||
}
|
|
||||||
|
|
||||||
offon
|
|
||||||
{
|
|
||||||
0 = "Off";
|
|
||||||
1 = "On";
|
|
||||||
}
|
|
||||||
|
|
||||||
updown
|
|
||||||
{
|
|
||||||
0 = "Up";
|
|
||||||
1 = "Down";
|
|
||||||
}
|
|
||||||
|
|
||||||
downup
|
|
||||||
{
|
|
||||||
0 = "Down";
|
|
||||||
1 = "Up";
|
|
||||||
}
|
|
||||||
|
|
||||||
frontback
|
|
||||||
{
|
|
||||||
0 = "None";
|
|
||||||
1 = "Front";
|
|
||||||
2 = "Back";
|
|
||||||
}
|
|
||||||
|
|
||||||
frontbackboth
|
|
||||||
{
|
|
||||||
0 = "Front";
|
|
||||||
1 = "Back";
|
|
||||||
2 = "Front and back";
|
|
||||||
}
|
|
||||||
|
|
||||||
tangibility
|
|
||||||
{
|
|
||||||
1 = "Intangible from top";
|
|
||||||
2 = "Intangible from bottom";
|
|
||||||
4 = "Don't block players";
|
|
||||||
8 = "Don't block non-players";
|
|
||||||
}
|
|
||||||
|
|
||||||
floorceiling
|
|
||||||
{
|
|
||||||
0 = "Floor";
|
|
||||||
1 = "Ceiling";
|
|
||||||
2 = "Both";
|
|
||||||
}
|
|
||||||
|
|
||||||
scrollcarry
|
|
||||||
{
|
|
||||||
0 = "Scroll and carry";
|
|
||||||
1 = "Scroll";
|
|
||||||
2 = "Carry";
|
|
||||||
}
|
|
||||||
|
|
||||||
scrolltype
|
|
||||||
{
|
|
||||||
0 = "Regular";
|
|
||||||
1 = "Accelerative";
|
|
||||||
2 = "Displacement";
|
|
||||||
}
|
|
||||||
|
|
||||||
comparison
|
|
||||||
{
|
|
||||||
0 = "Equal";
|
|
||||||
1 = "Less than or equal";
|
|
||||||
2 = "Greater than or equal";
|
|
||||||
}
|
|
||||||
|
|
||||||
triggertype
|
|
||||||
{
|
|
||||||
0 = "Continuous";
|
|
||||||
1 = "Once";
|
|
||||||
2 = "Each time on entry";
|
|
||||||
3 = "Each time on entry/exit";
|
|
||||||
}
|
|
||||||
|
|
||||||
xtriggertype
|
|
||||||
{
|
|
||||||
0 = "Continuous";
|
|
||||||
1 = "Each time on entry";
|
|
||||||
2 = "Each time on entry/exit";
|
|
||||||
}
|
|
||||||
|
|
||||||
team
|
|
||||||
{
|
|
||||||
0 = "Red";
|
|
||||||
1 = "Blue";
|
|
||||||
}
|
|
||||||
|
|
||||||
flagcheck
|
|
||||||
{
|
|
||||||
0 = "Has all";
|
|
||||||
1 = "Has any";
|
|
||||||
2 = "Has exactly";
|
|
||||||
3 = "Doesn't have all";
|
|
||||||
4 = "Doesn't have any";
|
|
||||||
}
|
|
||||||
|
|
||||||
maceflags
|
|
||||||
{
|
|
||||||
1 = "Double size";
|
|
||||||
2 = "No sounds";
|
|
||||||
4 = "Player-turnable chain";
|
|
||||||
8 = "Swing instead of spin";
|
|
||||||
16 = "Make chain from end item";
|
|
||||||
32 = "Spawn link at origin";
|
|
||||||
64 = "Clip inside ground";
|
|
||||||
128 = "No distance check";
|
|
||||||
}
|
|
||||||
|
|
||||||
pushablebehavior
|
|
||||||
{
|
|
||||||
0 = "Normal";
|
|
||||||
1 = "Slide";
|
|
||||||
2 = "Immovable";
|
|
||||||
3 = "Classic";
|
|
||||||
}
|
|
||||||
|
|
||||||
monitorrespawn
|
|
||||||
{
|
|
||||||
0 = "Same item";
|
|
||||||
1 = "Random (Weak)";
|
|
||||||
2 = "Random (Strong)";
|
|
||||||
}
|
|
||||||
|
|
||||||
blendmodes
|
|
||||||
{
|
|
||||||
0 = "Translucent";
|
|
||||||
1 = "Add";
|
|
||||||
2 = "Subtract";
|
|
||||||
3 = "Reverse subtract";
|
|
||||||
4 = "Modulate";
|
|
||||||
}
|
|
||||||
|
|
||||||
rritems
|
|
||||||
{
|
|
||||||
0 = "Rings";
|
|
||||||
1 = "Sneaker";
|
|
||||||
2 = "Rocket Sneaker";
|
|
||||||
3 = "Invincibility";
|
|
||||||
4 = "Banana";
|
|
||||||
5 = "Eggman Mark";
|
|
||||||
6 = "Orbinaut";
|
|
||||||
7 = "Jawz";
|
|
||||||
8 = "Proximity Mine";
|
|
||||||
9 = "Land Mine";
|
|
||||||
10 = "Ballhog";
|
|
||||||
11 = "SPB";
|
|
||||||
12 = "Grow";
|
|
||||||
13 = "Shrink";
|
|
||||||
14 = "Lightning Shield";
|
|
||||||
15 = "Bubble Shield";
|
|
||||||
16 = "Flame Shield";
|
|
||||||
17 = "Hyudoro";
|
|
||||||
18 = "Pogo Spring";
|
|
||||||
19 = "Super Ring";
|
|
||||||
20 = "Kitchen Sink";
|
|
||||||
21 = "Drop Target";
|
|
||||||
22 = "Garden Top";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//Default things filters
|
|
||||||
thingsfilters
|
|
||||||
{
|
|
||||||
filter0
|
|
||||||
{
|
|
||||||
name = "Player starts";
|
|
||||||
category = "starts";
|
|
||||||
type = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
filter1
|
|
||||||
{
|
|
||||||
name = "Normal Gravity";
|
|
||||||
category = "";
|
|
||||||
type = -1;
|
|
||||||
|
|
||||||
fields
|
|
||||||
{
|
|
||||||
2 = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
filter2
|
|
||||||
{
|
|
||||||
name = "Reverse Gravity";
|
|
||||||
category = "";
|
|
||||||
type = -1;
|
|
||||||
|
|
||||||
fields
|
|
||||||
{
|
|
||||||
2 = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
filter3
|
|
||||||
{
|
|
||||||
name = "Rings";
|
|
||||||
category = "";
|
|
||||||
type = 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
filter4
|
|
||||||
{
|
|
||||||
name = "Waypoints";
|
|
||||||
category = "waypoints";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Special linedefs
|
|
||||||
speciallinedefs
|
|
||||||
{
|
|
||||||
soundlinedefflag = 64; // See linedefflags
|
|
||||||
singlesidedflag = 1; // See linedefflags
|
|
||||||
doublesidedflag = 4; // See linedefflags
|
|
||||||
impassableflag = 1;
|
|
||||||
upperunpeggedflag = 8;
|
|
||||||
lowerunpeggedflag = 16;
|
|
||||||
repeatmidtextureflag = 1024;
|
|
||||||
pegmidtextureflag = 256;
|
|
||||||
}
|
|
||||||
|
|
||||||
speciallinedefs_udmf
|
|
||||||
{
|
|
||||||
soundlinedefflag = "noclimb";
|
|
||||||
singlesidedflag = "blocking";
|
|
||||||
doublesidedflag = "twosided";
|
|
||||||
impassableflag = "blocking";
|
|
||||||
upperunpeggedflag = "dontpegtop";
|
|
||||||
lowerunpeggedflag = "dontpegbottom";
|
|
||||||
repeatmidtextureflag = "wrapmidtex";
|
|
||||||
pegmidtextureflag = "midpeg";
|
|
||||||
}
|
|
||||||
|
|
||||||
scriptlumpnames
|
|
||||||
{
|
|
||||||
MAINCFG
|
|
||||||
{
|
|
||||||
script = "SOC.cfg";
|
|
||||||
}
|
|
||||||
|
|
||||||
OBJCTCFG
|
|
||||||
{
|
|
||||||
script = "SOC.cfg";
|
|
||||||
}
|
|
||||||
|
|
||||||
SOC_
|
|
||||||
{
|
|
||||||
script = "SOC.cfg";
|
|
||||||
isprefix = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
LUA_
|
|
||||||
{
|
|
||||||
script = "Lua.cfg";
|
|
||||||
isprefix = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Texture sources
|
|
||||||
textures
|
|
||||||
{
|
|
||||||
zdoom1
|
|
||||||
{
|
|
||||||
start = "TX_START";
|
|
||||||
end = "TX_END";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Patch sources
|
|
||||||
patches
|
|
||||||
{
|
|
||||||
standard1
|
|
||||||
{
|
|
||||||
start = "P_START";
|
|
||||||
end = "P_END";
|
|
||||||
}
|
|
||||||
|
|
||||||
standard2
|
|
||||||
{
|
|
||||||
start = "PP_START";
|
|
||||||
end = "PP_END";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sprite sources
|
|
||||||
sprites
|
|
||||||
{
|
|
||||||
standard1
|
|
||||||
{
|
|
||||||
start = "S_START";
|
|
||||||
end = "S_END";
|
|
||||||
}
|
|
||||||
|
|
||||||
standard2
|
|
||||||
{
|
|
||||||
start = "SS_START";
|
|
||||||
end = "SS_END";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Flat sources
|
|
||||||
flats
|
|
||||||
{
|
|
||||||
standard1
|
|
||||||
{
|
|
||||||
start = "F_START";
|
|
||||||
end = "F_END";
|
|
||||||
}
|
|
||||||
|
|
||||||
standard2
|
|
||||||
{
|
|
||||||
start = "FF_START";
|
|
||||||
end = "FF_END";
|
|
||||||
}
|
|
||||||
|
|
||||||
standard3
|
|
||||||
{
|
|
||||||
start = "FF_START";
|
|
||||||
end = "F_END";
|
|
||||||
}
|
|
||||||
|
|
||||||
standard4
|
|
||||||
{
|
|
||||||
start = "F_START";
|
|
||||||
end = "FF_END";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
// Don't feel like updating, these are only for Doom format anyway...
|
|
||||||
sectortypes
|
|
||||||
{
|
|
||||||
0 = "Normal";
|
|
||||||
}
|
|
||||||
|
|
||||||
gen_sectortypes
|
|
||||||
{
|
|
||||||
first
|
|
||||||
{
|
|
||||||
0 = "Normal";
|
|
||||||
}
|
|
||||||
|
|
||||||
second
|
|
||||||
{
|
|
||||||
0 = "Normal";
|
|
||||||
}
|
|
||||||
|
|
||||||
third
|
|
||||||
{
|
|
||||||
0 = "Normal";
|
|
||||||
}
|
|
||||||
|
|
||||||
fourth
|
|
||||||
{
|
|
||||||
0 = "Normal";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,41 +0,0 @@
|
||||||
/************************************************************************\
|
|
||||||
Ultimate Doom Builder Game Configuration for Dr. Robotnik's Ring Racers
|
|
||||||
\************************************************************************/
|
|
||||||
|
|
||||||
// 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 = "Dr. Robotnik's Ring Racers (UDMF)";
|
|
||||||
|
|
||||||
// This is the simplified game engine/sourceport name
|
|
||||||
engine = "zdoom";
|
|
||||||
|
|
||||||
// Settings common to all games and all map formats
|
|
||||||
include("Includes\\RingRacers_common.cfg", "common");
|
|
||||||
|
|
||||||
// Settings common to text map format
|
|
||||||
include("Includes\\RingRacers_common.cfg", "mapformat_udmf");
|
|
||||||
|
|
||||||
include("Includes\\Game_RingRacers.cfg");
|
|
||||||
|
|
||||||
// Script lumps detection
|
|
||||||
scriptlumpnames
|
|
||||||
{
|
|
||||||
include("Includes\\RingRacers_misc.cfg", "scriptlumpnames");
|
|
||||||
}
|
|
||||||
|
|
||||||
//Default things filters
|
|
||||||
thingsfilters
|
|
||||||
{
|
|
||||||
include("Includes\\RingRacers_misc.cfg", "thingsfilters");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 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\\RingRacers_misc.cfg", "enums");
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
|
|
||||||
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)
|
|
||||||
ringracers_gdcc
|
|
||||||
{
|
|
||||||
interface = "AccCompiler";
|
|
||||||
program = "gdcc-acc.exe";
|
|
||||||
zcommon = "rrcommon.acs";
|
|
||||||
zdefs = "rrdefs.acs";
|
|
||||||
zspecial = "rrspecial.acs";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright(C) 2015 David Hill
|
|
||||||
// Copyright(C) 2022 Sally Cochenour
|
|
||||||
//
|
|
||||||
// See COPYLIB for license information.
|
|
||||||
//
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Header for target library libacs.
|
|
||||||
//
|
|
||||||
// Defines for Dr. Robotnik's Ring Racers' ACS.
|
|
||||||
//
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifndef __GDCC_Header__ACS__rrcommon_acs__
|
|
||||||
#define __GDCC_Header__ACS__rrcommon_acs__
|
|
||||||
|
|
||||||
#include "rrspecial.acs"
|
|
||||||
#include "rrdefs.acs"
|
|
||||||
|
|
||||||
#endif//__GDCC_Header__ACS__rrcommon_acs__
|
|
||||||
|
|
||||||
|
|
@ -1,156 +0,0 @@
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Header for target library libacs.
|
|
||||||
//
|
|
||||||
// Defines for Dr. Robotnik's Ring Racers' ACS.
|
|
||||||
//
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifndef __GDCC_Header__ACS__rrdefs_acs__
|
|
||||||
#define __GDCC_Header__ACS__rrdefs_acs__
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------|
|
|
||||||
// Macros |
|
|
||||||
//
|
|
||||||
|
|
||||||
#define TRUE (1)
|
|
||||||
#define FALSE (0)
|
|
||||||
|
|
||||||
#define ON (1)
|
|
||||||
#define OFF (0)
|
|
||||||
|
|
||||||
#define YES (1)
|
|
||||||
#define NO (0)
|
|
||||||
|
|
||||||
#define FLAG_NOCHANGE (0)
|
|
||||||
#define FLAG_ADD (1)
|
|
||||||
#define FLAG_REMOVE (2)
|
|
||||||
|
|
||||||
#define PLANE_FLOOR (0)
|
|
||||||
#define PLANE_CEILING (1)
|
|
||||||
#define PLANE_BOTH (2)
|
|
||||||
|
|
||||||
#define SIDE_FRONT (0)
|
|
||||||
#define SIDE_BACK (1)
|
|
||||||
#define SIDE_BOTH (2)
|
|
||||||
|
|
||||||
#define TEXTURE_TOP (0)
|
|
||||||
#define TEXTURE_MIDDLE (1)
|
|
||||||
#define TEXTURE_BOTTOM (2)
|
|
||||||
|
|
||||||
#define TAG_REPLACEFIRST (0)
|
|
||||||
#define TAG_ADD (1)
|
|
||||||
#define TAG_REMOVE (2)
|
|
||||||
|
|
||||||
#define LIGHT_COPY_NOSECTOR (1)
|
|
||||||
#define LIGHT_COPY_NOFLOOR (1<<1)
|
|
||||||
#define LIGHT_COPY_NOCEILING (1<<2)
|
|
||||||
|
|
||||||
#define LIGHT_BLINK_USETARGET (1)
|
|
||||||
#define LIGHT_BLINK_SYNC (1<<1)
|
|
||||||
|
|
||||||
#define LIGHT_FADE_RELATIVE (1)
|
|
||||||
#define LIGHT_FADE_OVERRIDE (1<<1)
|
|
||||||
#define LIGHT_FADE_TICBASED (1<<2)
|
|
||||||
|
|
||||||
#define LIGHT_AREA_SECTOR (0)
|
|
||||||
#define LIGHT_AREA_FLOOR (1)
|
|
||||||
#define LIGHT_AREA_CEILING (2)
|
|
||||||
|
|
||||||
#define TELEPORT_SILENT (1)
|
|
||||||
#define TELEPORT_KEEPANGLE (1<<1)
|
|
||||||
#define TELEPORT_KEEPMOMENTUM (1<<2)
|
|
||||||
#define TELEPORT_RELATIVE (1<<3)
|
|
||||||
|
|
||||||
#define MUSIC_ALLPLAYERS (1)
|
|
||||||
#define MUSIC_NOLOOP (1<<2)
|
|
||||||
#define MUSIC_NOCREDIT (1<<3)
|
|
||||||
#define MUSIC_NORELOAD (1<<4)
|
|
||||||
#define MUSIC_FORCERESET (1<<5)
|
|
||||||
#define MUSIC_OFFSET (1<<6)
|
|
||||||
#define MUSIC_FADE (1<<7)
|
|
||||||
|
|
||||||
#define SFX_SOURCE_TRIGGERMOBJ (0)
|
|
||||||
#define SFX_SOURCE_TRIGGERSECTOR (1)
|
|
||||||
#define SFX_SOURCE_NOWHERE (2)
|
|
||||||
#define SFX_SOURCE_TAGGEDSECTOR (3)
|
|
||||||
|
|
||||||
#define SFX_LISTEN_EVERYONE (0)
|
|
||||||
#define SFX_LISTEN_TRIGGERER (1)
|
|
||||||
#define SFX_LISTEN_TAGGEDSECTOR (2)
|
|
||||||
|
|
||||||
#define CRUMBLE_NORETURN (1)
|
|
||||||
#define CRUMBLE_CHECKFLAG (1<<1)
|
|
||||||
|
|
||||||
#define COLORMAP_RELATIVE (1)
|
|
||||||
#define COLORMAP_SUBLIGHTR (1<<1)
|
|
||||||
#define COLORMAP_SUBLIGHTG (1<<2)
|
|
||||||
#define COLORMAP_SUBLIGHTB (1<<3)
|
|
||||||
#define COLORMAP_SUBLIGHTA (1<<4)
|
|
||||||
#define COLORMAP_SUBFADER (1<<5)
|
|
||||||
#define COLORMAP_SUBFADEG (1<<6)
|
|
||||||
#define COLORMAP_SUBFADEB (1<<7)
|
|
||||||
#define COLORMAP_SUBFADEA (1<<8)
|
|
||||||
#define COLORMAP_SUBFADESTART (1<<9)
|
|
||||||
#define COLORMAP_SUBFADEEND (1<<10)
|
|
||||||
#define COLORMAP_IGNOREFLAGS (1<<11)
|
|
||||||
#define COLORMAP_FROMBLACK (1<<12)
|
|
||||||
#define COLORMAP_OVERRIDE (1<<13)
|
|
||||||
|
|
||||||
#define SKYBOX_VIEWPOINT (0)
|
|
||||||
#define SKYBOX_CENTERPOINT (1)
|
|
||||||
#define SKYBOX_BOTH (2)
|
|
||||||
|
|
||||||
#define ALPHA_SET_RELATIVE (1)
|
|
||||||
#define ALPHA_SET_DONTDOTRANSLUCENT (1<<1)
|
|
||||||
|
|
||||||
#define ALPHA_FADE_RELATIVE (1)
|
|
||||||
#define ALPHA_FADE_OVERRIDE (1<<1)
|
|
||||||
#define ALPHA_FADE_TICBASED (1<<2)
|
|
||||||
#define ALPHA_FADE_IGNORECOLLISION (1<<3)
|
|
||||||
#define ALPHA_FADE_GHOSTFADE (1<<4)
|
|
||||||
#define ALPHA_FADE_DONTDOTRANSLUCENT (1<<5)
|
|
||||||
#define ALPHA_FADE_DONTDOEXISTS (1<<6)
|
|
||||||
#define ALPHA_FADE_DONTDOLIGHTING (1<<7)
|
|
||||||
#define ALPHA_FADE_DONTDOCOLORMAP (1<<8)
|
|
||||||
#define ALPHA_FADE_USEEXACTALPHA (1<<9)
|
|
||||||
|
|
||||||
#define PROMPT_CLOSE (1)
|
|
||||||
#define PROMPT_RUNPOSTEXEC (1<<1)
|
|
||||||
#define PROMPT_CALLBYNAME (1<<2)
|
|
||||||
#define PROMPT_KEEPCONTROLS (1<<3)
|
|
||||||
#define PROMPT_KEEPREALTIME (1<<4)
|
|
||||||
|
|
||||||
#define PO_ROTATE_DONTROTATEOTHERS (1)
|
|
||||||
#define PO_ROTATE_DONTROTATEPLAYERS (1<<1)
|
|
||||||
#define PO_ROTATE_CONTINUOUS (1<<2)
|
|
||||||
#define PO_ROTATE_OVERRIDE (1<<3)
|
|
||||||
|
|
||||||
#define PO_WP_RETURN_STOP (0)
|
|
||||||
#define PO_WP_RETURN_WRAP (1)
|
|
||||||
#define PO_WP_RETURN_COMEBACK (2)
|
|
||||||
|
|
||||||
#define PO_WP_REVERSE (1)
|
|
||||||
#define PO_WP_LOOP (1<<1)
|
|
||||||
|
|
||||||
#define PO_FADE_RELATIVE (1)
|
|
||||||
#define PO_FADE_OVERRIDE (1<<1)
|
|
||||||
#define PO_FADE_TICBASED (1<<2)
|
|
||||||
#define PO_FADE_IGNORECOLLISION (1<<3)
|
|
||||||
#define PO_FADE_GHOSTFADE (1<<4)
|
|
||||||
|
|
||||||
#define TICRATE (35)
|
|
||||||
#define FRACBITS (16)
|
|
||||||
#define FRACUNIT (1<<FRACBITS)
|
|
||||||
|
|
||||||
#define GAMETYPE_RACE (0)
|
|
||||||
#define GAMETYPE_BATTLE (1)
|
|
||||||
|
|
||||||
#define GAMESPEED_EASY (0)
|
|
||||||
#define GAMESPEED_NORMAL (1)
|
|
||||||
#define GAMESPEED_HARD (2)
|
|
||||||
|
|
||||||
#define TAG_ALL (65535)
|
|
||||||
|
|
||||||
#endif//__GDCC_Header__ACS__rrdefs_acs__
|
|
||||||
|
|
||||||
|
|
@ -1,306 +0,0 @@
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright(C) 2015-2017 David Hill
|
|
||||||
// Copyright(C) 2022 Sally Cochenour
|
|
||||||
//
|
|
||||||
// See COPYLIB for license information.
|
|
||||||
//
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Header for target library libacs.
|
|
||||||
//
|
|
||||||
// Defines for Dr. Robotnik's Ring Racers' ACS.
|
|
||||||
//
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#ifndef __GDCC_Header__ACS__rrspecial_acs__
|
|
||||||
#define __GDCC_Header__ACS__rrspecial_acs__
|
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------|
|
|
||||||
// Macros |
|
|
||||||
//
|
|
||||||
|
|
||||||
#define ACS_ExecuteWait(name, ...) \
|
|
||||||
do \
|
|
||||||
{ \
|
|
||||||
str __execute_wait_name = (name); \
|
|
||||||
ACS_Execute(__execute_wait_name, __VA_ARGS__); \
|
|
||||||
ScriptWait(__execute_wait_name); \
|
|
||||||
} \
|
|
||||||
while(0)
|
|
||||||
|
|
||||||
#define ACS_PrintPropertyBase() \
|
|
||||||
(char): PrintChar, \
|
|
||||||
(str): PrintString, \
|
|
||||||
\
|
|
||||||
a(global): PrintGlobalCharArray, \
|
|
||||||
a(global): PrintGlobalCharRange, \
|
|
||||||
a(local): PrintLocalCharArray, \
|
|
||||||
a(local): PrintLocalCharRange, \
|
|
||||||
a(module): PrintModuleCharArray, \
|
|
||||||
a(module): PrintModuleCharRange, \
|
|
||||||
a(world): PrintWorldCharArray, \
|
|
||||||
a(world): PrintWorldCharRange, \
|
|
||||||
\
|
|
||||||
b: PrintBinary, \
|
|
||||||
c: PrintChar, \
|
|
||||||
d: PrintInt, \
|
|
||||||
f: PrintFixed, \
|
|
||||||
i: PrintInt, \
|
|
||||||
s: PrintString, \
|
|
||||||
x: PrintHex
|
|
||||||
|
|
||||||
#pragma state save
|
|
||||||
#pragma define raw ON
|
|
||||||
#define suspend do (__suspend()); while(0)
|
|
||||||
#pragma state restore
|
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------|
|
|
||||||
// Functions |
|
|
||||||
//
|
|
||||||
|
|
||||||
// [type] [ID]:[function name]([required args], [optional args])
|
|
||||||
|
|
||||||
special
|
|
||||||
int 400:Sector_CopyHeights(3, 4),
|
|
||||||
|
|
||||||
int 402:Light_Copy(2, 3),
|
|
||||||
int 403:Sector_CopyHeightsMove(4, 6),
|
|
||||||
|
|
||||||
int 405:Sector_MovePlanes(4, 5),
|
|
||||||
|
|
||||||
int 408:Sector_CopyTextures(3),
|
|
||||||
int 409:Sector_ChangeTag(2, 3),
|
|
||||||
int 410:Line_ChangeFrontSectorTag(2, 3),
|
|
||||||
|
|
||||||
int 411:Sector_StopMovement(1),
|
|
||||||
int 412:Thing_Teleport(1, 5),
|
|
||||||
int 413:Level_SetMusic(1, 8),
|
|
||||||
int 414:PlaySFX(1, 4),
|
|
||||||
int 415:Console_Execute(1),
|
|
||||||
int 416:Light_Flicker(5),
|
|
||||||
int 417:Light_Glow(5),
|
|
||||||
int 418:Light_Blink(6),
|
|
||||||
|
|
||||||
int 420:Light_Fade(3, 4),
|
|
||||||
int 421:Light_Stop(1),
|
|
||||||
int 422:Camera_CutAwayView(2),
|
|
||||||
int 423:Level_SetSky(1, 2),
|
|
||||||
int 424:Level_SetWeather(1, 2),
|
|
||||||
int 425:Thing_SetState(1),
|
|
||||||
int 426:Thing_Stop(0, 1),
|
|
||||||
int 427:Player_AddScore(1),
|
|
||||||
int 428:Sector_PlatformMovement(2, 5),
|
|
||||||
int 429:Sector_Crush(3),
|
|
||||||
|
|
||||||
int 433:Thing_SetFlip(1),
|
|
||||||
|
|
||||||
int 435:Sector_ChangeScroll(3),
|
|
||||||
int 436:FOF_Shatter(2),
|
|
||||||
int 437:Player_DisableControl(1),
|
|
||||||
int 438:Thing_SetScale(1),
|
|
||||||
int 439:Line_CopyTextures(3, 4),
|
|
||||||
int 440:Level_StartMetalSonicRace(0),
|
|
||||||
int 441:SetUnlockableTrigger(1),
|
|
||||||
int 442:Sector_ChangeThingStates(3, 4),
|
|
||||||
int 443:Lua_Execute(1, 12),
|
|
||||||
int 444:Earthquake(1, 3),
|
|
||||||
int 445:FOF_SetExists(3),
|
|
||||||
int 446:FOF_Crumble(2, 3),
|
|
||||||
int 447:Sector_SetColormap(2, 3),
|
|
||||||
int 448:Level_SetSkyboxViewpoints(3, 4),
|
|
||||||
int 449:Level_SetBossDisabled(2),
|
|
||||||
int 450:Line_Execute(1),
|
|
||||||
int 451:Line_ExecuteRandom(2),
|
|
||||||
int 452:FOF_SetAlpha(3, 4),
|
|
||||||
int 453:FOF_Fade(4, 5),
|
|
||||||
int 454:FOF_StopFade(2, 3),
|
|
||||||
int 455:Sector_FadeColormap(3, 4),
|
|
||||||
int 456:Sector_StopColormapFade(1),
|
|
||||||
int 457:Thing_StartTracking(4, 5),
|
|
||||||
int 458:Thing_StopTracking(0),
|
|
||||||
int 459:Prompt_Execute(4, 5),
|
|
||||||
int 460:Player_AddRings(1, 3),
|
|
||||||
int 461:Thing_Spawn(5, 9),
|
|
||||||
int 462:Level_StopClock(0),
|
|
||||||
int 463:Thing_Dye(1), // color
|
|
||||||
int 464:TriggerEggCapsule(1, 2),
|
|
||||||
|
|
||||||
int 466:Level_SetFailed(1),
|
|
||||||
int 467:Sector_SetLight(2, 4),
|
|
||||||
int 468:Line_SetArg(2, 4),
|
|
||||||
int 469:Sector_SetGravity(2, 4),
|
|
||||||
|
|
||||||
int 475:ACS_Execute(1, 11),
|
|
||||||
int 476:ACS_ExecuteAlways(1, 11),
|
|
||||||
int 477:ACS_Suspend(1),
|
|
||||||
int 478:ACS_Terminate(1),
|
|
||||||
|
|
||||||
int 480:Polyobj_DoorSlide(5),
|
|
||||||
int 481:Polyobj_DoorSwing(4),
|
|
||||||
int 482:Polyobj_Move(4, 5),
|
|
||||||
|
|
||||||
int 484:Polyobj_Rotate(3, 4),
|
|
||||||
|
|
||||||
int 488:Polyobj_MoveByWaypoints(3, 5),
|
|
||||||
int 489:Polyobj_SetVisibilityTangibility(3),
|
|
||||||
|
|
||||||
int 491:Polyobj_SetAlpha(2, 3),
|
|
||||||
int 492:Polyobj_FadeAlpha(3, 4),
|
|
||||||
|
|
||||||
int 499:Sector_ToggleWaypoints(2),
|
|
||||||
|
|
||||||
int 2001:Player_FinishLine(0, 1),
|
|
||||||
int 2003:Player_Respawn(0, 1),
|
|
||||||
|
|
||||||
// Internal functions have negative values
|
|
||||||
// [type] [ID]:[function name]([required args], [type of each arg, including optional ones])
|
|
||||||
/*
|
|
||||||
int -1:GetLineUDMFInt(2, int, str),
|
|
||||||
fixed -2:GetLineUDMFFixed(2, int, str),
|
|
||||||
int -3:GetThingUDMFInt(2, int, str),
|
|
||||||
fixed -4:GetThingUDMFFixed(2, int, str),
|
|
||||||
int -5:GetSectorUDMFInt(2, int, str),
|
|
||||||
fixed -6:GetSectorUDMFFixed(2, int, str),
|
|
||||||
int -7:GetSideUDMFInt(3, int, int, str),
|
|
||||||
fixed -8:GetSideUDMFFixed(3, int, int, str),
|
|
||||||
*/
|
|
||||||
// Reimplementations of trigger linedefs.
|
|
||||||
int -300:CountEnemies(1, int),
|
|
||||||
int -301:CountPushables(1, int),
|
|
||||||
bool -302:HaveUnlockableTrigger(1, int),
|
|
||||||
bool -303:HaveUnlockable(1, int),
|
|
||||||
str -304:PlayerSkin(0),
|
|
||||||
str -305:GetObjectDye(0),
|
|
||||||
int -306:PlayerEmeralds(0),
|
|
||||||
int -307:PlayerLap(0),
|
|
||||||
int -308:LowestLap(0),
|
|
||||||
bool -309:EncoreMode(0),
|
|
||||||
|
|
||||||
// 0 to 56: Implemented by ACSVM
|
|
||||||
void { 2 }:__suspend(void),
|
|
||||||
|
|
||||||
void { 55, 56}:Delay(int),
|
|
||||||
int { 57, 58}:Random(int, int),
|
|
||||||
fixed { 57, 58}:RandomFixed(fixed, fixed),
|
|
||||||
int { 59, 60}:ThingCount(str, int),
|
|
||||||
void { 61, 62}:TagWait(int),
|
|
||||||
void { 63, 64}:PolyWait(int),
|
|
||||||
void { 65, 66}:ChangeFloor(int, str),
|
|
||||||
void { 67, 68}:ChangeCeiling(int, str),
|
|
||||||
// 69 to 79: Implemented by ACSVM
|
|
||||||
int { 80 }:LineSide(void),
|
|
||||||
void { 81, 82}:__ScriptWaitDirect(int), // 81 to 82: Implemented by ACSVM
|
|
||||||
void { 83 }:ClearLineSpecial(void),
|
|
||||||
// 84 to 85: Implemented by ACSVM
|
|
||||||
void { 85 }:BeginPrint(void),
|
|
||||||
void { 85 }:BeginPrintBold(void),
|
|
||||||
void { 85 }:BeginLog(void),
|
|
||||||
void { 86 }:EndPrint(void),
|
|
||||||
void { 87 }:PrintString(str), // 87 to 89: Implemented by ACSVM
|
|
||||||
void { 88 }:PrintInt(int),
|
|
||||||
void { 88 }:PrintNumber(int),
|
|
||||||
void { 89 }:PrintChar(int),
|
|
||||||
int { 90 }:PlayerCount(void),
|
|
||||||
int { 91 }:GameType(void),
|
|
||||||
int { 92 }:GameSpeed(void),
|
|
||||||
int { 93 }:Timer(void),
|
|
||||||
void { 94 }:SectorSound(str, int),
|
|
||||||
void { 95 }:AmbientSound(str, int),
|
|
||||||
|
|
||||||
void { 97 }:SetLineTexture(int, int, int, str),
|
|
||||||
void { 98 }:SetLineBlocking(int, int),
|
|
||||||
void { 99 }:SetLineSpecial(int, int, int, int, int, int, int),
|
|
||||||
void {100 }:ThingSound(int, str, int),
|
|
||||||
void {101 }:EndPrintBold(void),
|
|
||||||
|
|
||||||
int {119 }:PlayerTeam(void),
|
|
||||||
int {120 }:PlayerRings(void),
|
|
||||||
|
|
||||||
int {122 }:PlayerScore(void),
|
|
||||||
|
|
||||||
int {136 }:FixedMul(int, int), // 136 to 137: Implemented by ACSVM
|
|
||||||
int {137 }:FixedDiv(int, int),
|
|
||||||
|
|
||||||
void {157 }:PrintFixed(fixed), // 157: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 167 to 173: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 175 to 179: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 181 to 189: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 203 to 217: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 225 to 243: Implemented by ACSVM
|
|
||||||
|
|
||||||
int {253 }:StrLen(str), // 253: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 256 to 257: Implemented by ACSVM
|
|
||||||
void {257 }:SetResultValue(int),
|
|
||||||
void {257 }:SetResultValueFixed(fixed),
|
|
||||||
|
|
||||||
// 263: Implemented by ACSVM
|
|
||||||
|
|
||||||
void {270 }:EndLog(void),
|
|
||||||
|
|
||||||
void {273 }:PrintModuleCharArray(int, int), // 273 to 275: Implemented by ACSVM
|
|
||||||
void {274 }:PrintWorldCharArray(int, int),
|
|
||||||
void {275 }:PrintGlobalCharArray(int, int),
|
|
||||||
|
|
||||||
// 291 to 325: Implemented by ACSVM
|
|
||||||
|
|
||||||
// 330: Implemented by ACSVM
|
|
||||||
|
|
||||||
void {349 }:PrintBinary(int), // 349 to 361: Implemented by ACSVM
|
|
||||||
void {350 }:PrintHex(int),
|
|
||||||
|
|
||||||
str {352 }:EndStrParam(void),
|
|
||||||
void {353 }:PrintModuleCharRange(int, int, int, int),
|
|
||||||
void {354 }:PrintWorldCharRange(int, int, int, int),
|
|
||||||
void {355 }:PrintGlobalCharRange(int, int, int, int),
|
|
||||||
int {356 }:StrCpyToModuleCharRange(int, int, int, int, str, int),
|
|
||||||
int {357 }:StrCpyToWorldCharRange(int, int, int, int, str, int),
|
|
||||||
int {358 }:StrCpyToGlobalCharRange(int, int, int, int, str, int),
|
|
||||||
|
|
||||||
void {361 }:ScriptWait(str),
|
|
||||||
|
|
||||||
// 363 to 380: Implemented by ACSVM
|
|
||||||
|
|
||||||
void {378 }:PrintLocalCharArray(int, int),
|
|
||||||
void {379 }:PrintLocalCharRange(int, int, int, int),
|
|
||||||
int {380 }:StrCpyToLocalCharRange(int, int, int, int, str, int);
|
|
||||||
|
|
||||||
print __Print
|
|
||||||
(
|
|
||||||
(begin): BeginPrint,
|
|
||||||
(end): EndPrint,
|
|
||||||
|
|
||||||
ACS_PrintPropertyBase()
|
|
||||||
);
|
|
||||||
|
|
||||||
print __PrintBold
|
|
||||||
(
|
|
||||||
(begin): BeginPrintBold,
|
|
||||||
(end): EndPrintBold,
|
|
||||||
|
|
||||||
ACS_PrintPropertyBase()
|
|
||||||
);
|
|
||||||
|
|
||||||
print PrintRaw
|
|
||||||
(
|
|
||||||
ACS_PrintPropertyBase()
|
|
||||||
);
|
|
||||||
|
|
||||||
print __Log
|
|
||||||
(
|
|
||||||
(begin): BeginLog,
|
|
||||||
(end): EndLog,
|
|
||||||
|
|
||||||
ACS_PrintPropertyBase()
|
|
||||||
);
|
|
||||||
|
|
||||||
#endif//__GDCC_Header__ACS__rrspecial_acs__
|
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue