From 7616537bc071bc93f8d36c84b94603528be1efb0 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Wed, 12 Nov 2014 23:01:13 -0500 Subject: Add Generator Element Management framework Add BiomeManager, OreManager, DecorationManager, and SchematicManager --- src/script/common/c_content.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/script/common/c_content.h') diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index f48c673bd..5b4dff2bd 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -59,7 +59,7 @@ struct DigParams; struct HitParams; struct EnumString; struct NoiseParams; -class DecoSchematic; +class Schematic; ContentFeatures read_content_features (lua_State *L, int index); @@ -151,10 +151,14 @@ NoiseParams* read_noiseparams (lua_State *L, int index); bool read_noiseparams_nc (lua_State *L, int index, NoiseParams *np); - +bool get_schematic (lua_State *L, int index, + Schematic *schem, + INodeDefManager *ndef, + std::map &replace_names); bool read_schematic (lua_State *L, int index, - DecoSchematic *dschem, - Server *server); + Schematic *dschem, + INodeDefManager *ndef, + std::map &replace_names); void luaentity_get (lua_State *L,u16 id); -- cgit v1.2.3