From 2960f43782f0ec46e5ad494544a0f76c6a6741df Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 25 Jan 2013 10:12:29 +0000 Subject: Merged the usable portion of the "gens" branch. Splitting off the Composable generator and fiddling with LuaChunk / ChunkDesc is good, other generators not good yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1171 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Plugin.h') diff --git a/source/Plugin.h b/source/Plugin.h index bae6d39a2..be453b811 100644 --- a/source/Plugin.h +++ b/source/Plugin.h @@ -15,7 +15,7 @@ class cItem; class cEntity; class cPawn; class cWorld; -class cLuaChunk; +class cChunkDesc; struct TakeDamageInfo; // fwd: cPlayer.h @@ -51,7 +51,7 @@ public: // TODO: virtual bool OnBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups); virtual bool OnChat (cPlayer * a_Player, const AString & a_Message); virtual bool OnChunkGenerated (cWorld * a_World, int a_ChunkX, int a_ChunkZ); - virtual bool OnChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cLuaChunk * a_pLuaChunk); + virtual bool OnChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cChunkDesc * a_pLuaChunk); virtual bool OnCollectPickup (cPlayer * a_Player, cPickup * a_Pickup); virtual bool OnCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe); virtual bool OnDisconnect (cPlayer * a_Player, const AString & a_Reason); -- cgit v1.2.3