mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Remove RTS names from standalone builds
git-svn-id: https://svn.eduke32.com/eduke32@7897 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dcdabd30d3
commit
640b1c4461
2 changed files with 6 additions and 3 deletions
|
@ -94,7 +94,9 @@ int32_t g_BenchmarkMode = BENCHMARKMODE_OFF;
|
|||
|
||||
int32_t g_Debug = 0;
|
||||
|
||||
const char *defaultrtsfilename[GAMECOUNT] = { "DUKE.RTS", "NAM.RTS", "NAPALM.RTS", "WW2GI.RTS" };
|
||||
#ifndef EDUKE32_STANDALONE
|
||||
static const char *defaultrtsfilename[GAMECOUNT] = { "DUKE.RTS", "NAM.RTS", "NAPALM.RTS", "WW2GI.RTS" };
|
||||
#endif
|
||||
|
||||
int32_t g_Shareware = 0;
|
||||
|
||||
|
@ -131,6 +133,7 @@ void M32RunScript(const char *s) { UNREFERENCED_PARAMETER(s); }; // needed for
|
|||
|
||||
const char *G_DefaultRtsFile(void)
|
||||
{
|
||||
#ifndef EDUKE32_STANDALONE
|
||||
if (DUKE)
|
||||
return defaultrtsfilename[GAME_DUKE];
|
||||
else if (WW2GI)
|
||||
|
@ -149,8 +152,9 @@ const char *G_DefaultRtsFile(void)
|
|||
else
|
||||
return defaultrtsfilename[GAME_NAM];
|
||||
}
|
||||
#endif
|
||||
|
||||
return defaultrtsfilename[0];
|
||||
return "";
|
||||
}
|
||||
|
||||
enum gametokens
|
||||
|
|
|
@ -311,7 +311,6 @@ static inline int Menu_HaveUserMap(void)
|
|||
return (boardfilename[0] != 0 && ud.m_level_number == 7 && ud.m_volume_number == 0);
|
||||
}
|
||||
|
||||
extern const char *defaultrtsfilename[GAMECOUNT];
|
||||
extern const char *G_DefaultRtsFile(void);
|
||||
|
||||
#ifdef LEGACY_ROR
|
||||
|
|
Loading…
Reference in a new issue