mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-24 21:11:49 +00:00
Update more locations that did not use explicit format patterns
This commit is contained in:
parent
640a4a4fb9
commit
cd02096977
9 changed files with 9 additions and 9 deletions
|
@ -728,7 +728,7 @@ void idGameLocal::NetworkEventWarning( const entityNetEvent_t *event, const char
|
||||||
va_end( argptr );
|
va_end( argptr );
|
||||||
idStr::Append( buf, sizeof(buf), "\n" );
|
idStr::Append( buf, sizeof(buf), "\n" );
|
||||||
|
|
||||||
common->DWarning( buf );
|
common->DWarning( "%s", buf );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1216,7 +1216,7 @@ void idCVarSystemLocal::ListByFlags( const idCmdArgs &args, cvarFlags_t flags )
|
||||||
string += ( cvar->GetFlags() & CVAR_ARCHIVE ) ? "AR " : " ";
|
string += ( cvar->GetFlags() & CVAR_ARCHIVE ) ? "AR " : " ";
|
||||||
string += ( cvar->GetFlags() & CVAR_MODIFIED ) ? "MO " : " ";
|
string += ( cvar->GetFlags() & CVAR_MODIFIED ) ? "MO " : " ";
|
||||||
string += "\n";
|
string += "\n";
|
||||||
common->Printf( string );
|
common->Printf( "%s", string );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2003,7 +2003,7 @@ void idFileSystemLocal::Path_f( const idCmdArgs &args ) {
|
||||||
} else {
|
} else {
|
||||||
status += ")\n";
|
status += ")\n";
|
||||||
}
|
}
|
||||||
common->Printf( status.c_str() );
|
common->Printf( "%s", status.c_str() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -876,7 +876,7 @@ void idSessionLocal::StopPlayingRenderDemo() {
|
||||||
float demoFPS = numDemoFrames / demoSeconds;
|
float demoFPS = numDemoFrames / demoSeconds;
|
||||||
idStr message = va( "%i frames rendered in %3.1f seconds = %3.1f fps\n", numDemoFrames, demoSeconds, demoFPS );
|
idStr message = va( "%i frames rendered in %3.1f seconds = %3.1f fps\n", numDemoFrames, demoSeconds, demoFPS );
|
||||||
|
|
||||||
common->Printf( message );
|
common->Printf( "%s", message );
|
||||||
if ( timeDemo == TD_YES_THEN_QUIT ) {
|
if ( timeDemo == TD_YES_THEN_QUIT ) {
|
||||||
cmdSystem->BufferCommandText( CMD_EXEC_APPEND, "quit\n" );
|
cmdSystem->BufferCommandText( CMD_EXEC_APPEND, "quit\n" );
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1433,7 +1433,7 @@ bool idAsyncClient::ValidatePureServerChecksums( const netadr_t from, const idBi
|
||||||
message += va( common->GetLanguageDict()->GetString( "#str_06750" ), missingGamePakChecksum );
|
message += va( common->GetLanguageDict()->GetString( "#str_06750" ), missingGamePakChecksum );
|
||||||
}
|
}
|
||||||
|
|
||||||
common->Printf( message );
|
common->Printf( "%s", message );
|
||||||
cmdSystem->BufferCommandText( CMD_EXEC_NOW, "disconnect" );
|
cmdSystem->BufferCommandText( CMD_EXEC_NOW, "disconnect" );
|
||||||
session->MessageBox( MSG_OK, message, common->GetLanguageDict()->GetString( "#str_06735" ), true );
|
session->MessageBox( MSG_OK, message, common->GetLanguageDict()->GetString( "#str_06735" ), true );
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -2533,7 +2533,7 @@ void idAsyncServer::RunFrame( void ) {
|
||||||
|
|
||||||
idStr msg;
|
idStr msg;
|
||||||
GetAsyncStatsAvgMsg( msg );
|
GetAsyncStatsAvgMsg( msg );
|
||||||
common->Printf( va( "%s\n", msg.c_str() ) );
|
common->Printf( "%s", msg.c_str() );
|
||||||
|
|
||||||
nextAsyncStatsTime = serverTime + 1000;
|
nextAsyncStatsTime = serverTime + 1000;
|
||||||
}
|
}
|
||||||
|
|
|
@ -319,7 +319,7 @@ PrintClocks
|
||||||
void PrintClocks( char *string, int dataCount, int clocks, int otherClocks = 0 ) {
|
void PrintClocks( char *string, int dataCount, int clocks, int otherClocks = 0 ) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
idLib::common->Printf( string );
|
idLib::common->Printf( "%s", string );
|
||||||
for ( i = idStr::LengthWithoutColors(string); i < 48; i++ ) {
|
for ( i = idStr::LengthWithoutColors(string); i < 48; i++ ) {
|
||||||
idLib::common->Printf(" ");
|
idLib::common->Printf(" ");
|
||||||
}
|
}
|
||||||
|
|
|
@ -629,7 +629,7 @@ static void R_CheckPortableExtensions( void ) {
|
||||||
// check for minimum set
|
// check for minimum set
|
||||||
if ( !glConfig.multitextureAvailable || !glConfig.textureEnvCombineAvailable || !glConfig.cubeMapAvailable
|
if ( !glConfig.multitextureAvailable || !glConfig.textureEnvCombineAvailable || !glConfig.cubeMapAvailable
|
||||||
|| !glConfig.envDot3Available ) {
|
|| !glConfig.envDot3Available ) {
|
||||||
common->Error( common->GetLanguageDict()->GetString( "#str_06780" ) );
|
common->Error( "%s", common->GetLanguageDict()->GetString( "#str_06780" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// GL_EXT_depth_bounds_test
|
// GL_EXT_depth_bounds_test
|
||||||
|
|
|
@ -55,7 +55,7 @@ void DisplayRealTimeString( char *string, ... ) {
|
||||||
va_start( argPtr, string );
|
va_start( argPtr, string );
|
||||||
vsprintf( buf, string, argPtr );
|
vsprintf( buf, string, argPtr );
|
||||||
va_end( argPtr );
|
va_end( argPtr );
|
||||||
common->Printf( buf );
|
common->Printf( "%s", buf );
|
||||||
lastUpdateTime = time;
|
lastUpdateTime = time;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue