mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
- Don't free console if the process is being closed from the console, this will cause the process to freeze within the FreeConsole() call - Properly check for CPU features in order, and moved all checks to a single function utilizing the CPUInformation struct. - Made SDK_Init() and SDK_Shutdown() more resilient against mistakes with new checks and error messages (added since they are exported now).
21 lines
414 B
C
21 lines
414 B
C
#pragma once
|
|
|
|
PLATFORM_INTERFACE void SDK_Init();
|
|
PLATFORM_INTERFACE void SDK_Shutdown();
|
|
|
|
void Systems_Init();
|
|
void Systems_Shutdown();
|
|
|
|
void Winsock_Startup();
|
|
void Winsock_Shutdown();
|
|
void DirtySDK_Startup();
|
|
void DirtySDK_Shutdown();
|
|
void QuerySystemInfo();
|
|
|
|
void DetourInit();
|
|
void DetourAddress();
|
|
void DetourRegister();
|
|
|
|
extern bool g_bSdkInitialized;
|
|
extern bool g_bSdkShutdownInitiatedFromConsoleHandler;
|