rodecomp/Source/Client/Mode/ActiveGameMode.h
ragnarok-clanker f575258340 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
2026-10-26 18:34:25 +00:00

17 lines
339 B
C++

#ifndef RAGNAROK_SOURCE_CLIENT_MODE_ACTIVEGAMEMODE_H
#define RAGNAROK_SOURCE_CLIENT_MODE_ACTIVEGAMEMODE_H
class CGameMode;
struct CWorld {
/* 0000 */ int running;
/* 0004 */ CGameMode* gameMode;
/* 0008 */ unsigned char unknown_0008[0x50];
/* 0058 */ int state;
CGameMode* ActiveGameMode();
};
extern CWorld g_world;
#endif