summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/BlockInfo.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/BlockInfo.h b/src/BlockInfo.h
index 44e8b5d43..01b5557d4 100644
--- a/src/BlockInfo.h
+++ b/src/BlockInfo.h
@@ -5,12 +5,6 @@
-// fwd:
-class cBlockHandler;
-
-
-
-
// tolua_begin
class cBlockInfo
{
@@ -54,9 +48,6 @@ public:
/** Creates a default BlockInfo structure, initializes all values to their defaults */
cBlockInfo();
- /** Gets the blockhandler for the given block type. */
- static cBlockHandler * GetHandler(BLOCKTYPE a_Type);
-
private:
/** Storage for all the BlockInfo structures. */
@@ -157,13 +148,3 @@ inline const cBlockInfo & cBlockInfo::Get(BLOCKTYPE a_Type)
static const cBlockInfoArray ms_Info;
return ms_Info[a_Type];
}
-
-
-
-
-
-// Shortcut to get the blockhandler for a specific block
-inline cBlockHandler * BlockHandler(BLOCKTYPE a_BlockType)
-{
- return cBlockInfo::GetHandler(a_BlockType);
-}