summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-29 18:08:54 +0200
committeraap <aap@papnet.eu>2020-04-29 18:24:25 +0200
commit804b022e671f11f2cf680862f2822444d6b66a5c (patch)
tree5fe1cd04456d0d5ca1adb674e4a2c9a01567869a /src/core/Frontend.h
parentfor real this time (diff)
downloadre3-804b022e671f11f2cf680862f2822444d6b66a5c.tar
re3-804b022e671f11f2cf680862f2822444d6b66a5c.tar.gz
re3-804b022e671f11f2cf680862f2822444d6b66a5c.tar.bz2
re3-804b022e671f11f2cf680862f2822444d6b66a5c.tar.lz
re3-804b022e671f11f2cf680862f2822444d6b66a5c.tar.xz
re3-804b022e671f11f2cf680862f2822444d6b66a5c.tar.zst
re3-804b022e671f11f2cf680862f2822444d6b66a5c.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