1
0

Removed the deprecated confusing E_BLOCK_WOOD

git-svn-id: http://mc-server.googlecode.com/svn/trunk@667 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-07-15 13:35:43 +00:00
parent 6cf4772b54
commit 933305fd95
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/* /*
** Lua binding: AllToLua ** 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 #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_DIRT",E_BLOCK_DIRT);
tolua_constant(tolua_S,"E_BLOCK_COBBLESTONE",E_BLOCK_COBBLESTONE); 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_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_SAPLING",E_BLOCK_SAPLING);
tolua_constant(tolua_S,"E_BLOCK_BEDROCK",E_BLOCK_BEDROCK); tolua_constant(tolua_S,"E_BLOCK_BEDROCK",E_BLOCK_BEDROCK);
tolua_constant(tolua_S,"E_BLOCK_WATER",E_BLOCK_WATER); 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,"IsShovel",tolua_AllToLua_ItemCategory_IsShovel00);
tolua_function(tolua_S,"IsTool",tolua_AllToLua_ItemCategory_IsTool00); tolua_function(tolua_S,"IsTool",tolua_AllToLua_ItemCategory_IsTool00);
tolua_endmodule(tolua_S); 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_Survival",eGameMode_Survival);
tolua_constant(tolua_S,"eGameMode_Creative",eGameMode_Creative); tolua_constant(tolua_S,"eGameMode_Creative",eGameMode_Creative);
tolua_constant(tolua_S,"eWeather_Sunny",eWeather_Sunny); tolua_constant(tolua_S,"eWeather_Sunny",eWeather_Sunny);

View File

@ -1,6 +1,6 @@
/* /*
** Lua binding: AllToLua ** 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 */ /* Exported function */

View File

@ -9,7 +9,7 @@ enum ENUM_BLOCK_ID
E_BLOCK_DIRT = 3, E_BLOCK_DIRT = 3,
E_BLOCK_COBBLESTONE = 4, E_BLOCK_COBBLESTONE = 4,
E_BLOCK_PLANKS = 5, 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_SAPLING = 6,
E_BLOCK_BEDROCK = 7, E_BLOCK_BEDROCK = 7,
E_BLOCK_WATER = 8, E_BLOCK_WATER = 8,