summaryrefslogtreecommitdiff
path: root/src/script/common/c_content.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-11-12 23:01:13 -0500
committerkwolekr <kwolekr@minetest.net>2014-11-12 23:02:41 -0500
commit7616537bc071bc93f8d36c84b94603528be1efb0 (patch)
tree487185069e4f39f1f828a831b1d1ba9c88ed4298 /src/script/common/c_content.h
parentf25cc0dbae0209f2647ac5eec9fe6ddb08174f55 (diff)
downloadminetest-7616537bc071bc93f8d36c84b94603528be1efb0.tar.gz
minetest-7616537bc071bc93f8d36c84b94603528be1efb0.tar.bz2
minetest-7616537bc071bc93f8d36c84b94603528be1efb0.zip
Add Generator Element Management framework
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r--src/script/common/c_content.h12
1 files changed, 8 insertions, 4 deletions
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<std::string, std::string> &replace_names);
bool read_schematic (lua_State *L, int index,
- DecoSchematic *dschem,
- Server *server);
+ Schematic *dschem,
+ INodeDefManager *ndef,
+ std::map<std::string, std::string> &replace_names);
void luaentity_get (lua_State *L,u16 id);