diff options
author | krzys-h <krzys_h@interia.pl> | 2014-10-29 17:53:46 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-10-29 17:53:46 +0100 |
commit | 6d2fd18b419ddc202fa14cb14c98e8f3d5ecf646 (patch) | |
tree | 9075499f6dd08609a229a55a1aa15104ac5b1955 /src/object/robotmain.h | |
parent | 61e06149c65fbc61c6d927f527195a9b4a8154dc (diff) | |
download | colobot-6d2fd18b419ddc202fa14cb14c98e8f3d5ecf646.tar.gz colobot-6d2fd18b419ddc202fa14cb14c98e8f3d5ecf646.tar.bz2 colobot-6d2fd18b419ddc202fa14cb14c98e8f3d5ecf646.zip |
Implemented mission timer
Diffstat (limited to 'src/object/robotmain.h')
-rw-r--r-- | src/object/robotmain.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/object/robotmain.h b/src/object/robotmain.h index da31e5f..0b89975 100644 --- a/src/object/robotmain.h +++ b/src/object/robotmain.h @@ -397,6 +397,8 @@ public: void DisplayError(Error err, Math::Vector goal, float height=15.0f, float dist=60.0f, float time=10.0f); std::string& GetUserLevelName(int id); + + void StartMissionTimer(); protected: bool EventFrame(const Event &event); @@ -589,5 +591,9 @@ protected: float m_colorShiftWater; std::string m_oldLocale; + + bool m_missionTimerEnabled; + bool m_missionTimerStarted; + float m_missionTimer; }; |