From 5d4e9e18daf38957dc5b71bdc34bad0cf8f0afc2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 27 May 2012 14:02:13 +0000 Subject: Added wool and netherrack block IDs git-svn-id: http://mc-server.googlecode.com/svn/trunk@509 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Bindings.cpp | 4 +++- source/Bindings.h | 2 +- source/BlockID.h | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'source') diff --git a/source/Bindings.cpp b/source/Bindings.cpp index a8a35f28b..69341ab6c 100644 --- a/source/Bindings.cpp +++ b/source/Bindings.cpp @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 05/24/12 19:47:53. +** Generated automatically by tolua++-1.0.92 on 05/27/12 16:02:28. */ #ifndef __cplusplus @@ -17493,6 +17493,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S) tolua_constant(tolua_S,"E_BLOCK_PISTON",E_BLOCK_PISTON); tolua_constant(tolua_S,"E_BLOCK_PISTON_EXTENSION",E_BLOCK_PISTON_EXTENSION); tolua_constant(tolua_S,"E_BLOCK_WHITE_CLOTH",E_BLOCK_WHITE_CLOTH); + tolua_constant(tolua_S,"E_BLOCK_WOOL",E_BLOCK_WOOL); tolua_constant(tolua_S,"E_BLOCK_PISTON_MOVED_BLOCK",E_BLOCK_PISTON_MOVED_BLOCK); tolua_constant(tolua_S,"E_BLOCK_YELLOW_FLOWER",E_BLOCK_YELLOW_FLOWER); tolua_constant(tolua_S,"E_BLOCK_RED_ROSE",E_BLOCK_RED_ROSE); @@ -17545,6 +17546,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S) tolua_constant(tolua_S,"E_BLOCK_FENCE",E_BLOCK_FENCE); tolua_constant(tolua_S,"E_BLOCK_PUMPKIN",E_BLOCK_PUMPKIN); tolua_constant(tolua_S,"E_BLOCK_BLOODSTONE",E_BLOCK_BLOODSTONE); + tolua_constant(tolua_S,"E_BLOCK_NETHERRACK",E_BLOCK_NETHERRACK); tolua_constant(tolua_S,"E_BLOCK_SOULSAND",E_BLOCK_SOULSAND); tolua_constant(tolua_S,"E_BLOCK_GLOWSTONE",E_BLOCK_GLOWSTONE); tolua_constant(tolua_S,"E_BLOCK_PORT",E_BLOCK_PORT); diff --git a/source/Bindings.h b/source/Bindings.h index 20634c36b..bed889185 100644 --- a/source/Bindings.h +++ b/source/Bindings.h @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 05/24/12 19:47:53. +** Generated automatically by tolua++-1.0.92 on 05/27/12 16:02:28. */ /* Exported function */ diff --git a/source/BlockID.h b/source/BlockID.h index ec7bb70ac..f257282eb 100644 --- a/source/BlockID.h +++ b/source/BlockID.h @@ -39,7 +39,8 @@ enum ENUM_BLOCK_ID E_BLOCK_DEAD_BUSH = 32, E_BLOCK_PISTON = 33, E_BLOCK_PISTON_EXTENSION = 34, - E_BLOCK_WHITE_CLOTH = 35, + E_BLOCK_WHITE_CLOTH = 35, // Deprecated, use E_BLOCK_WOOL instead + E_BLOCK_WOOL = 35, E_BLOCK_PISTON_MOVED_BLOCK = 36, E_BLOCK_YELLOW_FLOWER = 37, E_BLOCK_RED_ROSE = 38, @@ -91,7 +92,8 @@ enum ENUM_BLOCK_ID E_BLOCK_JUKEBOX = 84, E_BLOCK_FENCE = 85, E_BLOCK_PUMPKIN = 86, - E_BLOCK_BLOODSTONE = 87, + E_BLOCK_BLOODSTONE = 87, // Deprecated, use E_BLOCK_NETHERRACK + E_BLOCK_NETHERRACK = 87, E_BLOCK_SOULSAND = 88, E_BLOCK_GLOWSTONE = 89, E_BLOCK_PORT = 90, // Deprecated, use E_BLOCK_NETHER_PORTAL instead -- cgit v1.2.3