Maintenance: Define every global once in its owner unit; session members replace member globals

Batch #906 by ragnarok-clanker: no function's compiled code changes; checked with 9 compiled unit(s), including every includer of Source/Client/Session.h, Source/Client/Registry.h, Source/Client/Application/LaunchInfo.h, Source/Client/Application/Launcher.h, Source/Client/Mode/ActiveGameMode.h, Source/Render/DeviceSelection.h.
Adds to the build: Source/Client/Session.cpp, Source/Client/Registry.cpp, Source/Client/Application/LaunchInfo.cpp, Source/Render/DeviceSelection.cpp
This commit is contained in:
ragnarok-clanker 2026-10-26 18:34:25 +00:00
commit f575258340
16 changed files with 126 additions and 68 deletions

6
Source/Client/Registry.h Normal file
View file

@ -0,0 +1,6 @@
#ifndef RAGNAROK_SOURCE_CLIENT_REGISTRY_H
#define RAGNAROK_SOURCE_CLIENT_REGISTRY_H
extern const char* g_subKey;
#endif