- more file system refactoring.
* moved the sprite renaming out of the file system entirely into a caller-provided callback. * renamed several functions to closer match the terms of a file system. * moved the VM interface out of the implementation.
This commit is contained in:
parent
6bccde3b51
commit
c1bb7de23a
61 changed files with 927 additions and 765 deletions
|
|
@ -380,7 +380,7 @@ normal:
|
|||
|
||||
FString V_GetColorStringByName (const char *name, FScriptPosition *sc)
|
||||
{
|
||||
FMemLump rgbNames;
|
||||
FileData rgbNames;
|
||||
char *rgbEnd;
|
||||
char *rgb, *endp;
|
||||
int rgblump;
|
||||
|
|
@ -399,7 +399,7 @@ FString V_GetColorStringByName (const char *name, FScriptPosition *sc)
|
|||
|
||||
rgbNames = fileSystem.ReadLump (rgblump);
|
||||
rgb = (char *)rgbNames.GetMem();
|
||||
rgbEnd = rgb + fileSystem.LumpLength (rgblump);
|
||||
rgbEnd = rgb + fileSystem.FileLength (rgblump);
|
||||
step = 0;
|
||||
namelen = strlen (name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue