summaryrefslogtreecommitdiffstats
path: root/src/Blocks/GetHandlerCompileTimeTemplate.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-09-25 16:45:39 +0200
committerTycho <work.tycho+git@gmail.com>2014-09-25 16:45:39 +0200
commit799c96661d7dc8ea89517fa0be205e72ea2f717e (patch)
treee6e75c09344a739d5f9d9de2fb11ee2f7cbfb9ba /src/Blocks/GetHandlerCompileTimeTemplate.h
parentMerge branch 'master' into redstoneTests (diff)
downloadcuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.tar
cuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.tar.gz
cuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.tar.bz2
cuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.tar.lz
cuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.tar.xz
cuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.tar.zst
cuberite-799c96661d7dc8ea89517fa0be205e72ea2f717e.zip
Diffstat (limited to 'src/Blocks/GetHandlerCompileTimeTemplate.h')
-rw-r--r--src/Blocks/GetHandlerCompileTimeTemplate.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Blocks/GetHandlerCompileTimeTemplate.h b/src/Blocks/GetHandlerCompileTimeTemplate.h
index 658497bf2..3466b5426 100644
--- a/src/Blocks/GetHandlerCompileTimeTemplate.h
+++ b/src/Blocks/GetHandlerCompileTimeTemplate.h
@@ -8,9 +8,20 @@ class cBlockTripwireHookHandler;
class cBlockDoorHandler;
class cBlockPistonHandler;
+
+
+
+
+
template<BLOCKTYPE T>
class GetHandlerCompileTime;
+
+
+
+
+
+
template<>
class GetHandlerCompileTime<E_BLOCK_TORCH>
{
@@ -18,6 +29,11 @@ public:
typedef cBlockTorchHandler type;
};
+
+
+
+
+
template<>
class GetHandlerCompileTime<E_BLOCK_LEVER>
{
@@ -25,6 +41,11 @@ public:
typedef cBlockLeverHandler type;
};
+
+
+
+
+
template<>
class GetHandlerCompileTime<E_BLOCK_STONE_BUTTON>
{
@@ -32,6 +53,11 @@ public:
typedef cBlockButtonHandler type;
};
+
+
+
+
+
template<>
class GetHandlerCompileTime<E_BLOCK_TRIPWIRE_HOOK>
{
@@ -39,6 +65,11 @@ public:
typedef cBlockTripwireHookHandler type;
};
+
+
+
+
+
template<>
class GetHandlerCompileTime<E_BLOCK_WOODEN_DOOR>
{
@@ -46,9 +77,15 @@ public:
typedef cBlockDoorHandler type;
};
+
+
+
+
+
template<>
class GetHandlerCompileTime<E_BLOCK_PISTON>
{
public:
typedef cBlockPistonHandler type;
};
+