Generated SuperTux libtool library containing more general source, that could prove...
[supertux.git] / src / timer.cpp
index 5b22c13..f316fa5 100644 (file)
@@ -19,6 +19,7 @@
 //  02111-1307, USA.
 
 #include "SDL.h"
+
 #include "defines.h"
 #include "timer.h"
 
@@ -53,6 +54,14 @@ 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);