0ad/source/ps/GameSetup
Ralph Sennhauser 99bbc24265
Some checks are pending
checkrefs / lfscheck (push) Waiting to run
checkrefs / checkrefs (push) Waiting to run
lint / cppcheck (push) Waiting to run
lint / copyright (push) Waiting to run
lint / jenkinsfiles (push) Waiting to run
pre-commit / build (push) Waiting to run
Remove global g_xres and x_yres
Instead query g_VideoMode where needed. As both g_xres and g_yres aren't
global anymore remove static from UpdateRenderer. While at it use more
desicriptive names: GetXRes -> GetWindowWidth, GetYRes ->
GetWindowHeight.

This reduces the amount of variables tracking width and height by one
each.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2026-07-08 11:35:46 +02:00
..
tests Remove custom span and use std::span 2025-08-24 11:09:57 +02:00
Atlas.cpp Fix some includes in source/ps 2025-07-28 16:59:04 +02:00
Atlas.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
CmdLineArgs.cpp Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
CmdLineArgs.h Remove custom span and use std::span 2025-08-24 11:09:57 +02:00
Config.cpp Remove global g_xres and x_yres 2026-07-08 11:35:46 +02:00
Config.h Remove global g_xres and x_yres 2026-07-08 11:35:46 +02:00
GameSetup.cpp Removes RenderPath 2026-07-07 23:12:45 +02:00
GameSetup.h Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
HWDetect.cpp Remove global g_xres and x_yres 2026-07-08 11:35:46 +02:00
HWDetect.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Paths.cpp Remove helper function FileExists 2026-06-20 12:01:38 +02:00
Paths.h Fix includes in source/ps 2025-08-05 07:21:22 +02:00