projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Generated SuperTux libtool library containing more general source, that could prove...
[supertux.git]
/
src
/
timer.cpp
diff --git
a/src/timer.cpp
b/src/timer.cpp
index
5b22c13
..
f316fa5
100644
(file)
--- a/
src/timer.cpp
+++ b/
src/timer.cpp
@@
-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);