- fixed menu registration.

This commit is contained in:
Christoph Oelckers 2020-07-02 01:24:46 +02:00
parent 247c9fb786
commit 68d7d57b3b
3 changed files with 6 additions and 6 deletions

View file

@ -763,10 +763,10 @@ END_EDUKE_NS
//----------------------------------------------------------------------------
static TMenuClassDescriptor<Duke::DukeMainMenu> _mm("Duke.MainMenu");
static TMenuClassDescriptor<Duke::DukeListMenu> _lm("Duke.ListMenu");
static TMenuClassDescriptor<Duke::DukeNewGameCustomSubMenu> _ngcsm("Duke.NewGameCustomSubMenu");
static TMenuClassDescriptor<Duke::DDukeImageScrollerMenu> _ism("Duke.ImageScrollerMenu");
static TMenuClassDescriptor<Duke::DukeMainMenu> _mm("EDuke.MainMenu");
static TMenuClassDescriptor<Duke::DukeListMenu> _lm("EDuke.ListMenu");
static TMenuClassDescriptor<Duke::DukeNewGameCustomSubMenu> _ngcsm("EDuke.NewGameCustomSubMenu");
static TMenuClassDescriptor<Duke::DDukeImageScrollerMenu> _ism("EDuke.ImageScrollerMenu");
void RegisterDukeMenus()
{

View file

@ -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;

View file

@ -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;