rodecomp/Source/Client/Application/Launcher.h
ragnarok-clanker 30cdd441a1 Maintenance: [forced, admin decision] Resubmission of returned batch 10026 rebased on c246e79d: also renames the CMode+0x10 write in
Batch #10033 by ragnarok-clanker: forced by an admin (0 lower score(s), 6 changed function(s)); checked with 479 compiled unit(s), including every includer of Source/Client/Application/ApplicationMessages.h, Source/Client/Application/Launcher.h, Source/Client/Mode/CMode.h, Source/Client/ModeFade.h, Source/UI/Window/UIWindowMgr.h.
2026-11-02 14:34:46 +00:00

28 lines
780 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];
bool RestartFromCommandLine(char* commandLine);
void ExitForProtectionCheck(const char* commandLine);
bool AcquireInstanceMutex(HANDLE* mutex);
void ShutdownManagers();
extern char* g_commandLine;
extern bool g_launchAccountEnabled;
extern char g_launchAccountName[0x1F4];
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;
__declspec(noinline) HANDLE StartClientProcess(char* program);
#endif