summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJapa Illo2012-03-08 09:37:54 +0530
committerJapa Illo2012-03-08 09:37:54 +0530
commit96bbfa604d1835df993602cbf46ca6bb0a28e6bd (patch)
tree38d46683531ef118bae33b244475e6203683c891 /main.cpp
parent50bbecc544aa227fb7bfc4a5c90c6b27369d8bcd (diff)
downloadstonesense-96bbfa604d1835df993602cbf46ca6bb0a28e6bd.tar.gz
stonesense-96bbfa604d1835df993602cbf46ca6bb0a28e6bd.tar.bz2
stonesense-96bbfa604d1835df993602cbf46ca6bb0a28e6bd.tar.xz
Got rid of some warnings, cleaned up the sprite drawing routine, and added ability to select sprites according to individual items.
Todo: add ability to have a sprite according to just the item class. Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index a49739a..d1f9b54 100644
--- a/main.cpp
+++ b/main.cpp
@@ -233,7 +233,6 @@ void drawcredits()
static void main_loop(ALLEGRO_DISPLAY * display, ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_THREAD * main_thread, DFHack::Console & con, DFHack::Core * core)
{
ALLEGRO_EVENT event;
- DFHack::t_gamemodes game_mode;
while (!al_get_thread_should_stop(main_thread))
{
if (redraw && al_event_queue_is_empty(queue))