summaryrefslogtreecommitdiff
path: root/WorldSegment.h
diff options
context:
space:
mode:
authorJonas Ask2009-11-12 01:21:36 +0000
committerJonas Ask2009-11-12 01:21:36 +0000
commitb04bb54ef68a1e10b4126caece7b522d39a4ed05 (patch)
tree0c9d91412cc9f9bdc54330dbdbd27474602f0faa /WorldSegment.h
parent017d462239242224553e4bbb95b6352c7ab639ec (diff)
downloadstonesense-b04bb54ef68a1e10b4126caece7b522d39a4ed05.tar.gz
stonesense-b04bb54ef68a1e10b4126caece7b522d39a4ed05.tar.bz2
stonesense-b04bb54ef68a1e10b4126caece7b522d39a4ed05.tar.xz
Added 7c's Tower Cap. very nice.
ROTATIONS! Finally I think I got them working right (knock on wood). Redid a boat-load of stuff, not gonna list it all.
Diffstat (limited to 'WorldSegment.h')
-rw-r--r--WorldSegment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WorldSegment.h b/WorldSegment.h
index 0d78b1f..fa43f9a 100644
--- a/WorldSegment.h
+++ b/WorldSegment.h
@@ -43,6 +43,7 @@ public:
Block* getBlock(uint32_t x, uint32_t y, uint32_t z);
Block* getBlockLocal(uint32_t x, uint32_t y, uint32_t z);
+ Block* getBlockRelativeTo(uint32_t x, uint32_t y, uint32_t z, dirRelative direction);
Block* getBlock(uint32_t index);
void addBlock(Block* b);
void drawAllBlocks(BITMAP* target);