mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Fix all compiler error for GameSDK on S0 and S1. * Remove some unused patterns and globals (launch performance gains of 100ms). * Remove most duplicate patterns. * Relocate globals from engine to a more appropriate location. * Renamed some unknown vars to a more appropriate name (most of these where obtained a while back, but as we reversed more parts of the engine, some of these vars become known). * Renamed some vars to fit the naming convention used in the SDK. * Fixed pattern debug logging using the wrong pointer, thus displaying the wrong address.
25 lines
629 B
C++
25 lines
629 B
C++
#include "core/stdafx.h"
|
|
#include "ebisusdk/EbisuSDK.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose: sets the EbisuSDK globals for dedicated to satisfy command callbacks
|
|
//-----------------------------------------------------------------------------
|
|
void HEbisuSDK_Init()
|
|
{
|
|
#ifdef DEDICATED
|
|
*(char*)g_bEbisuSDKInitialized = (char)0x1; // <- 1st EbisuSDK
|
|
*(char*)g_bEbisuSDKCvarInitialized = (char)0x1; // <- 2nd EbisuSDK
|
|
*(char*)g_NucleusID = (char)0x1; // <- 3rd EbisuSDK
|
|
#endif // DEDICATED
|
|
}
|
|
|
|
void EbisuSDK_Attach()
|
|
{
|
|
//
|
|
}
|
|
|
|
void EbisuSDK_Detach()
|
|
{
|
|
//
|
|
}
|