1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-30 15:05:32 +01:00

Code modernization: src/m* (part 2)

* empty function
* default constructor/destructor
* remove unused Map::emergeSector(a,b)
* for range-based loops
* migrate a dirs[7] table to direction tables
* remove various old unused function
This commit is contained in:
Loic Blot
2017-08-19 09:12:54 +02:00
parent e53d8a7536
commit b5f7249a7e
13 changed files with 161 additions and 246 deletions

View File

@@ -48,7 +48,7 @@ struct MapgenV5Params : public MapgenParams
NoiseParams np_cavern;
MapgenV5Params();
~MapgenV5Params() {}
~MapgenV5Params() = default;
void readParams(const Settings *settings);
void writeParams(Settings *settings) const;