1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Schematics: Add indent-with-space option for schematic Lua table serialization

This commit is contained in:
kwolekr 2015-05-07 02:54:30 -04:00
parent 656575b59d
commit b246812455
4 changed files with 22 additions and 13 deletions

View file

@ -110,7 +110,7 @@ public:
bool deserializeFromMts(std::istream *is, std::vector<std::string> *names);
bool serializeToMts(std::ostream *os, const std::vector<std::string> &names);
bool serializeToLua(std::ostream *os, const std::vector<std::string> &names,
bool use_comments);
bool use_comments, u32 indent_spaces);
void placeStructure(Map *map, v3s16 p, u32 flags,
Rotation rot, bool force_placement);