summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-11-09 16:17:54 +0100
committerFilip Gawin <filip.gawin@zoho.com>2019-11-12 23:34:28 +0100
commitbe7d1d1a6327426dbe24c5b7b8eb16e5bb83a587 (patch)
tree3f802ec81aa739a423db3946f70244bfca0c536f /src/core/Frontend.h
parentfixes (diff)
downloadre3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.tar
re3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.tar.gz
re3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.tar.bz2
re3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.tar.lz
re3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.tar.xz
re3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.tar.zst
re3-be7d1d1a6327426dbe24c5b7b8eb16e5bb83a587.zip
Diffstat (limited to '')
-rw-r--r--src/core/Frontend.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index e1ee5b31..ed7cd2c3 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -7,10 +7,10 @@
#define MENUHEADER_WIDTH 0.84f
#define MENUHEADER_HEIGHT 1.6f
-#define MENUACTION_POS_X 20.0f
+#define MENUACTION_POS_X 40.0f
#define MENUACTION_POS_Y 37.5f
-#define MENUACTION_WIDTH 0.675f
-#define MENUACTION_HEIGHT 0.81f
+#define MENUACTION_WIDTH 0.405f
+#define MENUACTION_HEIGHT 0.63f
#define MENUCOLUMN_POS_X MENUHEADER_POS_X + 16.0f
#define MENUCOLUMN_MAX_Y 149.0f
@@ -466,9 +466,13 @@ public:
static bool &m_bStartUpFrontEndRequested;
static bool &m_bShutDownFrontEndRequested;
static bool &m_PrefsAllowNastyGame;
+
+ static float &headingYStart;
+ static float &unkX;
+ static float &unkY;
public:
- void BuildStatLine(char *text, float *stat, bool aFloat, float* stat2);
+ static void BuildStatLine(char *text, void *stat, uint8 aFloat, void *stat2);
static void CentreMousePointer();
int CheckCodesForControls(int32);
bool CheckHover(int x1, int x2, int y1, int y2);