- 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
|
|
@ -944,11 +944,11 @@ static void S_AddSNDINFO (int lump)
|
|||
|
||||
case SI_MusicVolume: {
|
||||
SC_MustGetString();
|
||||
string musname (sc_String);
|
||||
FString musname (sc_String);
|
||||
SC_MustGetFloat();
|
||||
FMusicVolume *mv = (FMusicVolume *)Malloc (sizeof(*mv) + musname.Len());
|
||||
mv->Volume = sc_Float;
|
||||
strcpy (mv->MusicName, musname.GetChars());
|
||||
strcpy (mv->MusicName, musname);
|
||||
mv->Next = MusicVolumes;
|
||||
MusicVolumes = mv;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue