Skip to content

Commit

Permalink
2.1.0 hotfix1 - text scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
sub1to committed Jun 3, 2017
1 parent 9c7c9ab commit b36da8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GTA internal/render.cpp
Expand Up @@ -55,13 +55,13 @@ bool CRender::render()

/*
1920 1080 .25f
1900 900 .30f
1600 900 .30f
1280 720 .35f
1080 - 900 = 180
1080 - 720 = 360
*/
float textScaleOffset = .055f * ((1080 - CHooking::m_resolution->h) / 180.f);
float textScaleOffset = .055f * ((1080.f - CHooking::m_resolution->h) / 180.f);
float textScale = .24f + textScaleOffset;

//Draw header
Expand Down

2 comments on commit b36da8e

@GoddnessTimothy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Would you be willing to accept a commit that modifies keybindings to use the number row? The main reason for this feature would be to allow players without a numpad to be able to toggle the menu.

Also, i know this isn't the place to post this problem, but when I try to build using the VS project file, it complains that I am missing "minhook.h"

@sub1to
Copy link
Owner Author

@sub1to sub1to commented on b36da8e Jun 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can change the keybinds in the ini file.

Please sign in to comment.