Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden door
git-svn-id: http://mc-server.googlecode.com/svn/trunk@625 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
861fa61dfc
commit
3efd8fdabb
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Lua binding: AllToLua
|
** Lua binding: AllToLua
|
||||||
** Generated automatically by tolua++-1.0.92 on 06/16/12 17:04:45.
|
** Generated automatically by tolua++-1.0.92 on 06/16/12 20:12:04.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
@ -20478,7 +20478,9 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
|
|||||||
tolua_constant(tolua_S,"E_BLOCK_STONE_BRICKS",E_BLOCK_STONE_BRICKS);
|
tolua_constant(tolua_S,"E_BLOCK_STONE_BRICKS",E_BLOCK_STONE_BRICKS);
|
||||||
tolua_constant(tolua_S,"E_BLOCK_HUGE_BROWN_MUSHROOM",E_BLOCK_HUGE_BROWN_MUSHROOM);
|
tolua_constant(tolua_S,"E_BLOCK_HUGE_BROWN_MUSHROOM",E_BLOCK_HUGE_BROWN_MUSHROOM);
|
||||||
tolua_constant(tolua_S,"E_BLOCK_HUGE_RED_MUSHROOM",E_BLOCK_HUGE_RED_MUSHROOM);
|
tolua_constant(tolua_S,"E_BLOCK_HUGE_RED_MUSHROOM",E_BLOCK_HUGE_RED_MUSHROOM);
|
||||||
|
tolua_constant(tolua_S,"E_BLOCK_IRON_BARS",E_BLOCK_IRON_BARS);
|
||||||
tolua_constant(tolua_S,"E_BLOCK_IRON_BAR",E_BLOCK_IRON_BAR);
|
tolua_constant(tolua_S,"E_BLOCK_IRON_BAR",E_BLOCK_IRON_BAR);
|
||||||
|
tolua_constant(tolua_S,"E_BLOCK_GLASS_PANE",E_BLOCK_GLASS_PANE);
|
||||||
tolua_constant(tolua_S,"E_BLOCK_GLASS_PLANE",E_BLOCK_GLASS_PLANE);
|
tolua_constant(tolua_S,"E_BLOCK_GLASS_PLANE",E_BLOCK_GLASS_PLANE);
|
||||||
tolua_constant(tolua_S,"E_BLOCK_MELON",E_BLOCK_MELON);
|
tolua_constant(tolua_S,"E_BLOCK_MELON",E_BLOCK_MELON);
|
||||||
tolua_constant(tolua_S,"E_BLOCK_PUMPKIN_STEM",E_BLOCK_PUMPKIN_STEM);
|
tolua_constant(tolua_S,"E_BLOCK_PUMPKIN_STEM",E_BLOCK_PUMPKIN_STEM);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Lua binding: AllToLua
|
** Lua binding: AllToLua
|
||||||
** Generated automatically by tolua++-1.0.92 on 06/16/12 17:04:45.
|
** Generated automatically by tolua++-1.0.92 on 06/16/12 20:12:05.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Exported function */
|
/* Exported function */
|
||||||
|
@ -195,16 +195,23 @@ public:
|
|||||||
|
|
||||||
// Spread blocks
|
// Spread blocks
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_AIR] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_AIR] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_CAKE] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_CHEST] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_CHEST] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_CROPS] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_CROPS] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_FENCE] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_FENCE_GATE] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_FIRE] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_FIRE] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_GLASS] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_GLASS] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_GLASS_PLANE] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_GLOWSTONE] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_GLOWSTONE] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_IRON_BARS] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_IRON_DOOR] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_LEAVES] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_LEAVES] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_SIGN_POST] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_SIGN_POST] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_TORCH] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_TORCH] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_VINES] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_VINES] = 1;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_WALLSIGN] = 1;
|
g_BlockSpreadLightFalloff[E_BLOCK_WALLSIGN] = 1;
|
||||||
|
g_BlockSpreadLightFalloff[E_BLOCK_WOODEN_DOOR] = 1;
|
||||||
// Light in water and lava dissapears faster:
|
// Light in water and lava dissapears faster:
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_LAVA] = 2;
|
g_BlockSpreadLightFalloff[E_BLOCK_LAVA] = 2;
|
||||||
g_BlockSpreadLightFalloff[E_BLOCK_STATIONARY_LAVA] = 2;
|
g_BlockSpreadLightFalloff[E_BLOCK_STATIONARY_LAVA] = 2;
|
||||||
|
@ -115,8 +115,10 @@ enum ENUM_BLOCK_ID
|
|||||||
E_BLOCK_STONE_BRICKS = 98,
|
E_BLOCK_STONE_BRICKS = 98,
|
||||||
E_BLOCK_HUGE_BROWN_MUSHROOM = 99,
|
E_BLOCK_HUGE_BROWN_MUSHROOM = 99,
|
||||||
E_BLOCK_HUGE_RED_MUSHROOM = 100,
|
E_BLOCK_HUGE_RED_MUSHROOM = 100,
|
||||||
E_BLOCK_IRON_BAR = 101,
|
E_BLOCK_IRON_BARS = 101,
|
||||||
E_BLOCK_GLASS_PLANE = 102,
|
E_BLOCK_IRON_BAR = 101, // Deprecated, use E_BLOCK_IRON_BARS instead
|
||||||
|
E_BLOCK_GLASS_PANE = 102,
|
||||||
|
E_BLOCK_GLASS_PLANE = 102, // Deprecated, use E_BLOCK_GLASS_PANE instead
|
||||||
E_BLOCK_MELON = 103,
|
E_BLOCK_MELON = 103,
|
||||||
E_BLOCK_PUMPKIN_STEM = 104,
|
E_BLOCK_PUMPKIN_STEM = 104,
|
||||||
E_BLOCK_MELON_STEM = 105,
|
E_BLOCK_MELON_STEM = 105,
|
||||||
|
Loading…
Reference in New Issue
Block a user