Generated SuperTux libtool library containing more general source, that could prove...
[supertux.git] / src / timer.cpp
index a8f2d75..f316fa5 100644 (file)
@@ -19,6 +19,7 @@
 //  02111-1307, USA.
 
 #include "SDL.h"
+
 #include "defines.h"
 #include "timer.h"
 
@@ -53,6 +54,19 @@ return;
   st_pause_count = 0;
 }
 
+bool st_pause_ticks_started(void)
+{
+if(st_pause_count == 0)
+return false;
+else
+return true;
+}
+
+Timer::Timer()
+{
+  init(true);
+}
+
 void
 Timer::init(bool st_ticks)
 {