From 947402e28ce2efec2699be76dfe60e97fb997754 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 26 Jan 2018 04:35:37 +0000 Subject: [PATCH] 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 --- source/duke3d/src/game.h | 1 + source/duke3d/src/screens.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/duke3d/src/game.h b/source/duke3d/src/game.h index a11f8b0e9..fa42a985a 100644 --- a/source/duke3d/src/game.h +++ b/source/duke3d/src/game.h @@ -96,6 +96,7 @@ enum LogoFlags_t { LOGO_STOPMISCSOUNDS = 0x00200000, LOGO_NOGAMETITLE = 0x00400000, LOGO_NOTITLEBAR = 0x00800000, + LOGO_HIDEEPISODE = 0x01000000, }; enum { diff --git a/source/duke3d/src/screens.cpp b/source/duke3d/src/screens.cpp index 3f8449c28..0a2f1a937 100644 --- a/source/duke3d/src/screens.cpp +++ b/source/duke3d/src/screens.cpp @@ -1066,7 +1066,8 @@ void G_DisplayRest(int32_t smoothratio) if (textret == 0 && ud.overhead_on == 2) { 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); } }