r5sdk/r5dev/filesystem/filesystem.cpp
Kawe Mazidjatari aa72579656 Heavy FileSystem upgrades
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.
2022-08-13 11:24:55 +02:00

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;