All pastes #807370 Raw Edit

Stuff

public text v1 · immutable
·published 2007-12-06 17:26 UTC
rendered paste body
/*
=================
SCR_DrawClock
=================
*/
void SCR_DrawClock( void ) {
	qtime_t myTime;
	char	string[1024];
	if (Cvar_VariableValue ("com_drawclock")) {
		Com_RealTime( &myTime );
		sprintf( string, "%i", myTime );
		SCR_DrawStringExt( 320 - strlen( string ) * 4, 11, 8, string, g_color_table[7], qtrue );
	}
}