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:
parent
656575b59d
commit
b246812455
4 changed files with 22 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue