From 68d7d57b3b1575d386070a521a1d048a97ce7577 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 2 Jul 2020 01:24:46 +0200 Subject: [PATCH] - fixed menu registration. --- source/duke3d/src/d_menu.cpp | 8 ++++---- source/duke3d/src/duke3d.h | 2 +- source/games/duke/src/duke3d.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/duke3d/src/d_menu.cpp b/source/duke3d/src/d_menu.cpp index f5fa3fa3c..9612f5d9d 100644 --- a/source/duke3d/src/d_menu.cpp +++ b/source/duke3d/src/d_menu.cpp @@ -763,10 +763,10 @@ END_EDUKE_NS //---------------------------------------------------------------------------- -static TMenuClassDescriptor _mm("Duke.MainMenu"); -static TMenuClassDescriptor _lm("Duke.ListMenu"); -static TMenuClassDescriptor _ngcsm("Duke.NewGameCustomSubMenu"); -static TMenuClassDescriptor _ism("Duke.ImageScrollerMenu"); +static TMenuClassDescriptor _mm("EDuke.MainMenu"); +static TMenuClassDescriptor _lm("EDuke.ListMenu"); +static TMenuClassDescriptor _ngcsm("EDuke.NewGameCustomSubMenu"); +static TMenuClassDescriptor _ism("EDuke.ImageScrollerMenu"); void RegisterDukeMenus() { diff --git a/source/duke3d/src/duke3d.h b/source/duke3d/src/duke3d.h index 6c9f75b9a..a26caa63e 100644 --- a/source/duke3d/src/duke3d.h +++ b/source/duke3d/src/duke3d.h @@ -215,7 +215,7 @@ static inline int32_t G_DefaultActorHealthForTile(int const tileNum) struct GameInterface : ::GameInterface { - const char* Name() override { return "Duke"; } + const char* Name() override { return "EDuke"; } int app_main() override; void UpdateScreenSize() override; void FreeGameData() override; diff --git a/source/games/duke/src/duke3d.h b/source/games/duke/src/duke3d.h index d72e0007a..7c2290583 100644 --- a/source/games/duke/src/duke3d.h +++ b/source/games/duke/src/duke3d.h @@ -194,7 +194,7 @@ enum GameFunction_t struct GameInterface : ::GameInterface { - const char* Name() override { return "Redneck"; } + const char* Name() override { return "Duke"; } int app_main() override; void UpdateScreenSize() override; void FreeGameData() override;