You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GeneralsMD/Code/GameEngine/Include/Common/GameEngine.h
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ class GameEngine : public SubsystemInterface
80
80
virtual Int getFramesPerSecondLimit( void ); ///< Get the max render and engine update fps.
81
81
Real getUpdateTime(); ///< Get the last engine update delta time in seconds.
82
82
Real getUpdateFps(); ///< Get the last engine update fps.
83
+
Real getBaseOverUpdateFpsRatio(Real minUpdateFps = 5.0f); ///< Get the last engine base over update fps ratio. Used to scale user inputs to a frame rate independent speed.
83
84
84
85
static Bool isTimeFrozen(); ///< Returns true if a script has frozen time.
85
86
static Bool isGameHalted(); ///< Returns true if the game is paused or the network is stalling.
0 commit comments