mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 03:59:19 +02:00
feat(terrain): binary terrain (BTF2) keeps the sweeps and the //$ lines of its text file and loads them with the terrain; a sweep in the text file no longer stops the conversion; binary files of the version before made again from the text
This commit is contained in:
@@ -46,6 +46,7 @@ class terrain_file
|
||||
static bool attach(std::string const &Binaryfile, basic_region &Region, bool Deferred);
|
||||
// loads specified piece of a binary terrain file into provided section
|
||||
static void load(basic_section &Section, terrain_block const &Block);
|
||||
static std::string extra(std::string const &Binaryfile);
|
||||
|
||||
private:
|
||||
// converts provided content of a text terrain file to binary format and stores it in specified file. returns: true on success, false otherwise
|
||||
|
||||
Reference in New Issue
Block a user