mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
Merge branch 'master' into scripting
Conflicts: src/d_player.h src/g_doom/a_archvile.cpp src/thingdef/thingdef.h src/thingdef/thingdef_properties.cpp
This commit is contained in:
commit
bba092cc0b
44 changed files with 825 additions and 360 deletions
|
@ -186,6 +186,7 @@ Note: All <bool> fields default to false unless mentioned otherwise.
|
|||
soundsequence = <string>; // The sound sequence to play when this sector moves. Placing a
|
||||
// sound sequence thing in the sector will override this property.
|
||||
hidden = <bool>; // if true this sector will not be drawn on the textured automap.
|
||||
waterzone = <bool>; // Sector is under water and swimmable
|
||||
|
||||
* Note about dropactors
|
||||
|
||||
|
@ -328,6 +329,9 @@ Added back locknumber property.
|
|||
1.20 25.02.2012
|
||||
Added arg0str thing property.
|
||||
|
||||
1.21 09.08.2013
|
||||
Added waterzone sector property.
|
||||
|
||||
===============================================================================
|
||||
EOF
|
||||
===============================================================================
|
||||
|
|
799
src/am_map.cpp
799
src/am_map.cpp
File diff suppressed because it is too large
Load diff
|
@ -505,7 +505,7 @@ bool FCajunMaster::LoadBots ()
|
|||
bool gotteam = false;
|
||||
|
||||
bglobal.ForgetBots ();
|
||||
#ifndef unix
|
||||
#ifndef __unix__
|
||||
tmp = progdir;
|
||||
tmp += "zcajun/" BOTFILENAME;
|
||||
if (!FileExists (tmp))
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
|
||||
#include "i_system.h"
|
||||
|
||||
#include "doomerrors.h"
|
||||
#include "doomstat.h"
|
||||
#include "gstrings.h"
|
||||
#include "s_sound.h"
|
||||
|
@ -341,22 +342,30 @@ CCMD (changemap)
|
|||
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
if (!P_CheckMapData(argv[1]))
|
||||
try
|
||||
{
|
||||
Printf ("No map %s\n", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (argv.argc() > 2)
|
||||
if (!P_CheckMapData(argv[1]))
|
||||
{
|
||||
Net_WriteByte (DEM_CHANGEMAP2);
|
||||
Net_WriteByte (atoi(argv[2]));
|
||||
Printf ("No map %s\n", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
Net_WriteByte (DEM_CHANGEMAP);
|
||||
if (argv.argc() > 2)
|
||||
{
|
||||
Net_WriteByte (DEM_CHANGEMAP2);
|
||||
Net_WriteByte (atoi(argv[2]));
|
||||
}
|
||||
else
|
||||
{
|
||||
Net_WriteByte (DEM_CHANGEMAP);
|
||||
}
|
||||
Net_WriteString (argv[1]);
|
||||
}
|
||||
Net_WriteString (argv[1]);
|
||||
}
|
||||
catch(CRecoverableError &error)
|
||||
{
|
||||
if (error.GetMessage())
|
||||
Printf("%s", error.GetMessage());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1742,7 +1742,7 @@ static bool C_HandleKey (event_t *ev, BYTE *buffer, int len)
|
|||
}
|
||||
break;
|
||||
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
case EV_GUI_MButtonDown:
|
||||
C_PasteText(I_GetFromClipboard(true), buffer, len);
|
||||
break;
|
||||
|
@ -2121,7 +2121,20 @@ static bool C_TabCompleteList ()
|
|||
Printf (TEXTCOLOR_BLUE "Completions for %s:\n", CmdLine+2);
|
||||
for (i = TabPos; nummatches > 0; ++i, --nummatches)
|
||||
{
|
||||
Printf ("%-*s", int(maxwidth), TabCommands[i].TabName.GetChars());
|
||||
// [Dusk] Print console commands blue, CVars green, aliases red.
|
||||
const char* colorcode = "";
|
||||
FConsoleCommand* ccmd;
|
||||
if (FindCVar (TabCommands[i].TabName, NULL))
|
||||
colorcode = TEXTCOLOR_GREEN;
|
||||
else if ((ccmd = FConsoleCommand::FindByName (TabCommands[i].TabName)) != NULL)
|
||||
{
|
||||
if (ccmd->IsAlias())
|
||||
colorcode = TEXTCOLOR_RED;
|
||||
else
|
||||
colorcode = TEXTCOLOR_LIGHTBLUE;
|
||||
}
|
||||
|
||||
Printf ("%s%-*s", colorcode, int(maxwidth), TabCommands[i].TabName.GetChars());
|
||||
x += maxwidth;
|
||||
if (x > ConCols - maxwidth)
|
||||
{
|
||||
|
|
|
@ -955,6 +955,11 @@ bool FConsoleCommand::AddToHash (FConsoleCommand **table)
|
|||
return true;
|
||||
}
|
||||
|
||||
FConsoleCommand* FConsoleCommand::FindByName (const char* name)
|
||||
{
|
||||
return FindNameInHashTable (Commands, name, strlen (name));
|
||||
}
|
||||
|
||||
FConsoleCommand::FConsoleCommand (const char *name, CCmdRun runFunc)
|
||||
: m_RunFunc (runFunc)
|
||||
{
|
||||
|
@ -1501,7 +1506,7 @@ CCMD (pullin)
|
|||
{
|
||||
const char *lastSlash;
|
||||
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
lastSlash = strrchr (PullinFile, '/');
|
||||
#else
|
||||
const char *lastSlash1, *lastSlash2;
|
||||
|
|
|
@ -93,6 +93,7 @@ public:
|
|||
void PrintCommand () { Printf ("%s\n", m_Name); }
|
||||
|
||||
virtual void Run (FCommandLine &args, APlayerPawn *instigator, int key);
|
||||
static FConsoleCommand* FindByName (const char* name);
|
||||
|
||||
FConsoleCommand *m_Next, **m_Prev;
|
||||
char *m_Name;
|
||||
|
|
|
@ -169,7 +169,7 @@ bool CT_Responder (event_t *ev)
|
|||
}
|
||||
return true;
|
||||
}
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
else if (ev->subtype == EV_GUI_MButtonDown)
|
||||
{
|
||||
CT_PasteChat(I_GetFromClipboard(true));
|
||||
|
|
|
@ -1813,21 +1813,21 @@ static int PatchCheats (int dummy)
|
|||
static int PatchMisc (int dummy)
|
||||
{
|
||||
static const struct Key keys[] = {
|
||||
{ "Initial Health", myoffsetof(struct DehInfo,StartHealth) },
|
||||
{ "Initial Bullets", myoffsetof(struct DehInfo,StartBullets) },
|
||||
{ "Max Health", myoffsetof(struct DehInfo,MaxHealth) },
|
||||
{ "Max Armor", myoffsetof(struct DehInfo,MaxArmor) },
|
||||
{ "Green Armor Class", myoffsetof(struct DehInfo,GreenAC) },
|
||||
{ "Blue Armor Class", myoffsetof(struct DehInfo,BlueAC) },
|
||||
{ "Max Soulsphere", myoffsetof(struct DehInfo,MaxSoulsphere) },
|
||||
{ "Soulsphere Health", myoffsetof(struct DehInfo,SoulsphereHealth) },
|
||||
{ "Megasphere Health", myoffsetof(struct DehInfo,MegasphereHealth) },
|
||||
{ "God Mode Health", myoffsetof(struct DehInfo,GodHealth) },
|
||||
{ "IDFA Armor", myoffsetof(struct DehInfo,FAArmor) },
|
||||
{ "IDFA Armor Class", myoffsetof(struct DehInfo,FAAC) },
|
||||
{ "IDKFA Armor", myoffsetof(struct DehInfo,KFAArmor) },
|
||||
{ "IDKFA Armor Class", myoffsetof(struct DehInfo,KFAAC) },
|
||||
{ "No Autofreeze", myoffsetof(struct DehInfo,NoAutofreeze) },
|
||||
{ "Initial Health", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,StartHealth)) },
|
||||
{ "Initial Bullets", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,StartBullets)) },
|
||||
{ "Max Health", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,MaxHealth)) },
|
||||
{ "Max Armor", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,MaxArmor)) },
|
||||
{ "Green Armor Class", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,GreenAC)) },
|
||||
{ "Blue Armor Class", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,BlueAC)) },
|
||||
{ "Max Soulsphere", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,MaxSoulsphere)) },
|
||||
{ "Soulsphere Health", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,SoulsphereHealth)) },
|
||||
{ "Megasphere Health", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,MegasphereHealth)) },
|
||||
{ "God Mode Health", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,GodHealth)) },
|
||||
{ "IDFA Armor", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,FAArmor)) },
|
||||
{ "IDFA Armor Class", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,FAAC)) },
|
||||
{ "IDKFA Armor", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,KFAArmor)) },
|
||||
{ "IDKFA Armor Class", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,KFAAC)) },
|
||||
{ "No Autofreeze", static_cast<ptrdiff_t>(myoffsetof(struct DehInfo,NoAutofreeze)) },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
int result;
|
||||
|
@ -2383,6 +2383,18 @@ static int DoInclude (int dummy)
|
|||
return GetLine();
|
||||
}
|
||||
|
||||
CVAR(Int, dehload, 0, CVAR_ARCHIVE) // Autoloading of .DEH lumps is disabled by default.
|
||||
|
||||
// checks if lump is a .deh or .bex file. Only lumps in the root directory are considered valid.
|
||||
static bool isDehFile(int lumpnum)
|
||||
{
|
||||
const char* const fullName = Wads.GetLumpFullName(lumpnum);
|
||||
const char* const extension = strrchr(fullName, '.');
|
||||
|
||||
return NULL != extension && strchr(fullName, '/') == NULL
|
||||
&& (0 == stricmp(extension, ".deh") || 0 == stricmp(extension, ".bex"));
|
||||
}
|
||||
|
||||
int D_LoadDehLumps()
|
||||
{
|
||||
int lastlump = 0, lumpnum, count = 0;
|
||||
|
@ -2392,23 +2404,29 @@ int D_LoadDehLumps()
|
|||
count += D_LoadDehLump(lumpnum);
|
||||
}
|
||||
|
||||
if (0 == PatchSize)
|
||||
if (0 == PatchSize && dehload > 0)
|
||||
{
|
||||
// No DEH/BEX patch is loaded yet, try to find lump(s) with specific extensions
|
||||
|
||||
for (lumpnum = 0, lastlump = Wads.GetNumLumps();
|
||||
lumpnum < lastlump;
|
||||
++lumpnum)
|
||||
if (dehload == 1) // load all .DEH lumps that are found.
|
||||
{
|
||||
const char* const fullName = Wads.GetLumpFullName(lumpnum);
|
||||
const char* const extension = strrchr(fullName, '.');
|
||||
|
||||
const bool isDehOrBex = NULL != extension
|
||||
&& (0 == stricmp(extension, ".deh") || 0 == stricmp(extension, ".bex"));
|
||||
|
||||
if (isDehOrBex)
|
||||
for (lumpnum = 0, lastlump = Wads.GetNumLumps(); lumpnum < lastlump; ++lumpnum)
|
||||
{
|
||||
count += D_LoadDehLump(lumpnum);
|
||||
if (isDehFile(lumpnum))
|
||||
{
|
||||
count += D_LoadDehLump(lumpnum);
|
||||
}
|
||||
}
|
||||
}
|
||||
else // only load the last .DEH lump that is found.
|
||||
{
|
||||
for (lumpnum = Wads.GetNumLumps()-1; lumpnum >=0; --lumpnum)
|
||||
{
|
||||
if (isDehFile(lumpnum))
|
||||
{
|
||||
count += D_LoadDehLump(lumpnum);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2962,7 +2980,7 @@ void FinishDehPatch ()
|
|||
PClassActor *subclass = static_cast<PClassActor *>(RUNTIME_CLASS(ADehackedPickup)->
|
||||
CreateDerivedClass(typeNameBuilder, sizeof(ADehackedPickup)));
|
||||
AActor *defaults2 = GetDefaultByType (subclass);
|
||||
memcpy (defaults2, defaults1, sizeof(AActor));
|
||||
memcpy ((void *)defaults2, (void *)defaults1, sizeof(AActor));
|
||||
|
||||
// Make a copy of the replaced class's state labels
|
||||
FStateDefinitions statedef;
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#endif
|
||||
#include <float.h>
|
||||
|
||||
#if defined(unix) || defined(__APPLE__)
|
||||
#if defined(__unix__) || defined(__APPLE__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -2029,7 +2029,7 @@ static void AddAutoloadFiles(const char *gamesection)
|
|||
D_AddFile (allwads, wad);
|
||||
|
||||
// [RH] Add any .wad files in the skins directory
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
file = SHARE_DIR;
|
||||
#else
|
||||
file = progdir;
|
||||
|
@ -2037,7 +2037,7 @@ static void AddAutoloadFiles(const char *gamesection)
|
|||
file += "skins";
|
||||
D_AddDirectory (allwads, file);
|
||||
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
file = NicePath("~/" GAME_DIR "/skins");
|
||||
D_AddDirectory (allwads, file);
|
||||
#endif
|
||||
|
@ -2157,7 +2157,7 @@ static void CheckCmdLine()
|
|||
Printf ("%s", GStrings("D_DEVSTR"));
|
||||
}
|
||||
|
||||
#if !defined(unix) && !defined(__APPLE__)
|
||||
#if !defined(__unix__) && !defined(__APPLE__)
|
||||
// We do not need to support -cdrom under Unix, because all the files
|
||||
// that would go to c:\\zdoomdat are already stored in .zdoom inside
|
||||
// the user's home directory.
|
||||
|
|
|
@ -161,8 +161,10 @@ public:
|
|||
FNameNoInit MorphWeapon;
|
||||
fixed_t AttackZOffset; // attack height, relative to player center
|
||||
fixed_t UseRange; // [NS] Distance at which player can +use
|
||||
fixed_t AirCapacity; // Multiplier for air supply underwater.
|
||||
PClassActor *FlechetteType;
|
||||
|
||||
|
||||
// [CW] Fades for when you are being damaged.
|
||||
PalEntry DamageFade;
|
||||
|
||||
|
|
|
@ -452,7 +452,7 @@ void FDecalLib::ParseDecal (FScanner &sc)
|
|||
decalNum = GetDecalID (sc);
|
||||
sc.MustGetStringName ("{");
|
||||
|
||||
memset (&newdecal, 0, sizeof(newdecal));
|
||||
memset ((void *)&newdecal, 0, sizeof(newdecal));
|
||||
newdecal.PicNum.SetInvalid();
|
||||
newdecal.ScaleX = newdecal.ScaleY = FRACUNIT;
|
||||
newdecal.RenderFlags = RF_WALLSPRITE;
|
||||
|
|
|
@ -110,6 +110,10 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_VileTarget)
|
|||
//
|
||||
// A_VileAttack
|
||||
//
|
||||
|
||||
// A_VileAttack flags
|
||||
#define VAF_DMGTYPEAPPLYTODIRECT 1
|
||||
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_VileAttack)
|
||||
{
|
||||
PARAM_ACTION_PROLOGUE;
|
||||
|
@ -119,6 +123,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_VileAttack)
|
|||
PARAM_INT_OPT (blastrad) { blastrad = 70; }
|
||||
PARAM_FIXED_OPT (thrust) { thrust = FRACUNIT; }
|
||||
PARAM_NAME_OPT (dmgtype) { dmgtype = NAME_Fire; }
|
||||
PARAM_INT_OPT (flags) { flags = 0; }
|
||||
|
||||
AActor *fire, *target;
|
||||
angle_t an;
|
||||
|
@ -132,7 +137,15 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_VileAttack)
|
|||
return 0;
|
||||
|
||||
S_Sound (self, CHAN_WEAPON, snd, 1, ATTN_NORM);
|
||||
int newdam = P_DamageMobj (target, self, self, dmg, NAME_None);
|
||||
|
||||
int newdam;
|
||||
|
||||
if (flags & VAF_DMGTYPEAPPLYTODIRECT)
|
||||
newdam = P_DamageMobj (target, self, self, dmg, dmgtype);
|
||||
|
||||
else
|
||||
newdam = P_DamageMobj (target, self, self, dmg, NAME_None);
|
||||
|
||||
P_TraceBleed (newdam > 0 ? newdam : dmg, target);
|
||||
|
||||
an = self->angle >> ANGLETOFINESHIFT;
|
||||
|
|
|
@ -865,7 +865,10 @@ static void ChangeSpy (int changespy)
|
|||
int pnum = consoleplayer;
|
||||
if (changespy != SPY_CANCEL)
|
||||
{
|
||||
pnum = int(players[consoleplayer].camera->player - players);
|
||||
player_t *player = players[consoleplayer].camera->player;
|
||||
// only use the camera as starting index if it's a valid player.
|
||||
if (player != NULL) pnum = int(players[consoleplayer].camera->player - players);
|
||||
|
||||
int step = (changespy == SPY_NEXT) ? 1 : -1;
|
||||
|
||||
do
|
||||
|
@ -1919,7 +1922,7 @@ FString G_BuildSaveName (const char *prefix, int slot)
|
|||
leader = Args->CheckValue ("-savedir");
|
||||
if (leader.IsEmpty())
|
||||
{
|
||||
#if !defined(unix) && !defined(__APPLE__)
|
||||
#if !defined(__unix__) && !defined(__APPLE__)
|
||||
if (Args->CheckParm ("-cdrom"))
|
||||
{
|
||||
leader = CDROM_DIR "/";
|
||||
|
@ -1931,7 +1934,7 @@ FString G_BuildSaveName (const char *prefix, int slot)
|
|||
}
|
||||
if (leader.IsEmpty())
|
||||
{
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
leader = "~/" GAME_DIR;
|
||||
#elif defined(__APPLE__)
|
||||
char cpath[PATH_MAX];
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "s_sound.h"
|
||||
#include "d_event.h"
|
||||
#include "m_random.h"
|
||||
#include "doomerrors.h"
|
||||
#include "doomstat.h"
|
||||
#include "wi_stuff.h"
|
||||
#include "w_wad.h"
|
||||
|
@ -170,13 +171,21 @@ CCMD (map)
|
|||
}
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
if (!P_CheckMapData(argv[1]))
|
||||
try
|
||||
{
|
||||
Printf ("No map %s\n", argv[1]);
|
||||
if (!P_CheckMapData(argv[1]))
|
||||
{
|
||||
Printf ("No map %s\n", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
G_DeferedInitNew (argv[1]);
|
||||
}
|
||||
}
|
||||
else
|
||||
catch(CRecoverableError &error)
|
||||
{
|
||||
G_DeferedInitNew (argv[1]);
|
||||
if (error.GetMessage())
|
||||
Printf("%s", error.GetMessage());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -101,6 +101,7 @@ struct FMapInfoParser
|
|||
|
||||
void ParseIntermissionAction(FIntermissionDescriptor *Desc);
|
||||
void ParseIntermission();
|
||||
void ParseAMColors(bool);
|
||||
FName CheckEndSequence();
|
||||
FName ParseEndGame();
|
||||
};
|
||||
|
|
|
@ -1842,6 +1842,18 @@ void FMapInfoParser::ParseMapInfo (int lump, level_info_t &gamedefaults, level_i
|
|||
sc.ScriptError("intermission definitions not supported with old MAPINFO syntax");
|
||||
}
|
||||
}
|
||||
else if (sc.Compare("automap") || sc.Compare("automap_overlay"))
|
||||
{
|
||||
if (format_type != FMT_Old)
|
||||
{
|
||||
format_type = FMT_New;
|
||||
ParseAMColors(sc.Compare("automap_overlay"));
|
||||
}
|
||||
else
|
||||
{
|
||||
sc.ScriptError("automap colorset definitions not supported with old MAPINFO syntax");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
sc.ScriptError("%s: Unknown top level keyword", sc.String);
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
#include "d_player.h"
|
||||
#include "farchive.h"
|
||||
#include "a_hexenglobal.h"
|
||||
#include "gstrings.h"
|
||||
|
||||
#include "../version.h"
|
||||
|
||||
|
@ -1375,8 +1376,8 @@ void DBaseStatusBar::Draw (EHudState state)
|
|||
// Draw monster count
|
||||
if (am_showmonsters)
|
||||
{
|
||||
mysnprintf (line, countof(line), "MONSTERS:" TEXTCOLOR_GREY " %d/%d",
|
||||
level.killed_monsters, level.total_monsters);
|
||||
mysnprintf (line, countof(line), "%s" TEXTCOLOR_GREY " %d/%d",
|
||||
GStrings("AM_MONSTERS"), level.killed_monsters, level.total_monsters);
|
||||
screen->DrawText (SmallFont, highlight, 8, y, line,
|
||||
DTA_CleanNoMove, true, TAG_DONE);
|
||||
y += height;
|
||||
|
@ -1385,8 +1386,8 @@ void DBaseStatusBar::Draw (EHudState state)
|
|||
// Draw secret count
|
||||
if (am_showsecrets)
|
||||
{
|
||||
mysnprintf (line, countof(line), "SECRETS:" TEXTCOLOR_GREY " %d/%d",
|
||||
level.found_secrets, level.total_secrets);
|
||||
mysnprintf (line, countof(line), "%s" TEXTCOLOR_GREY " %d/%d",
|
||||
GStrings("AM_SECRETS"), level.found_secrets, level.total_secrets);
|
||||
screen->DrawText (SmallFont, highlight, 8, y, line,
|
||||
DTA_CleanNoMove, true, TAG_DONE);
|
||||
y += height;
|
||||
|
@ -1395,8 +1396,8 @@ void DBaseStatusBar::Draw (EHudState state)
|
|||
// Draw item count
|
||||
if (am_showitems)
|
||||
{
|
||||
mysnprintf (line, countof(line), "ITEMS:" TEXTCOLOR_GREY " %d/%d",
|
||||
level.found_items, level.total_items);
|
||||
mysnprintf (line, countof(line), "%s" TEXTCOLOR_GREY " %d/%d",
|
||||
GStrings("AM_ITEMS"), level.found_items, level.total_items);
|
||||
screen->DrawText (SmallFont, highlight, 8, y, line,
|
||||
DTA_CleanNoMove, true, TAG_DONE);
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ FGameConfigFile::FGameConfigFile ()
|
|||
local_app_support << cpath << "/" GAME_DIR;
|
||||
SetValueForKey("Path", local_app_support, true);
|
||||
}
|
||||
#elif !defined(unix)
|
||||
#elif !defined(__unix__)
|
||||
SetValueForKey ("Path", "$HOME", true);
|
||||
SetValueForKey ("Path", "$PROGDIR", true);
|
||||
#else
|
||||
|
@ -153,7 +153,7 @@ FGameConfigFile::FGameConfigFile ()
|
|||
SetValueForKey ("Path", user_app_support, true);
|
||||
SetValueForKey ("Path", "$PROGDIR", true);
|
||||
SetValueForKey ("Path", local_app_support, true);
|
||||
#elif !defined(unix)
|
||||
#elif !defined(__unix__)
|
||||
SetValueForKey ("Path", "$PROGDIR", true);
|
||||
#else
|
||||
SetValueForKey ("Path", "~/" GAME_DIR, true);
|
||||
|
@ -683,7 +683,7 @@ void FGameConfigFile::CreateStandardAutoExec(const char *section, bool start)
|
|||
{
|
||||
path << cpath << "/" GAME_DIR "/autoexec.cfg";
|
||||
}
|
||||
#elif !defined(unix)
|
||||
#elif !defined(__unix__)
|
||||
path = "$PROGDIR/autoexec.cfg";
|
||||
#else
|
||||
path = GetUserFile ("autoexec.cfg");
|
||||
|
|
|
@ -333,7 +333,7 @@ static long ParseCommandLine (const char *args, int *argc, char **argv)
|
|||
}
|
||||
|
||||
|
||||
#if defined(unix)
|
||||
#if defined(__unix__)
|
||||
FString GetUserFile (const char *file)
|
||||
{
|
||||
FString path;
|
||||
|
@ -698,7 +698,7 @@ void M_ScreenShot (const char *filename)
|
|||
// find a file name to save it to
|
||||
if (filename == NULL || filename[0] == '\0')
|
||||
{
|
||||
#if !defined(unix) && !defined(__APPLE__)
|
||||
#if !defined(__unix__) && !defined(__APPLE__)
|
||||
if (Args->CheckParm ("-cdrom"))
|
||||
{
|
||||
autoname = CDROM_DIR "\\";
|
||||
|
@ -715,7 +715,7 @@ void M_ScreenShot (const char *filename)
|
|||
dirlen = autoname.Len();
|
||||
if (dirlen == 0)
|
||||
{
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
autoname = "~/" GAME_DIR "/screenshots/";
|
||||
#elif defined(__APPLE__)
|
||||
char cpath[PATH_MAX];
|
||||
|
|
|
@ -131,7 +131,8 @@ void ClearSaveGames()
|
|||
{
|
||||
for(unsigned i=0;i<DLoadSaveMenu::SaveGames.Size(); i++)
|
||||
{
|
||||
delete DLoadSaveMenu::SaveGames[i];
|
||||
if(!DLoadSaveMenu::SaveGames[i]->bNoDelete)
|
||||
delete DLoadSaveMenu::SaveGames[i];
|
||||
}
|
||||
DLoadSaveMenu::SaveGames.Clear();
|
||||
}
|
||||
|
@ -344,7 +345,7 @@ void DLoadSaveMenu::NotifyNewSave (const char *file, const char *title, bool okF
|
|||
for (unsigned i=0; i<SaveGames.Size(); i++)
|
||||
{
|
||||
FSaveGameNode *node = SaveGames[i];
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
if (node->Filename.Compare (file) == 0)
|
||||
#else
|
||||
if (node->Filename.CompareNoCase (file) == 0)
|
||||
|
|
|
@ -158,7 +158,7 @@ static bool CheckSkipOptionBlock(FScanner &sc)
|
|||
}
|
||||
else if (sc.Compare("unix"))
|
||||
{
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
filter = true;
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -444,6 +444,7 @@ xx(Alphafloor)
|
|||
xx(Alphaceiling)
|
||||
xx(Renderstylefloor)
|
||||
xx(Renderstyleceiling)
|
||||
xx(Waterzone)
|
||||
|
||||
xx(offsetx_top)
|
||||
xx(offsety_top)
|
||||
|
|
|
@ -3511,6 +3511,8 @@ enum
|
|||
APROP_Radius = 36,
|
||||
APROP_ReactionTime = 37,
|
||||
APROP_MeleeRange = 38,
|
||||
APROP_ViewHeight = 39,
|
||||
APROP_AttackZOffset = 40
|
||||
};
|
||||
|
||||
// These are needed for ACS's APROP_RenderStyle
|
||||
|
@ -3726,6 +3728,16 @@ void DLevelScript::DoSetActorProperty (AActor *actor, int property, int value)
|
|||
actor->reactiontime = value;
|
||||
break;
|
||||
|
||||
case APROP_ViewHeight:
|
||||
if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
|
||||
static_cast<APlayerPawn *>(actor)->ViewHeight = value;
|
||||
break;
|
||||
|
||||
case APROP_AttackZOffset:
|
||||
if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
|
||||
static_cast<APlayerPawn *>(actor)->AttackZOffset = value;
|
||||
break;
|
||||
|
||||
default:
|
||||
// do nothing.
|
||||
break;
|
||||
|
@ -3798,6 +3810,23 @@ int DLevelScript::GetActorProperty (int tid, int property, const SDWORD *stack,
|
|||
case APROP_Radius: return actor->radius;
|
||||
case APROP_ReactionTime:return actor->reactiontime;
|
||||
case APROP_MeleeRange: return actor->meleerange;
|
||||
case APROP_ViewHeight: if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
|
||||
{
|
||||
return static_cast<APlayerPawn *>(actor)->ViewHeight;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
case APROP_AttackZOffset:
|
||||
if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
|
||||
{
|
||||
return static_cast<APlayerPawn *>(actor)->AttackZOffset;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
case APROP_SeeSound: return GlobalACSStrings.AddString(actor->SeeSound, stack, stackdepth);
|
||||
case APROP_AttackSound: return GlobalACSStrings.AddString(actor->AttackSound, stack, stackdepth);
|
||||
|
@ -3850,6 +3879,8 @@ int DLevelScript::CheckActorProperty (int tid, int property, int value)
|
|||
case APROP_Radius:
|
||||
case APROP_ReactionTime:
|
||||
case APROP_MeleeRange:
|
||||
case APROP_ViewHeight:
|
||||
case APROP_AttackZOffset:
|
||||
return (GetActorProperty(tid, property, NULL, 0) == value);
|
||||
|
||||
// Boolean values need to compare to a binary version of value
|
||||
|
|
|
@ -1152,7 +1152,7 @@ void P_StartConversation (AActor *npc, AActor *pc, bool facetalker, bool saveang
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (jump)
|
||||
if (jump && CurNode->ItemCheckNode > 0)
|
||||
{
|
||||
int root = pc->player->ConversationNPC->ConversationRoot;
|
||||
CurNode = StrifeDialogues[root + CurNode->ItemCheckNode - 1];
|
||||
|
|
|
@ -739,9 +739,12 @@ void AActor::Die (AActor *source, AActor *inflictor, int dmgflags)
|
|||
{
|
||||
SetState (diestate);
|
||||
|
||||
tics -= pr_killmobj() & 3;
|
||||
if (tics < 1)
|
||||
tics = 1;
|
||||
if (tics > 1)
|
||||
{
|
||||
tics -= pr_killmobj() & 3;
|
||||
if (tics < 1)
|
||||
tics = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -329,7 +329,15 @@ MapData *P_OpenMapData(const char * mapname)
|
|||
// Since levels must be stored in WADs they can't really have full
|
||||
// names and for any valid level lump this always returns the short name.
|
||||
const char * lumpname = Wads.GetLumpFullName(lump_name + i);
|
||||
index = GetMapIndex(mapname, index, lumpname, i != 1 || Wads.LumpLength(lump_name + i) == 0);
|
||||
try
|
||||
{
|
||||
index = GetMapIndex(mapname, index, lumpname, true);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
delete map;
|
||||
throw;
|
||||
}
|
||||
if (index == ML_BEHAVIOR) map->HasBehavior = true;
|
||||
|
||||
// The next lump is not part of this map anymore
|
||||
|
@ -461,7 +469,15 @@ MapData *P_OpenMapData(const char * mapname)
|
|||
|
||||
if (i>0)
|
||||
{
|
||||
index = GetMapIndex(maplabel, index, lumpname, true);
|
||||
try
|
||||
{
|
||||
index = GetMapIndex(maplabel, index, lumpname, true);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
delete map;
|
||||
throw;
|
||||
}
|
||||
if (index == ML_BEHAVIOR) map->HasBehavior = true;
|
||||
|
||||
// The next lump is not part of this map anymore
|
||||
|
|
|
@ -1326,7 +1326,11 @@ public:
|
|||
continue;
|
||||
|
||||
case NAME_hidden:
|
||||
sec->MoreFlags |= SECF_HIDDEN;
|
||||
Flag(sec->MoreFlags, SECF_HIDDEN, key);
|
||||
break;
|
||||
|
||||
case NAME_Waterzone:
|
||||
Flag(sec->MoreFlags, SECF_UNDERWATER, key);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
@ -284,6 +284,7 @@ class USDFParser : public UDMFParserBase
|
|||
//node->ItemCheckCount[0] = node->ItemCheckCount[1] = node->ItemCheckCount[2] = -1;
|
||||
|
||||
node->ThisNodeNum = StrifeDialogues.Push(node);
|
||||
node->ItemCheckNode = -1;
|
||||
|
||||
FString SpeakerName;
|
||||
FString Dialogue;
|
||||
|
|
|
@ -560,6 +560,10 @@ void APlayerPawn::Serialize (FArchive &arc)
|
|||
{
|
||||
arc << UseRange;
|
||||
}
|
||||
if (SaveVersion >= 4503)
|
||||
{
|
||||
arc << AirCapacity;
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
@ -1149,7 +1153,7 @@ bool APlayerPawn::ResetAirSupply (bool playgasp)
|
|||
{
|
||||
S_Sound (this, CHAN_VOICE, "*gasp", 1, ATTN_NORM);
|
||||
}
|
||||
if (level.airsupply> 0) player->air_finished = level.time + level.airsupply;
|
||||
if (level.airsupply> 0 && player->mo->AirCapacity > 0) player->air_finished = level.time + FixedMul(level.airsupply, player->mo->AirCapacity);
|
||||
else player->air_finished = INT_MAX;
|
||||
return wasdrowning;
|
||||
}
|
||||
|
|
|
@ -259,6 +259,13 @@ bool FZipFile::Open(bool quiet)
|
|||
lump_p->CompressedSize = LittleLong(zip_fh->CompressedSize);
|
||||
lump_p->Position = LittleLong(zip_fh->LocalHeaderOffset);
|
||||
lump_p->CheckEmbedded();
|
||||
|
||||
// Ignore some very specific names
|
||||
if (0 == stricmp("dehacked.exe", name))
|
||||
{
|
||||
memset(lump_p->Name, 0, sizeof(lump_p->Name));
|
||||
}
|
||||
|
||||
lump_p++;
|
||||
}
|
||||
// Resize the lump record array to its actual size
|
||||
|
|
|
@ -749,6 +749,8 @@ int I_FindClose (void *handle)
|
|||
findstate_t *state = (findstate_t *)handle;
|
||||
if (handle != (void*)-1 && state->count > 0)
|
||||
{
|
||||
for(int i = 0;i < state->count;++i)
|
||||
free (state->namelist[i]);
|
||||
state->count = 0;
|
||||
free (state->namelist);
|
||||
state->namelist = NULL;
|
||||
|
|
|
@ -816,7 +816,7 @@ bool FMODSoundRenderer::Init()
|
|||
}
|
||||
|
||||
result = Sys->getNumDrivers(&driver);
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
if (result == FMOD_OK)
|
||||
{
|
||||
// On Linux, FMOD defaults to OSS. If OSS is not present, it doesn't
|
||||
|
|
|
@ -295,7 +295,7 @@ FluidSynthMIDIDevice::FluidSynthMIDIDevice()
|
|||
fluid_chorus_speed, fluid_chorus_depth, fluid_chorus_type);
|
||||
if (0 == LoadPatchSets(fluid_patchset))
|
||||
{
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
// This is the standard location on Ubuntu.
|
||||
if (0 == LoadPatchSets("/usr/share/sounds/sf2/FluidR3_GS.sf2:/usr/share/sounds/sf2/FluidR3_GM.sf2"))
|
||||
{
|
||||
|
@ -322,7 +322,7 @@ FluidSynthMIDIDevice::FluidSynthMIDIDevice()
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@ void FTextureManager::DeleteAll()
|
|||
{
|
||||
if (mAnimatedDoors[i].TextureFrames != NULL)
|
||||
{
|
||||
delete mAnimatedDoors[i].TextureFrames;
|
||||
delete[] mAnimatedDoors[i].TextureFrames;
|
||||
mAnimatedDoors[i].TextureFrames = NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -332,11 +332,11 @@ int MatchString (const char *in, const char **strings);
|
|||
|
||||
|
||||
#define DEFINE_MEMBER_VARIABLE(name, cls) \
|
||||
static FVariableInfo GlobalDef__##name = { #name, myoffsetof(cls, name), &RUNTIME_CLASS_CASTLESS(cls) }; \
|
||||
static FVariableInfo GlobalDef__##name = { #name, static_cast<intptr_t>(myoffsetof(cls, name)), &RUNTIME_CLASS_CASTLESS(cls) }; \
|
||||
MSVC_MSEG FVariableInfo *infoptr_GlobalDef__##name GCC_MSEG = &GlobalDef__##name;
|
||||
|
||||
#define DEFINE_MEMBER_VARIABLE_ALIAS(name, alias, cls) \
|
||||
static FVariableInfo GlobalDef__##name = { #name, myoffsetof(cls, alias), &RUNTIME_CLASS_CASTLESS(cls) }; \
|
||||
static FVariableInfo GlobalDef__##name = { #name, static_cast<intptr_t>(myoffsetof(cls, alias)), &RUNTIME_CLASS_CASTLESS(cls) }; \
|
||||
MSVC_MSEG FVariableInfo *infoptr_GlobalDef__##name GCC_MSEG = &GlobalDef__##name;
|
||||
|
||||
|
||||
|
|
|
@ -447,7 +447,7 @@ DEFINE_PROPERTY(skip_super, 0, Actor)
|
|||
return;
|
||||
}
|
||||
|
||||
memcpy (defaults, GetDefault<AActor>(), sizeof(AActor));
|
||||
memcpy ((void *)defaults, (void *)GetDefault<AActor>(), sizeof(AActor));
|
||||
ResetBaggage (&bag, RUNTIME_CLASS(AActor));
|
||||
}
|
||||
|
||||
|
@ -2471,6 +2471,15 @@ DEFINE_CLASS_PROPERTY_PREFIX(player, userange, F, PlayerPawn)
|
|||
defaults->UseRange = z;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//==========================================================================
|
||||
DEFINE_CLASS_PROPERTY_PREFIX(player, aircapacity, F, PlayerPawn)
|
||||
{
|
||||
PROP_FIXED_PARM(z, 0);
|
||||
defaults->AirCapacity = z;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//==========================================================================
|
||||
|
|
|
@ -166,7 +166,7 @@ static Instrument *load_instrument(Renderer *song, const char *name, int percuss
|
|||
tmp += ".pat";
|
||||
if ((fp = open_filereader(tmp, openmode, NULL)) == NULL)
|
||||
{
|
||||
#ifdef unix // Windows isn't case-sensitive.
|
||||
#ifdef __unix__ // Windows isn't case-sensitive.
|
||||
tmp.ToUpper();
|
||||
if ((fp = open_filereader(tmp, openmode, NULL)) == NULL)
|
||||
#endif
|
||||
|
|
|
@ -76,7 +76,7 @@ const char *GetVersionString();
|
|||
|
||||
// Use 4500 as the base git save version, since it's higher than the
|
||||
// SVN revision ever got.
|
||||
#define SAVEVER 4502
|
||||
#define SAVEVER 4503
|
||||
|
||||
#define SAVEVERSTRINGIFY2(x) #x
|
||||
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)
|
||||
|
@ -91,7 +91,7 @@ const char *GetVersionString();
|
|||
#define FORUM_URL "http://forum.zdoom.org"
|
||||
#define BUGS_FORUM_URL "http://forum.zdoom.org/index.php?c=3"
|
||||
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
#define GAME_DIR ".config/zdoom"
|
||||
#elif defined(__APPLE__)
|
||||
#define GAME_DIR GAMENAME
|
||||
|
|
|
@ -84,7 +84,7 @@ ACTOR Actor native //: Thinker
|
|||
action native A_VileChase();
|
||||
action native A_VileStart();
|
||||
action native A_VileTarget(class<Actor> fire = "ArchvileFire");
|
||||
action native A_VileAttack(sound snd = "vile/stop", int initialdmg = 20, int blastdmg = 70, int blastradius = 70, float thrustfac = 1.0, name damagetype = "Fire");
|
||||
action native A_VileAttack(sound snd = "vile/stop", int initialdmg = 20, int blastdmg = 70, int blastradius = 70, float thrustfac = 1.0, name damagetype = "Fire", int flags = 0);
|
||||
action native A_StartFire();
|
||||
action native A_Fire(float spawnheight = 0);
|
||||
action native A_FireCrackle();
|
||||
|
|
|
@ -4,6 +4,9 @@ const int PAF_NOSKULLATTACK = 1;
|
|||
const int PAF_AIMFACING = 2;
|
||||
const int PAF_NOTARGET = 4;
|
||||
|
||||
// Flags for A_VileAttack
|
||||
const int VAF_DMGTYPEAPPLYTODIRECT = 1;
|
||||
|
||||
// Flags for A_Saw
|
||||
const int SF_NORANDOM = 1;
|
||||
const int SF_RANDOMLIGHTMISS = 2;
|
||||
|
|
|
@ -32,6 +32,7 @@ Actor PlayerPawn : Actor native
|
|||
Player.DamageScreenColor "ff 00 00"
|
||||
Player.MugShotMaxHealth 0
|
||||
Player.FlechetteType "ArtiPoisonBag3"
|
||||
Player.AirCapacity 1
|
||||
Obituary "$OB_MPDEFAULT"
|
||||
}
|
||||
|
||||
|
|
|
@ -1615,6 +1615,10 @@ MNU_EPISODE = "Select Episode";
|
|||
WI_FINISHED = "finished";
|
||||
WI_ENTERING = "Now entering:";
|
||||
|
||||
AM_MONSTERS = "Monsters:";
|
||||
AM_SECRETS = "Secrets:";
|
||||
AM_ITEMS = "Items:";
|
||||
|
||||
// Bloodbath announcer
|
||||
|
||||
BBA_BONED = "%k boned %o like a fish";
|
||||
|
|
|
@ -850,6 +850,13 @@ OptionValue Autosave
|
|||
2, "Never"
|
||||
}
|
||||
|
||||
OptionValue dehopt
|
||||
{
|
||||
0, "Never"
|
||||
1, "All"
|
||||
2, "Only last one"
|
||||
}
|
||||
|
||||
OptionMenu "MiscOptions"
|
||||
{
|
||||
Title "Miscellaneous Options"
|
||||
|
@ -864,6 +871,7 @@ OptionMenu "MiscOptions"
|
|||
Option "Enable cheats from all games", "allcheats", "OnOff"
|
||||
Option "Enable autosaves", "disableautosave", "Autosave"
|
||||
Slider "Number of autosaves", "autosavecount", 1, 20, 1, 0
|
||||
Option "Load *.deh/*.bex lumps", "dehload", "dehopt"
|
||||
StaticText " "
|
||||
Option "Cache nodes", "gl_cachenodes", "OnOff"
|
||||
Slider "Time threshold for node caching", "gl_cachetime", 0.0, 2.0, 0.1
|
||||
|
@ -920,10 +928,18 @@ OptionValue STSTypes
|
|||
3, "Rotated"
|
||||
}
|
||||
|
||||
OptionValue MapBackTypes
|
||||
{
|
||||
0, "Off"
|
||||
1, "On"
|
||||
2, "Map defined colors only"
|
||||
}
|
||||
|
||||
OptionMenu AutomapOptions
|
||||
{
|
||||
Title "AUTOMAP OPTIONS"
|
||||
Option "Map color set", "am_colorset", "MapColorTypes"
|
||||
Option "Allow map defined colors", "am_customcolors", "YesNo"
|
||||
Submenu "Set custom colors", "MapColorMenu"
|
||||
Submenu "Customize map controls", "MapControlsMenu"
|
||||
StaticText " "
|
||||
|
@ -939,7 +955,7 @@ OptionMenu AutomapOptions
|
|||
Option "Show total time elapsed", "am_showtotaltime", "OnOff"
|
||||
Option "Show secrets on map", "am_map_secrets", "SecretTypes"
|
||||
Option "Show map label", "am_showmaplabel", "MaplabelTypes"
|
||||
Option "Draw map background", "am_drawmapback", "OnOff"
|
||||
Option "Draw map background", "am_drawmapback", "MapBackTypes"
|
||||
Option "Show keys (cheat)", "am_showkeys", "OnOff"
|
||||
Option "Show trigger lines", "am_showtriggerlines", "OnOff"
|
||||
Option "Show things as sprites", "am_showthingsprites", "STSTypes"
|
||||
|
@ -1010,13 +1026,19 @@ OptionMenu MapColorMenu
|
|||
StaticText "Overlay Mode", 1
|
||||
ColorPicker "You", "am_ovyourcolor"
|
||||
ColorPicker "1-sided walls", "am_ovwallcolor"
|
||||
ColorPicker "2-sided walls", "am_ovotherwallscolor"
|
||||
ColorPicker "2-sided walls with different floors", "am_ovfdwallcolor"
|
||||
ColorPicker "2-sided walls with different ceilings", "am_ovcdwallcolor"
|
||||
ColorPicker "2-sided walls with 3D floors", "am_ovefwallcolor"
|
||||
ColorPicker "Not-yet-seen walls", "am_ovunseencolor"
|
||||
ColorPicker "Teleporter", "am_ovtelecolor"
|
||||
ColorPicker "Locked doors", "am_ovlockedcolor"
|
||||
ColorPicker "Teleporter to the same map", "am_ovtelecolor"
|
||||
ColorPicker "Teleporter to a different map", "am_ovinterlevelcolor"
|
||||
ColorPicker "Secret sector", "am_ovsecretsectorcolor"
|
||||
ColorPicker "Special trigger lines", "am_ovspecialwallcolor"
|
||||
StaticText " "
|
||||
StaticText "Overlay Cheat Mode", 1
|
||||
ColorPicker "Invisible 2-sided walls", "am_ovotherwallscolor"
|
||||
ColorPicker "Secret walls", "am_ovsecretwallcolor"
|
||||
ColorPicker "Actors", "am_ovthingcolor"
|
||||
ColorPicker "Monsters", "am_ovthingcolor_monster"
|
||||
ColorPicker "Friends", "am_ovthingcolor_friend"
|
||||
|
|
Loading…
Reference in a new issue