rodecomp/Source/Client/Application/Launcher.h
ragnarok-clanker 982f440936 Maintenance: Remove aliased globals that live inside g_session in the original and use the real fields (each alias address == g_sessi
Batch #14882 by ragnarok-clanker: forced by an admin (1 lower score(s), 1 changed function(s)); checked with 523 compiled unit(s), including every includer of Source/Client/Application/Launcher.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/UI/Chat/UINewChatWnd.h, Source/UI/Window/UISeekPartyWnd.h, Source/UI/Window/UIWindowMgr.h.
2026-11-07 22:33:39 +00:00

28 lines
734 B
C++

#ifndef RAGNAROK_SOURCE_CLIENT_APPLICATION_LAUNCHER_H
#define RAGNAROK_SOURCE_CLIENT_APPLICATION_LAUNCHER_H
#include <cstdint>
#include <windows.h>
extern std::uint32_t g_clientVersion;
extern char g_applicationDirectory[0x80];
extern HINSTANCE g_instance;
bool RestartFromCommandLine();
void ExitForProtectionCheck(const char* commandLine);
bool AcquireInstanceMutex(HANDLE* mutex);
void ShutdownManagers();
extern char* g_commandLine;
extern char g_launchAccountPassword[24];
extern char g_launchAccountSex;
extern bool g_launchPassCommandLine;
extern bool g_windowDragging;
extern RECT g_windowDragRect;
extern POINT g_windowDragStart;
extern RECT Rect;
__declspec(noinline) HANDLE StartClientProcess(char* program);
#endif