0ad/source/simulation2
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
..
components Fix the deserialization of game state for AIs 2026-07-02 21:50:32 +02:00
docs Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
helpers Makes GameView returning reference on camera 2026-06-28 17:57:16 +02:00
scripting Remove global g_xres and x_yres 2026-07-08 11:35:46 +02:00
serialization Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
system Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
tests Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
MessageTypes.h Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
Simulation2.cpp Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
Simulation2.h Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00