Batch #9112 by Bielhp: 0 byte-identical, 1 confirmed by peer review. - fn_24358 ShutdownManagers: logic confirmed by peer review Peer-reviewed-by: youko, vinnyamancio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
25 lines
688 B
C++
25 lines
688 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;
|
|
|
|
__declspec(noinline) HANDLE StartClientProcess(char* program);
|
|
|
|
#endif
|