summaryrefslogtreecommitdiff
path: root/SpriteMaps.h
diff options
context:
space:
mode:
authorJonas Ask2009-10-22 02:04:25 +0000
committerJonas Ask2009-10-22 02:04:25 +0000
commit4bcc80edf1d438ce6718df4d580b2579ba22afa2 (patch)
tree5eb50d37ae4badae38927cc2f71f65942eafd621 /SpriteMaps.h
parentacf2eb9f50deb85d9473888633f02f9f210300b8 (diff)
downloadstonesense-4bcc80edf1d438ce6718df4d580b2579ba22afa2.tar.gz
stonesense-4bcc80edf1d438ce6718df4d580b2579ba22afa2.tar.bz2
stonesense-4bcc80edf1d438ce6718df4d580b2579ba22afa2.tar.xz
Saplings, dead trees, bushes and all that is now correctly identified. Thanks Peterix
Diffstat (limited to 'SpriteMaps.h')
-rw-r--r--SpriteMaps.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/SpriteMaps.h b/SpriteMaps.h
index 949859a..058ea72 100644
--- a/SpriteMaps.h
+++ b/SpriteMaps.h
@@ -1,5 +1,7 @@
#pragma once
+#include "common.h"
+
enum enumFloorSprites{
SPRITEFLOOR_NA = 0,
@@ -29,6 +31,8 @@ enum enumFloorSprites{
SPRITEOBJECT_TREE_CONIFER = 5,
SPRITEOBJECT_CACTUS = 6,
SPRITEOBJECT_SHRUB = 7,
+ SPRITEOBJECT_SAPLING = 8,
+ SPRITEOBJECT_DEAD_TREE = 9,
SPRITEOBJECT_WATERLEVEL1 = 20,
SPRITEOBJECT_WATERLEVEL2 = 21,
@@ -171,5 +175,5 @@ int GetFloorSpriteMap(int in);
int GetUpStairTypeMap(int in, bool mirrored);
int GetDownStairTypeMap(int in);
int GetRampMaterialTypeMap(int in);
-int GetWallSpriteVegitation( int type, int index , int x, int y);
+int GetWallSpriteVegitation( VegetationType type, int index);