diff options
| author | Japa Illo | 2012-03-08 09:37:54 +0530 |
|---|---|---|
| committer | Japa Illo | 2012-03-08 09:37:54 +0530 |
| commit | 96bbfa604d1835df993602cbf46ca6bb0a28e6bd (patch) | |
| tree | 38d46683531ef118bae33b244475e6203683c891 /main.cpp | |
| parent | 50bbecc544aa227fb7bfc4a5c90c6b27369d8bcd (diff) | |
| download | stonesense-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.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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))
|
