- put the entire filesystem code into a namespace and created some subdirectories.
This commit is contained in:
parent
94c9ee4593
commit
ebb71cebf1
108 changed files with 308 additions and 225 deletions
|
|
@ -1018,7 +1018,7 @@ void uppercopy(char* to, const char* from)
|
|||
|
||||
FString GetStringFromLump(int lump)
|
||||
{
|
||||
FileData fd = fileSystem.ReadFile(lump);
|
||||
auto fd = fileSystem.ReadFile(lump);
|
||||
FString ScriptBuffer(fd.GetString(), fd.GetSize());
|
||||
ScriptBuffer.Truncate(strlen(ScriptBuffer.GetChars())); // this is necessary to properly truncate the generated string to not contain 0 bytes.
|
||||
return ScriptBuffer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue