- backend update from Raze.

This commit is contained in:
Christoph Oelckers 2021-08-31 07:59:37 +02:00
commit b5294e9e90
6 changed files with 54 additions and 34 deletions

View file

@ -912,6 +912,12 @@ LumpShortName& FileSystem::GetShortName(int i)
return FileInfo[i].shortName;
}
FString& FileSystem::GetLongName(int i)
{
if ((unsigned)i >= NumEntries) I_Error("GetLongName: Invalid index");
return FileInfo[i].longName;
}
void FileSystem::RenameFile(int num, const char* newfn)
{
if ((unsigned)num >= NumEntries) I_Error("RenameFile: Invalid index");