diff --git a/source/Bindings.cpp b/source/Bindings.cpp index 2636f1336..638563732 100644 --- a/source/Bindings.cpp +++ b/source/Bindings.cpp @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 07/09/12 09:01:54. +** Generated automatically by tolua++-1.0.92 on 07/15/12 14:45:49. */ #ifndef __cplusplus @@ -21244,7 +21244,6 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S) tolua_constant(tolua_S,"E_BLOCK_DIRT",E_BLOCK_DIRT); tolua_constant(tolua_S,"E_BLOCK_COBBLESTONE",E_BLOCK_COBBLESTONE); tolua_constant(tolua_S,"E_BLOCK_PLANKS",E_BLOCK_PLANKS); - tolua_constant(tolua_S,"E_BLOCK_WOOD",E_BLOCK_WOOD); tolua_constant(tolua_S,"E_BLOCK_SAPLING",E_BLOCK_SAPLING); tolua_constant(tolua_S,"E_BLOCK_BEDROCK",E_BLOCK_BEDROCK); tolua_constant(tolua_S,"E_BLOCK_WATER",E_BLOCK_WATER); @@ -21842,6 +21841,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S) tolua_function(tolua_S,"IsShovel",tolua_AllToLua_ItemCategory_IsShovel00); tolua_function(tolua_S,"IsTool",tolua_AllToLua_ItemCategory_IsTool00); tolua_endmodule(tolua_S); + tolua_constant(tolua_S,"eGameMode_NotSet",eGameMode_NotSet); tolua_constant(tolua_S,"eGameMode_Survival",eGameMode_Survival); tolua_constant(tolua_S,"eGameMode_Creative",eGameMode_Creative); tolua_constant(tolua_S,"eWeather_Sunny",eWeather_Sunny); diff --git a/source/Bindings.h b/source/Bindings.h index 4dd00606e..37371c0b2 100644 --- a/source/Bindings.h +++ b/source/Bindings.h @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 07/09/12 09:01:55. +** Generated automatically by tolua++-1.0.92 on 07/15/12 14:45:49. */ /* Exported function */ diff --git a/source/BlockID.h b/source/BlockID.h index 67e2833c8..b94744310 100644 --- a/source/BlockID.h +++ b/source/BlockID.h @@ -9,7 +9,7 @@ enum ENUM_BLOCK_ID E_BLOCK_DIRT = 3, E_BLOCK_COBBLESTONE = 4, E_BLOCK_PLANKS = 5, - E_BLOCK_WOOD = E_BLOCK_PLANKS, + // E_BLOCK_WOOD = E_BLOCK_PLANKS, // Obsolete - was confused too often: wood = logs or planks? E_BLOCK_SAPLING = 6, E_BLOCK_BEDROCK = 7, E_BLOCK_WATER = 8,