diff options
author | andrew <xdotftw@gmail.com> | 2014-03-02 10:30:20 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-03-02 10:30:20 +0100 |
commit | cff4ee11f125efb0b10ffe19d84869b858416584 (patch) | |
tree | 0464f6dbaecacce33b7fae89bbd4a58aadce1469 /src/Bindings/DeprecatedBindings.cpp | |
parent | Manually exported g_Block tables (diff) | |
download | cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.tar cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.tar.gz cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.tar.bz2 cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.tar.lz cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.tar.xz cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.tar.zst cuberite-cff4ee11f125efb0b10ffe19d84869b858416584.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/DeprecatedBindings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Bindings/DeprecatedBindings.cpp b/src/Bindings/DeprecatedBindings.cpp index 08d775f10..3e4940494 100644 --- a/src/Bindings/DeprecatedBindings.cpp +++ b/src/Bindings/DeprecatedBindings.cpp @@ -418,6 +418,8 @@ static int tolua_set_AllToLua_g_BlockFullyOccupiesVoxel(lua_State* tolua_S) void DeprecatedBindings::Bind(lua_State * tolua_S) { + tolua_beginmodule(tolua_S, NULL); + tolua_array(tolua_S, "g_BlockLightValue", tolua_get_AllToLua_g_BlockLightValue, tolua_set_AllToLua_g_BlockLightValue); tolua_array(tolua_S, "g_BlockSpreadLightFalloff", tolua_get_AllToLua_g_BlockSpreadLightFalloff, tolua_set_AllToLua_g_BlockSpreadLightFalloff); tolua_array(tolua_S, "g_BlockTransparent", tolua_get_AllToLua_g_BlockTransparent, tolua_set_AllToLua_g_BlockTransparent); @@ -427,6 +429,8 @@ void DeprecatedBindings::Bind(lua_State * tolua_S) tolua_array(tolua_S, "g_BlockRequiresSpecialTool", tolua_get_AllToLua_g_BlockRequiresSpecialTool, tolua_set_AllToLua_g_BlockRequiresSpecialTool); tolua_array(tolua_S, "g_BlockIsSolid", tolua_get_AllToLua_g_BlockIsSolid, tolua_set_AllToLua_g_BlockIsSolid); tolua_array(tolua_S, "g_BlockFullyOccupiesVoxel", tolua_get_AllToLua_g_BlockFullyOccupiesVoxel, tolua_set_AllToLua_g_BlockFullyOccupiesVoxel); + + tolua_endmodule(tolua_S); } |