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 /SpriteObjects.h | |
| 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 'SpriteObjects.h')
| -rw-r--r-- | SpriteObjects.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SpriteObjects.h b/SpriteObjects.h index 4cfa51a..1075d5c 100644 --- a/SpriteObjects.h +++ b/SpriteObjects.h @@ -104,6 +104,9 @@ private: uint8_t notrampborders;
uint8_t notupstairborders;
uint8_t notdownstairborders;
+
+ int itemtype;
+ int itemsubtype;
public:
c_sprite(void);
~c_sprite(void);
|
