Support all file search paths when finding mapcycle file (bug 5839, r=asherkin).

--HG--
extra : rebase_source : 997dedcbac4a9249111c7424723f5b386baee77d
This commit is contained in:
Nicholas Hastings
2014-01-07 10:24:05 -05:00
parent 876ba3bef5
commit 17212616d7
3 changed files with 40 additions and 33 deletions
+20
View File
@@ -118,6 +118,26 @@ public:
{
filesystem->FindClose(handle);
}
FileHandle_t Open(const char *pFileName, const char *pOptions, const char *pathID = 0)
{
return filesystem->Open(pFileName, pOptions, pathID);
}
void Close(FileHandle_t file)
{
filesystem->Close(file);
}
char *ReadLine(char *pOutput, int maxChars, FileHandle_t file)
{
return filesystem->ReadLine(pOutput, maxChars, file);
}
bool EndOfFile(FileHandle_t file)
{
return filesystem->EndOfFile(file);
}
bool FileExists(const char *pFileName, const char *pPathID = 0)
{
return filesystem->FileExists(pFileName, pPathID);
}
};
static VFileSystem_Logic logic_filesystem;