- renamed more stuff and also moved the Strife teaser voice handling out of the file system.

This commit is contained in:
Christoph Oelckers 2020-04-11 13:27:19 +02:00
commit 80c6d5b276
91 changed files with 538 additions and 499 deletions

View file

@ -387,7 +387,7 @@ FString V_GetColorStringByName (const char *name, FScriptPosition *sc)
int c[3], step;
size_t namelen;
if (fileSystem.GetNumLumps()==0) return FString();
if (fileSystem.GetNumEntries()==0) return FString();
rgblump = fileSystem.CheckNumForName ("X11R6RGB");
if (rgblump == -1)
@ -397,7 +397,7 @@ FString V_GetColorStringByName (const char *name, FScriptPosition *sc)
return FString();
}
rgbNames = fileSystem.ReadLump (rgblump);
rgbNames = fileSystem.ReadFile (rgblump);
rgb = (char *)rgbNames.GetMem();
rgbEnd = rgb + fileSystem.FileLength (rgblump);
step = 0;