summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJapa Illo2012-02-22 00:48:06 +0530
committerJapa Illo2012-02-22 00:48:06 +0530
commitce5ec6c3f87fe5d0fb2bf5c50f097057e58aa039 (patch)
treeca24a2043ba743872b6136ecb39ec933dbc6bace /main.cpp
parentae9dd5511370d8b12354b613f395a20cf86bc461 (diff)
downloadstonesense-ce5ec6c3f87fe5d0fb2bf5c50f097057e58aa039.tar.gz
stonesense-ce5ec6c3f87fe5d0fb2bf5c50f097057e58aa039.tar.bz2
stonesense-ce5ec6c3f87fe5d0fb2bf5c50f097057e58aa039.tar.xz
Added fire effects. also fixed the cursor so it scales with the rest.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index f9f2fac..6c676f2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -38,6 +38,7 @@ GameConfiguration config;
bool timeToReloadSegment;
bool timeToReloadConfig;
char currentAnimationFrame;
+uint32_t currentFrameLong;
bool animationFrameShown;
vector<t_matgloss> v_stonetypes;
@@ -183,6 +184,7 @@ void animUpdateProc()
currentAnimationFrame = 0;
else
currentAnimationFrame = currentAnimationFrame + 1;
+ currentFrameLong+=1;
animationFrameShown = false;
}
}