INNER CODE UNIT · C

frames

headcrab-junkyard/OGS · QW/client/cl_demo.c:728

	frames = (host_framecount - cls.td_startframe) - 1;
	time = Sys_FloatTime() - cls.td_starttime;
	if (!time)
		time = 1;
	Con_Printf ("%i frames %5.1f seconds %5.1f fps\n", frames, time, frames/time);
}

void CL_TimeDemo_f ()
{
	if (Cmd_Argc() != 2)
	{
		Con_Printf ("timedemo <demoname> : gets demo speeds\n");
		return;
	}

	CL_PlayDemo_f ();
	
	if (cls.state != ca_demostart)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…