- Removed -bpal parameter. Blood's blood.pal is loaded from blood.rff, and
its tiles are loaded from the same directory. - RFF files now load their entire directories into the lumplist. - Added char * and const char * type coversions for FString, so FStrings can be freely passed to functions expecting C strings. (Except varargs functions, which still require manually fetching the C string out of it.) - Renamed the name class to FName. - Renamed the string class to FString to emphasize that it is not std::string. SVN r74 (trunk)
This commit is contained in:
parent
0e69196370
commit
ea3b76815d
45 changed files with 526 additions and 410 deletions
|
|
@ -916,7 +916,7 @@ FArchive &FArchive::operator<< (double &w)
|
|||
return *this;
|
||||
}
|
||||
|
||||
FArchive &FArchive::operator<< (name &n)
|
||||
FArchive &FArchive::operator<< (FName &n)
|
||||
{ // In an archive, a "name" is a string that might be stored multiple times,
|
||||
// so it is only stored once. It is still treated as a normal string. In the
|
||||
// rest of the game, a name is a unique identifier for a number.
|
||||
|
|
@ -926,7 +926,7 @@ FArchive &FArchive::operator<< (name &n)
|
|||
}
|
||||
else
|
||||
{
|
||||
n = name(ReadName());
|
||||
n = FName(ReadName());
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue