- 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
|
|
@ -89,7 +89,7 @@ int P_StartScript (AActor *who, line_t *where, int script, char *map, bool backS
|
|||
|
||||
extern byte *demo_p; // [RH] Special "ticcmds" get recorded in demos
|
||||
extern char savedescription[SAVESTRINGSIZE];
|
||||
extern string savegamefile;
|
||||
extern FString savegamefile;
|
||||
|
||||
extern short consistancy[MAXPLAYERS][BACKUPTICS];
|
||||
|
||||
|
|
@ -2193,7 +2193,7 @@ void Net_DoCommand (int type, byte **stream, int player)
|
|||
// Paths sent over the network will be valid for the system that sent
|
||||
// the save command. For other systems, the path needs to be changed.
|
||||
char *fileonly = savegamefile.GetChars();
|
||||
char *slash = strrchr (savegamefile.GetChars(), '\\');
|
||||
char *slash = strrchr (fileonly, '\\');
|
||||
if (slash != NULL)
|
||||
{
|
||||
fileonly = slash + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue