DrawStandardMenus, VC menu array and minor fixes
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
#include "Timer.h"
|
||||
|
||||
uint32 CTimer::m_snTimeInMilliseconds;
|
||||
uint32 CTimer::m_snTimeInMillisecondsPauseMode = 1;
|
||||
PauseModeTime CTimer::m_snTimeInMillisecondsPauseMode = 1;
|
||||
|
||||
uint32 CTimer::m_snTimeInMillisecondsNonClipped;
|
||||
uint32 CTimer::m_snPreviousTimeInMilliseconds;
|
||||
uint32 CTimer::m_FrameCounter;
|
||||
@@ -33,7 +34,7 @@ RsTimerType suspendPcTimer;
|
||||
|
||||
uint32 suspendDepth;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
#ifdef FIX_HIGH_FPS_BUGS_ON_FRONTEND
|
||||
double frameTime;
|
||||
#endif
|
||||
|
||||
@@ -97,7 +98,7 @@ void CTimer::Update(void)
|
||||
float updInCyclesScaled = updInCycles * ms_fTimeScale;
|
||||
|
||||
// We need that real frame time to fix transparent menu bug.
|
||||
#ifndef FIX_BUGS
|
||||
#ifndef FIX_HIGH_FPS_BUGS_ON_FRONTEND
|
||||
double
|
||||
#endif
|
||||
frameTime = updInCyclesScaled / (double)_nCyclesPerMS;
|
||||
@@ -121,7 +122,7 @@ void CTimer::Update(void)
|
||||
RsTimerType updInMs = timer - oldPcTimer;
|
||||
|
||||
// We need that real frame time to fix transparent menu bug.
|
||||
#ifndef FIX_BUGS
|
||||
#ifndef FIX_HIGH_FPS_BUGS_ON_FRONTEND
|
||||
double
|
||||
#endif
|
||||
frameTime = (double)updInMs * ms_fTimeScale;
|
||||
|
||||
Reference in New Issue
Block a user