summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_mapgen.h')
-rw-r--r--src/script/lua_api/l_mapgen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/lua_api/l_mapgen.h b/src/script/lua_api/l_mapgen.h
index 2d796ac70..a54fcd7a8 100644
--- a/src/script/lua_api/l_mapgen.h
+++ b/src/script/lua_api/l_mapgen.h
@@ -84,6 +84,9 @@ private:
// place_schematic(p, schematic, rotation, replacement)
static int l_place_schematic(lua_State *L);
+ // serialize_schematic(schematic, format, use_comments)
+ static int l_serialize_schematic(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
@@ -92,6 +95,7 @@ public:
static struct EnumString es_MapgenObject[];
static struct EnumString es_OreType[];
static struct EnumString es_Rotation[];
+ static struct EnumString es_SchematicFormatType[];
};
#endif /* L_MAPGEN_H_ */