diff options
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/GetHandlerCompileTimeTemplate.h | 37 |
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; }; + |