summaryrefslogtreecommitdiff
path: root/SpriteObjects.h
diff options
context:
space:
mode:
authorJapa2011-02-27 18:00:51 +0000
committerJapa2011-02-27 18:00:51 +0000
commit663aa547439c9c2dc977bb3601d91f11e176b83a (patch)
tree554d5b400c3b5d53ae3e9c196a4b474395b36972 /SpriteObjects.h
parent62050f4bc59775609be524a90764fe9cf5a5f4ee (diff)
downloadstonesense-663aa547439c9c2dc977bb3601d91f11e176b83a.tar.gz
stonesense-663aa547439c9c2dc977bb3601d91f11e176b83a.tar.bz2
stonesense-663aa547439c9c2dc977bb3601d91f11e176b83a.tar.xz
More bugfixing. changed the way trees are read.
Diffstat (limited to 'SpriteObjects.h')
-rw-r--r--SpriteObjects.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/SpriteObjects.h b/SpriteObjects.h
index 749812c..6a29e9d 100644
--- a/SpriteObjects.h
+++ b/SpriteObjects.h
@@ -21,10 +21,13 @@
#define LIGHTYES 1
#define LIGHTNO 2
-#define GRASS_GROWTH_ANY 0
-#define GRASS_GROWTH_NORMAL 1
-#define GRASS_GROWTH_DRY 2
-#define GRASS_GROWTH_DEAD 3
+enum grass_growth
+{
+ GRASS_GROWTH_ANY,
+ GRASS_GROWTH_NORMAL,
+ GRASS_GROWTH_DRY,
+ GRASS_GROWTH_DEAD
+};
class Block;