New LOGO_FLAGS bit LOGO_HIDEEPISODE: Omit the episode name from the automap.

Patch from Fox.

git-svn-id: https://svn.eduke32.com/eduke32@6597 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-01-26 04:35:37 +00:00
parent 740cedefbb
commit 947402e28c
2 changed files with 3 additions and 1 deletions

View file

@ -96,6 +96,7 @@ enum LogoFlags_t {
LOGO_STOPMISCSOUNDS = 0x00200000, LOGO_STOPMISCSOUNDS = 0x00200000,
LOGO_NOGAMETITLE = 0x00400000, LOGO_NOGAMETITLE = 0x00400000,
LOGO_NOTITLEBAR = 0x00800000, LOGO_NOTITLEBAR = 0x00800000,
LOGO_HIDEEPISODE = 0x01000000,
}; };
enum { enum {

View file

@ -1066,7 +1066,8 @@ void G_DisplayRest(int32_t smoothratio)
if (textret == 0 && ud.overhead_on == 2) if (textret == 0 && ud.overhead_on == 2)
{ {
const int32_t a = (ud.screen_size > 0) ? 147 : 179; const int32_t a = (ud.screen_size > 0) ? 147 : 179;
minitext(5, a+6, g_volumeNames[ud.volume_number], 0, 2+8+16+256); if (!(G_GetLogoFlags() & LOGO_HIDEEPISODE))
minitext(5, a+6, g_volumeNames[ud.volume_number], 0, 2+8+16+256);
minitext(5, a+6+6, g_mapInfo[ud.volume_number*MAXLEVELS + ud.level_number].name, 0, 2+8+16+256); minitext(5, a+6+6, g_mapInfo[ud.volume_number*MAXLEVELS + ud.level_number].name, 0, 2+8+16+256);
} }
} }