mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Implement VFTable's to interface with engine (for the most part mapped out, only the new VPK methods needs further reversing). This exposes a good majority of the FileSystem implementation of the engine, to the SDK.
15 lines
523 B
C++
15 lines
523 B
C++
#include "core/stdafx.h"
|
|
#include "vpklib/packedstore.h"
|
|
#include "filesystem/filesystem.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Singleton FileSystem
|
|
//-----------------------------------------------------------------------------
|
|
CFileSystem_Stdio* FileSystem()
|
|
{
|
|
return (*g_pFullFileSystem);
|
|
}
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
CFileSystem_Stdio** g_pFullFileSystem = nullptr;
|
|
CFileSystem_Stdio* g_pFileSystem_Stdio = nullptr; |