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/ArchiveFile.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,11 @@ class ArchiveFile
52
52
53
53
virtual Bool getFileInfo( const AsciiString& filename, FileInfo *fileInfo) const = 0; ///< fill in the fileInfo struct with info about the file requested.
54
54
virtual File* openFile( const Char *filename, Int access = 0) = 0; ///< Open the specified file within the archive file
55
-
virtualvoidcloseAllFiles(void) = 0; ///< Close all file opened in this archive file
56
-
virtual AsciiString getName(void) = 0; ///< Returns the name of the archive file
57
-
virtual AsciiString getPath(void) = 0; ///< Returns full path and name of archive file
55
+
virtualvoidcloseAllFiles() = 0; ///< Close all file opened in this archive file
56
+
virtual AsciiString getName() = 0; ///< Returns the name of the archive file
57
+
virtual AsciiString getPath() = 0; ///< Returns full path and name of archive file
58
58
virtualvoidsetSearchPriority( Int new_priority ) = 0; ///< Set this archive file's search priority
59
-
virtualvoidclose(void) = 0; ///< Close this archive file
59
+
virtualvoidclose() = 0; ///< Close this archive file
Copy file name to clipboardExpand all lines: Core/GameEngine/Include/Common/ArchiveFileSystem.h
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -126,19 +126,19 @@ class ArchiveFileSystem : public SubsystemInterface
126
126
ArchiveFileSystem();
127
127
virtual~ArchiveFileSystem();
128
128
129
-
virtualvoidinit(void) = 0;
130
-
virtualvoidupdate(void) = 0;
131
-
virtualvoidreset(void) = 0;
132
-
virtualvoidpostProcessLoad(void) = 0;
129
+
virtualvoidinit() = 0;
130
+
virtualvoidupdate() = 0;
131
+
virtualvoidreset() = 0;
132
+
virtualvoidpostProcessLoad() = 0;
133
133
134
134
// ArchiveFile operations
135
135
virtual ArchiveFile* openArchiveFile( const Char *filename ) = 0; ///< Create new or return existing Archive file from file name
136
136
virtualvoidcloseArchiveFile( const Char *filename ) = 0; ///< Close the one specified big file.
137
-
virtualvoidcloseAllArchiveFiles(void) = 0; ///< Close all Archive files currently open
137
+
virtualvoidcloseAllArchiveFiles() = 0; ///< Close all Archive files currently open
138
138
139
139
// File operations
140
140
virtual File* openFile( const Char *filename, Int access = 0, FileInstance instance = 0); ///< Search Archive files for specified file name and open it if found
141
-
virtualvoidcloseAllFiles(void) = 0; ///< Close all files associated with Archive files
141
+
virtualvoidcloseAllFiles() = 0; ///< Close all files associated with Archive files
142
142
virtual Bool doesFileExist(const Char *filename, FileInstance instance = 0) const; ///< return true if that file exists in an archive file somewhere.
143
143
144
144
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.
@@ -149,7 +149,7 @@ class ArchiveFileSystem : public SubsystemInterface
0 commit comments