summaryrefslogtreecommitdiff
path: root/SpriteObjects.h
diff options
context:
space:
mode:
authorJapa2010-06-26 13:09:40 +0000
committerJapa2010-06-26 13:09:40 +0000
commit78d235be81ea6f54e6270cb2bcb26a38a52b24a8 (patch)
treeed695430075d22cf0982bd5eba1330650f28ba32 /SpriteObjects.h
parentc4928171fc215e6dc55086a5867dcaecbb6a033a (diff)
downloadstonesense-78d235be81ea6f54e6270cb2bcb26a38a52b24a8.tar.gz
stonesense-78d235be81ea6f54e6270cb2bcb26a38a52b24a8.tar.bz2
stonesense-78d235be81ea6f54e6270cb2bcb26a38a52b24a8.tar.xz
updated to the latest DFhack, debugmode also seems to be working.
also updated the building XMLs
Diffstat (limited to 'SpriteObjects.h')
-rw-r--r--SpriteObjects.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/SpriteObjects.h b/SpriteObjects.h
index 16e4739..8414ab7 100644
--- a/SpriteObjects.h
+++ b/SpriteObjects.h
@@ -1,11 +1,12 @@
#pragma once
#include "dfhack/depends/tinyxml/tinyxml.h"
+#include "common.h"
#define BLOCKTILE 0
#define RAMPBOTTOMTILE 1
#define RAMPTOPTILE 2
-class Block;
+
class c_sprite
{
private:
@@ -49,7 +50,7 @@ public:
void set_animframes(char in){ animframes = in; }
void set_size(uint8_t x, uint8_t y);
void set_offset(int16_t x, int16_t y);
- ALLEGRO_COLOR get_color(Block * b);
+ ALLEGRO_COLOR get_color(void * b);
void reset();
void set_tile_layout(uint8_t layout);
};