summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r--src/core/Frontend.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index ef5279aa..e496f9c0 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -91,6 +91,7 @@ enum eLanguages
#ifdef MORE_LANGUAGES
LANGUAGE_POLISH,
LANGUAGE_RUSSIAN,
+ LANGUAGE_JAPANESE,
#endif
};
@@ -368,6 +369,10 @@ enum eMenuAction
#ifdef MORE_LANGUAGES
MENUACTION_LANG_PL,
MENUACTION_LANG_RUS,
+ MENUACTION_LANG_JAP,
+#endif
+#ifdef IMPROVED_VIDEOMODE
+ MENUACTION_SCREENMODE
#endif
};
@@ -531,6 +536,15 @@ public:
int32 m_nCurrSaveSlot;
int32 m_nScreenChangeDelayTimer;
+#ifdef IMPROVED_VIDEOMODE
+ int32 m_nPrefsWidth;
+ int32 m_nPrefsHeight;
+ int32 m_nPrefsDepth;
+ int32 m_nPrefsWindowed;
+ int32 m_nPrefsSubsystem;
+ int32 m_nSelectedScreenMode;
+#endif
+
public:
bool GetIsMenuActive() {return !!m_bMenuActive;}
@@ -643,7 +657,9 @@ public:
// uint8 GetNumberOfMenuOptions();
};
-static_assert(sizeof(CMenuManager) == 0x564, "CMenuManager: error");
+#ifndef IMPROVED_VIDEOMODE
+VALIDATE_SIZE(CMenuManager, 0x564);
+#endif
extern CMenuManager FrontEndMenuManager;
extern unsigned long _dwOperatingSystemVersion; \ No newline at end of file