diff options
author | aap <aap@papnet.eu> | 2019-06-20 11:28:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 11:28:04 +0200 |
commit | 109cde810c7b6115f864cf3e5005111c17284ab9 (patch) | |
tree | 052fc5a6c687983435f8d0b871b2d9abff31f747 /src/render/Draw.h | |
parent | finally finished CVehicleModelInfo (diff) | |
parent | Fix bug in templates.h, again. (diff) | |
download | re3-109cde810c7b6115f864cf3e5005111c17284ab9.tar re3-109cde810c7b6115f864cf3e5005111c17284ab9.tar.gz re3-109cde810c7b6115f864cf3e5005111c17284ab9.tar.bz2 re3-109cde810c7b6115f864cf3e5005111c17284ab9.tar.lz re3-109cde810c7b6115f864cf3e5005111c17284ab9.tar.xz re3-109cde810c7b6115f864cf3e5005111c17284ab9.tar.zst re3-109cde810c7b6115f864cf3e5005111c17284ab9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Draw.h | 7 |
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; }; }; |