From 919f896894204d839fc316713349add442b0f633 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 2 Jul 2012 19:22:05 +0000 Subject: Leaves decay properly - if they are not connected to a log git-svn-id: http://mc-server.googlecode.com/svn/trunk@644 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/BlockArea.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/BlockArea.h') diff --git a/source/BlockArea.h b/source/BlockArea.h index 49505f945..5abdab3bb 100644 --- a/source/BlockArea.h +++ b/source/BlockArea.h @@ -76,6 +76,15 @@ public: /// Returns the datatypes that are stored in the object (bitmask of baXXX values) int GetDataTypes(void) const; + + // tolua_end + + // Clients can use these for faster access to all blocktypes. Be careful though! + /// Returns the internal pointer to the block types + BLOCKTYPE * GetBlockTypes(void) { return m_BlockTypes; } + int GetBlockCount(void) const { return m_SizeX * m_SizeY * m_SizeZ; } + + // tolua_begin protected: -- cgit v1.2.3