OpenArena / gamecode

The game code for the QVM-files
GNU General Public License v2.0
135 stars 39 forks source link

Hud bug for widescreen (16:10) #146

Open Bishop-333 opened 2 years ago

Bishop-333 commented 2 years ago

The levelshot during the loading of the map and the hud are not set for widescreen.

cgs.screenXScale and cgs.screenYScale was not set correctly for widescreen, there was a fix for widescreen support in cg_drawitems that works but the one in cg_main.c cause some problems, I remove it and it fixed the issue.

cg_main.c.zip

Capture d’écran 2022-02-17 à 16 28 25 Capture d’écran 2022-02-17 à 16 28 09

NeonKnightOA commented 2 years ago

Can you create a pull-request? Sounds like a trivial change.

The-Gig commented 2 years ago

Link to this PR: https://github.com/OpenArena/gamecode/pull/148

Bishop-333 commented 2 years ago

Now link to this pr (sorry i've just leaned how to make branch): #157