mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
remove unused FileSystem::AddExternalFile method.
This commit is contained in:
parent
21acb9d467
commit
0a1eccef92
2 changed files with 0 additions and 16 deletions
|
@ -170,7 +170,6 @@ public:
|
|||
}
|
||||
|
||||
void AddLump(FResourceLump* lump);
|
||||
int AddExternalFile(const char *filename);
|
||||
int AddFromBuffer(const char* name, const char* type, char* data, int size, int id, int flags);
|
||||
FileReader* GetFileReader(int wadnum); // Gets a FileReader object to the entire WAD
|
||||
void InitHashChains();
|
||||
|
|
|
@ -301,21 +301,6 @@ void FileSystem::AddLump(FResourceLump *lump)
|
|||
FileInfo.back().SetFromLump(-1, lump, stringpool);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
//
|
||||
// Adds an external file to the lump list but not to the hash chains
|
||||
// It's just a simple means to assign a lump number to some file so that
|
||||
// the texture manager can read from it.
|
||||
//
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
int FileSystem::AddExternalFile(const char *filename)
|
||||
{
|
||||
FResourceLump *lump = new FExternalLump(filename, -1, stringpool);
|
||||
AddLump(lump);
|
||||
return (int)FileInfo.size() - 1; // later
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// AddFromBuffer
|
||||
|
|
Loading…
Reference in a new issue