Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CHud cleanup: fixes and cosmetic treatment
  • Loading branch information
aap committed Jun 28, 2019
1 parent 847720a commit 5a93f67c88be5123cbbc2f32b1d3bca231017165
Showing with 233 additions and 216 deletions.
  1. +1 −1 src/Camera.h
  2. +0 −2 src/render/Draw.cpp
  3. +223 −205 src/render/Hud.cpp
  4. +9 −8 src/render/Hud.h
@@ -10,7 +10,7 @@ class CAutomobile;

struct CCam
{
enum CamMode
enum
{
MODE_TOPDOWN1 = 1,
MODE_TOPDOWN2,
@@ -23,8 +23,6 @@ CDraw::CalculateAspectRatio()

if(FrontEndMenuManager.m_PrefsUseWideScreen)
ms_fAspectRatio = 16.0f/9.0f;
else if(TheCamera.m_WideScreenOn)
ms_fAspectRatio = 1.25f;
else
ms_fAspectRatio = 4.0f/3.0f;
}

0 comments on commit 5a93f67

Please sign in to comment.