mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
This allows for loading the game with the client.dll without loading the main worker/sdk dll. gamesdk.dll is imported by the game executable, so we cannot circumvent its loading without some hacks, so instead, we just check if -noworkerdll is passed and not perform any init if its present.
23 lines
823 B
C++
23 lines
823 B
C++
#pragma once
|
|
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|
// Windows Header Files
|
|
#include <windows.h>
|
|
|
|
__declspec(dllexport) void DummyExport()
|
|
{
|
|
// Required for detours.
|
|
}
|
|
|
|
const static std::string R5R_EMBLEM[] =
|
|
{
|
|
R"(+-------------------------------------------------------------+)",
|
|
R"(| ___ ___ ___ _ _ _ ___ ___ |)",
|
|
R"(| | _ \ __| _ \___| |___ __ _ __| |___ __| | __ _|_ ) |_ ) |)",
|
|
R"(| | /__ \ / -_) / _ \/ _` / _` / -_) _` | \ V // / _ / / |)",
|
|
R"(| |_|_\___/_|_\___|_\___/\__,_\__,_\___\__,_| \_//___(_)___| |)",
|
|
R"(| |)",
|
|
R"(+-------------------------------------------------------------+)"
|
|
};
|
|
|
|
static bool s_bNoWorkerDll = false; |