summaryrefslogtreecommitdiff
path: root/launcher/ifilesystem.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /launcher/ifilesystem.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'launcher/ifilesystem.h')
-rw-r--r--launcher/ifilesystem.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/launcher/ifilesystem.h b/launcher/ifilesystem.h
new file mode 100644
index 0000000..75d9cfe
--- /dev/null
+++ b/launcher/ifilesystem.h
@@ -0,0 +1,37 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+// $NoKeywords: $
+//=============================================================================//
+#ifndef IFILESYSTEM_H
+#define IFILESYSTEM_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "interface.h"
+
+
+class IFileSystem;
+
+//-----------------------------------------------------------------------------
+// Loads, unloads the file system DLL
+//-----------------------------------------------------------------------------
+bool FileSystem_LoadFileSystemModule( void );
+void FileSystem_UnloadFileSystemModule( void );
+
+CSysModule * FileSystem_LoadModule( const char* path );
+void FileSystem_UnloadModule( CSysModule *pModule );
+
+bool FileSystem_Init( );
+void FileSystem_Shutdown( void );
+
+// Sets the file system search path based on the game directory
+bool FileSystem_SetGameDirectory( char const* pGameDir );
+
+extern IFileSystem *g_pFileSystem;
+
+#endif // IFILESYSTEM_H \ No newline at end of file