|
|
|
@ -29,7 +29,11 @@ namespace MWWorld
|
|
|
|
|
float getGameTimeScale() const { return mGameTimeScale; }
|
|
|
|
|
void setGameTimeScale(float scale); // game time to simulation time ratio
|
|
|
|
|
|
|
|
|
|
// Simulation time (the number of seconds passed from the beginning of the game).
|
|
|
|
|
// Rendering simulation time (summary simulation time of rendering frames since application start).
|
|
|
|
|
double getRenderingSimulationTime() const { return mRenderingSimulationTime; }
|
|
|
|
|
void setRenderingSimulationTime(double t) { mRenderingSimulationTime = t; }
|
|
|
|
|
|
|
|
|
|
// World simulation time (the number of seconds passed from the beginning of the game).
|
|
|
|
|
double getSimulationTime() const { return mSimulationTime; }
|
|
|
|
|
void setSimulationTime(double t) { mSimulationTime = t; }
|
|
|
|
|
float getSimulationTimeScale() const { return mSimulationTimeScale; }
|
|
|
|
@ -64,6 +68,7 @@ namespace MWWorld
|
|
|
|
|
float mGameHour = 0.f;
|
|
|
|
|
float mGameTimeScale = 0.f;
|
|
|
|
|
float mSimulationTimeScale = 1.0;
|
|
|
|
|
double mRenderingSimulationTime = 0.0;
|
|
|
|
|
double mSimulationTime = 0.0;
|
|
|
|
|
bool mPaused = false;
|
|
|
|
|
std::set<std::string, std::less<>> mPausedTags;
|
|
|
|
|