summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-20 02:31:03 +0200
committer_AG <gennariarmando@outlook.com>2019-06-20 02:32:36 +0200
commit2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd (patch)
tree4cbfefeedd462f46b29d4b1c9004f17eefebc364 /src/render/Draw.h
parentfinally finished CVehicleModelInfo (diff)
downloadre3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.gz
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.bz2
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.lz
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.xz
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.zst
re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.zip
Diffstat (limited to '')
-rw-r--r--src/render/Draw.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/render/Draw.h b/src/render/Draw.h
index 6dd42121..1fcb5212 100644
--- a/src/render/Draw.h
+++ b/src/render/Draw.h
@@ -1,5 +1,8 @@
#pragma once
+#define HUD_SCALE 0.8f
+#define DEFAULT_SCALE 1.0f
+
class CDraw
{
private:
@@ -7,6 +10,7 @@ private:
static float &ms_fFarClipZ;
static float &ms_fFOV;
static float ms_fAspectRatio;
+ static float ms_fScreenMultiplier;
public:
static uint8 &FadeValue;
@@ -24,5 +28,6 @@ public:
static void CalculateAspectRatio();
static float GetAspectRatio(void) { return ms_fAspectRatio; }
-
+ static void SetScreenMult(float mult) { ms_fScreenMultiplier = mult; };
+ static float GetScreenMult(void) { return ms_fScreenMultiplier; };
};