You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Core/GameEngine/Include/Common/ArchiveFileSystem.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -140,17 +140,17 @@ class ArchiveFileSystem : public SubsystemInterface
140
140
virtualvoidcloseAllArchiveFiles( void ) = 0; ///< Close all Archive files currently open
141
141
142
142
// File operations
143
-
virtual File* openFile( const Char *filename, Int access = 0, UnsignedInt instance = 0); ///< Search Archive files for specified file name and open it if found
143
+
virtual File* openFile( const Char *filename, Int access = 0, FileInstance instance = 0); ///< Search Archive files for specified file name and open it if found
144
144
virtualvoidcloseAllFiles( void ) = 0; ///< Close all files associated with Archive files
145
-
virtual Bool doesFileExist(const Char *filename, UnsignedInt instance = 0) const; ///< return true if that file exists in an archive file somewhere.
145
+
virtual Bool doesFileExist(const Char *filename, FileInstance instance = 0) const; ///< return true if that file exists in an archive file somewhere.
146
146
147
147
voidgetFileListInDirectory(const AsciiString& currentDirectory, const AsciiString& originalDirectory, const AsciiString& searchName, FilenameList &filenameList, Bool searchSubdirectories) const; ///< search the given directory for files matching the searchName (egs. *.ini, *.rep). Possibly search subdirectories. Scans each Archive file.
#defineUSER_W3D_DIR_PATH"%sW3D/"///< .w3d files live here
81
82
#defineUSER_TGA_DIR_PATH"%sTextures/"///< User .tga texture files live here
82
83
83
-
// the following defines are only to be used while maintaining legacy compatability
84
+
// the following defines are only to be used while maintaining legacy compatibility
84
85
// with old files until they are completely gone and in the regular art set
85
86
#ifdef MAINTAIN_LEGACY_FILES
86
87
#defineLEGACY_W3D_DIR_PATH"../LegacyArt/W3D/"///< .w3d files live here
@@ -144,10 +145,10 @@ class FileSystem : public SubsystemInterface
144
145
voidreset();
145
146
voidupdate();
146
147
147
-
File* openFile( const Char *filename, Int access = File::NONE, size_t bufferSize = File::BUFFERSIZE, UnsignedInt instance = 0 ); ///< opens a File interface to the specified file
148
-
Bool doesFileExist(const Char *filename, UnsignedInt instance = 0) const; ///< returns TRUE if the file exists. filename should have no directory.
148
+
File* openFile( const Char *filename, Int access = File::NONE, size_t bufferSize = File::BUFFERSIZE, FileInstance instance = 0 ); ///< opens a File interface to the specified file
149
+
Bool doesFileExist(const Char *filename, FileInstance instance = 0) const; ///< returns TRUE if the file exists. filename should have no directory.
149
150
voidgetFileListInDirectory(const AsciiString& directory, const AsciiString& searchName, FilenameList &filenameList, Bool searchSubdirectories) const; ///< search the given directory for files matching the searchName (egs. *.ini, *.rep). Possibly search subdirectories.
150
-
Bool getFileInfo(const AsciiString& filename, FileInfo *fileInfo, UnsignedInt instance = 0) const; ///< fills in the FileInfo struct for the file given. returns TRUE if successful.
151
+
Bool getFileInfo(const AsciiString& filename, FileInfo *fileInfo, FileInstance instance = 0) const; ///< fills in the FileInfo struct for the file given. returns TRUE if successful.
151
152
152
153
Bool createDirectory(AsciiString directory); ///< create a directory of the given name.
153
154
@@ -162,9 +163,9 @@ class FileSystem : public SubsystemInterface
0 commit comments