aboutsummaryrefslogtreecommitdiff
path: root/sp/src/utils/common/filesystem_tools.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /sp/src/utils/common/filesystem_tools.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/utils/common/filesystem_tools.h')
-rw-r--r--sp/src/utils/common/filesystem_tools.h118
1 files changed, 59 insertions, 59 deletions
diff --git a/sp/src/utils/common/filesystem_tools.h b/sp/src/utils/common/filesystem_tools.h
index 09db7b3e..ada82ad5 100644
--- a/sp/src/utils/common/filesystem_tools.h
+++ b/sp/src/utils/common/filesystem_tools.h
@@ -1,59 +1,59 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//===========================================================================//
-
-#ifndef FILESYSTEM_TOOLS_H
-#define FILESYSTEM_TOOLS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include "filesystem.h"
-#include "filesystem_init.h"
-
-
-// This is the the path of the initial source file
-extern char qdir[1024];
-
-// This is the base engine + mod-specific game dir (e.g. "d:\tf2\mytfmod\")
-extern char gamedir[1024];
-
-
-// ---------------------------------------------------------------------------------------- //
-// Filesystem initialization.
-// ---------------------------------------------------------------------------------------- //
-
-enum FSInitType_t
-{
- FS_INIT_FULL, // Load gameinfo.txt, maybe use filesystem_steam, and setup search paths.
- FS_INIT_COMPATIBILITY_MODE // Load filesystem_stdio and that's it.
-};
-
-//
-// Initializes qdir, and gamedir. Also initializes the VMPI filesystem if MPI is defined.
-//
-// pFilename can be NULL if you want to rely on vproject and qproject. If it's specified, FileSystem_Init
-// will go up directories from pFilename looking for gameinfo.txt (if vproject isn't specified).
-//
-// If bOnlyUseFilename is true, then it won't use any alternative methods of finding the vproject dir
-// (ie: it won't use -game or -vproject or the vproject env var or qproject).
-//
-bool FileSystem_Init( const char *pFilename, int maxMemoryUsage=0, FSInitType_t initType=FS_INIT_FULL, bool bOnlyUseFilename=false );
-void FileSystem_Term();
-
-// Used to connect app-framework based console apps to the filesystem tools
-void FileSystem_SetupStandardDirectories( const char *pFilename, const char *pGameInfoPath );
-
-CreateInterfaceFn FileSystem_GetFactory( void );
-
-
-extern IBaseFileSystem *g_pFileSystem;
-extern IFileSystem *g_pFullFileSystem; // NOTE: this is here when VMPI is being used, but a VMPI app can
- // ONLY use LoadModule/UnloadModule.
-
-
-#endif // FILESYSTEM_TOOLS_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//===========================================================================//
+
+#ifndef FILESYSTEM_TOOLS_H
+#define FILESYSTEM_TOOLS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "filesystem.h"
+#include "filesystem_init.h"
+
+
+// This is the the path of the initial source file
+extern char qdir[1024];
+
+// This is the base engine + mod-specific game dir (e.g. "d:\tf2\mytfmod\")
+extern char gamedir[1024];
+
+
+// ---------------------------------------------------------------------------------------- //
+// Filesystem initialization.
+// ---------------------------------------------------------------------------------------- //
+
+enum FSInitType_t
+{
+ FS_INIT_FULL, // Load gameinfo.txt, maybe use filesystem_steam, and setup search paths.
+ FS_INIT_COMPATIBILITY_MODE // Load filesystem_stdio and that's it.
+};
+
+//
+// Initializes qdir, and gamedir. Also initializes the VMPI filesystem if MPI is defined.
+//
+// pFilename can be NULL if you want to rely on vproject and qproject. If it's specified, FileSystem_Init
+// will go up directories from pFilename looking for gameinfo.txt (if vproject isn't specified).
+//
+// If bOnlyUseFilename is true, then it won't use any alternative methods of finding the vproject dir
+// (ie: it won't use -game or -vproject or the vproject env var or qproject).
+//
+bool FileSystem_Init( const char *pFilename, int maxMemoryUsage=0, FSInitType_t initType=FS_INIT_FULL, bool bOnlyUseFilename=false );
+void FileSystem_Term();
+
+// Used to connect app-framework based console apps to the filesystem tools
+void FileSystem_SetupStandardDirectories( const char *pFilename, const char *pGameInfoPath );
+
+CreateInterfaceFn FileSystem_GetFactory( void );
+
+
+extern IBaseFileSystem *g_pFileSystem;
+extern IFileSystem *g_pFullFileSystem; // NOTE: this is here when VMPI is being used, but a VMPI app can
+ // ONLY use LoadModule/UnloadModule.
+
+
+#endif // FILESYSTEM_TOOLS_H