- Fixed: The C code in AltSoundRenderer::CopyAndClip() did not shift the sample
data enough (2 bits instead of 8), so it was super loud and aliased. - Fixes for GCC 4.1: Several type-punned pointer warnings, but more importantly, declaring a friend function inside a class body is no longer enough to declare that function globally; you must declare it again outside the class. - Upgraded FArchive::SerializePointer so that it can store 32-bit indices. - ACS printing pcodes now build their string in an FSttring instead of a fixed sized buffer on the stack. SVN r145 (trunk)
This commit is contained in:
parent
43abfba723
commit
90b5130db0
29 changed files with 327 additions and 269 deletions
|
|
@ -194,6 +194,14 @@ void FString::Format (const char *fmt, ...)
|
|||
va_end (arglist);
|
||||
}
|
||||
|
||||
void FString::AppendFormat (const char *fmt, ...)
|
||||
{
|
||||
va_list arglist;
|
||||
va_start (arglist, fmt);
|
||||
StringFormat::VWorker (FormatHelper, this, fmt, arglist);
|
||||
va_end (arglist);
|
||||
}
|
||||
|
||||
void FString::VFormat (const char *fmt, va_list arglist)
|
||||
{
|
||||
Data()->Release();
|
||||
|
|
@ -201,6 +209,11 @@ void FString::VFormat (const char *fmt, va_list arglist)
|
|||
StringFormat::VWorker (FormatHelper, this, fmt, arglist);
|
||||
}
|
||||
|
||||
void FString::VAppendFormat (const char *fmt, va_list arglist)
|
||||
{
|
||||
StringFormat::VWorker (FormatHelper, this, fmt, arglist);
|
||||
}
|
||||
|
||||
int FString::FormatHelper (void *data, const char *cstr, int len)
|
||||
{
|
||||
FString *str = (FString *)data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue