summaryrefslogtreecommitdiff
path: root/BlockTree.h
diff options
context:
space:
mode:
authorJapa2011-02-19 19:11:19 +0000
committerJapa2011-02-19 19:11:19 +0000
commitf1cd36716229dd3f0795824197b14dcd0d979540 (patch)
treea9391276cc5f0c569fe531996964a6cb57d2263e /BlockTree.h
parentd8523cd32f9aea85ce0ef0c6fb12c8562922dad2 (diff)
parentc2f73a1f356890e8ed6ada37a4613ce4836d4712 (diff)
downloadstonesense-f1cd36716229dd3f0795824197b14dcd0d979540.tar.gz
stonesense-f1cd36716229dd3f0795824197b14dcd0d979540.tar.bz2
stonesense-f1cd36716229dd3f0795824197b14dcd0d979540.tar.xz
merged in the multithreaded branch.
Diffstat (limited to 'BlockTree.h')
-rw-r--r--BlockTree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/BlockTree.h b/BlockTree.h
index 2a8720d..6458a12 100644
--- a/BlockTree.h
+++ b/BlockTree.h
@@ -22,7 +22,7 @@ public:
void add_sprite(int x, c_sprite sprite);
void reset();
- void draw_world(int x, int y, int z, bool chop = false){own_sprite.draw_world(x,y,z,chop);}
+ void draw_world(int x, int y, int z, Block * b, bool chop = false){own_sprite.draw_world(x,y,z,b,chop);}
};
class c_block_tree_branch
@@ -42,7 +42,7 @@ public:
void add_sprite(int x, int y, c_sprite sprite);
void reset();
- void draw_world(int x, int y, int z, bool chop = false){own_twig.draw_world(x,y,z,chop);}
+ void draw_world(int x, int y, int z, Block * b, bool chop = false){own_twig.draw_world(x,y,z,b,chop);}
};
class c_block_tree
@@ -61,5 +61,5 @@ public:
void add_sprite(int x, int y, int z, c_sprite sprite);
void reset();
- void draw_world(int x, int y, int z, bool chop = false){own_branch.draw_world(x,y,z,chop);}
+ void draw_world(int x, int y, int z, Block * b, bool chop = false){own_branch.draw_world(x,y,z,b,chop);}
};