mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
boardfilename cleanups
git-svn-id: https://svn.eduke32.com/eduke32@6614 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2cdf98f07a
commit
b25e48a1b3
3 changed files with 4 additions and 7 deletions
|
@ -278,7 +278,6 @@ extern const char *s_buildDate;
|
|||
extern const char *g_rtsNamePtr;
|
||||
|
||||
extern char boardfilename[BMAX_PATH], currentboardfilename[BMAX_PATH];
|
||||
extern char boardfilename[BMAX_PATH];
|
||||
|
||||
extern const char *defaultrtsfilename[GAMECOUNT];
|
||||
extern const char *G_DefaultRtsFile(void);
|
||||
|
|
|
@ -1876,16 +1876,14 @@ int G_EnterLevel(int gameMode)
|
|||
|
||||
if (G_HaveUserMap())
|
||||
{
|
||||
Bstrcpy(levelName, boardfilename);
|
||||
|
||||
if (g_gameNamePtr)
|
||||
#ifdef EDUKE32_STANDALONE
|
||||
Bsprintf(apptitle,"%s - %s",levelName,g_gameNamePtr);
|
||||
Bsprintf(apptitle, "%s - %s", boardfilename, g_gameNamePtr);
|
||||
#else
|
||||
Bsprintf(apptitle, "%s - %s - " APPNAME, levelName, g_gameNamePtr);
|
||||
Bsprintf(apptitle, "%s - %s - " APPNAME, boardfilename, g_gameNamePtr);
|
||||
#endif
|
||||
else
|
||||
Bsprintf(apptitle,"%s - " APPNAME,levelName);
|
||||
Bsprintf(apptitle, "%s - " APPNAME, boardfilename);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ extern int32_t g_halveScreenArea;
|
|||
extern int32_t g_levelTextTime;
|
||||
extern int32_t voting,vote_map,vote_episode;
|
||||
extern palette_t CrosshairColors;
|
||||
void G_SetupFilenameBasedMusic(char *levnamebuf, const char *boardfilename, int levelNum);
|
||||
void G_SetupFilenameBasedMusic(char *nameBuf, const char *fileName, int levelNum);
|
||||
int G_EnterLevel(int gameMode);
|
||||
int G_FindLevelByFile(const char *fileName);
|
||||
void G_CacheMapData(void);
|
||||
|
|
Loading…
Reference in a new issue