summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-01 12:46:36 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-01 12:46:36 +0200
commit79d66b79101d72a460ad2cc1338da06a292d30cc (patch)
tree35332ede65efe94504a5fdb8b0a3a2cc25c885e2 /src/core/Frontend.h
parentupdated get/set (diff)
parentMerge pull request #499 from aap/master (diff)
downloadre3-79d66b79101d72a460ad2cc1338da06a292d30cc.tar
re3-79d66b79101d72a460ad2cc1338da06a292d30cc.tar.gz
re3-79d66b79101d72a460ad2cc1338da06a292d30cc.tar.bz2
re3-79d66b79101d72a460ad2cc1338da06a292d30cc.tar.lz
re3-79d66b79101d72a460ad2cc1338da06a292d30cc.tar.xz
re3-79d66b79101d72a460ad2cc1338da06a292d30cc.tar.zst
re3-79d66b79101d72a460ad2cc1338da06a292d30cc.zip
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r--src/core/Frontend.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index c1284101..fc2c5235 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -533,6 +533,14 @@ 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;
+#endif
+
public:
bool GetIsMenuActive() {return !!m_bMenuActive;}
@@ -645,7 +653,9 @@ public:
// uint8 GetNumberOfMenuOptions();
};
+#ifndef IMPROVED_VIDEOMODE
static_assert(sizeof(CMenuManager) == 0x564, "CMenuManager: error");
+#endif
extern CMenuManager FrontEndMenuManager;
extern unsigned long _dwOperatingSystemVersion; \ No newline at end of file