Update CRadar.cpp, CHud.cpp, CDraw.cpp fixed bug in templates.h.

This commit is contained in:
_AG
2019-06-20 02:31:03 +02:00
parent f4146d39a2
commit 2ce7bcc405
16 changed files with 766 additions and 258 deletions

View File

@ -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; };
};