Add framecount to timedemo message
This commit is contained in:
parent
89c12a4ee8
commit
56892c13ab
|
@ -5660,7 +5660,7 @@ boolean G_CheckDemoStatus(void)
|
||||||
timingdemo = false;
|
timingdemo = false;
|
||||||
f1 = (double)demotime;
|
f1 = (double)demotime;
|
||||||
f2 = (double)framecount*TICRATE;
|
f2 = (double)framecount*TICRATE;
|
||||||
CONS_Printf(M_GetText("timed %u gametics in %d realtics\n%f seconds, %f avg fps\n"), leveltime,demotime,f1/TICRATE,f2/f1);
|
CONS_Printf(M_GetText("timed %u gametics in %d realtics - %u frames\n%f seconds, %f avg fps\n"), leveltime,demotime,(UINT32)framecount,f1/TICRATE,f2/f1);
|
||||||
if (restorecv_vidwait != cv_vidwait.value)
|
if (restorecv_vidwait != cv_vidwait.value)
|
||||||
CV_SetValue(&cv_vidwait, restorecv_vidwait);
|
CV_SetValue(&cv_vidwait, restorecv_vidwait);
|
||||||
D_AdvanceDemo();
|
D_AdvanceDemo();
|
||||||
|
|
Loading…
Reference in a new issue