mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
e53d8a7536
commit
b5f7249a7e
13 changed files with 161 additions and 246 deletions
|
@ -168,8 +168,6 @@ public:
|
|||
their differing fetch methods.
|
||||
*/
|
||||
virtual MapSector * emergeSector(v2s16 p){ return NULL; }
|
||||
virtual MapSector * emergeSector(v2s16 p,
|
||||
std::map<v3s16, MapBlock*> &changed_blocks){ return NULL; }
|
||||
|
||||
// Returns InvalidPositionException if not found
|
||||
MapBlock * getBlockNoCreate(v3s16 p);
|
||||
|
@ -496,7 +494,7 @@ class MMVManip : public VoxelManipulator
|
|||
{
|
||||
public:
|
||||
MMVManip(Map *map);
|
||||
virtual ~MMVManip();
|
||||
virtual ~MMVManip() = default;
|
||||
|
||||
virtual void clear()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue