Make saplings only grow on dirt or grass, make jungle tree trunks only replace air
[oweals/minetest.git] / src / mapsector.h
index 88fc76b571974a1e6cce5d6d1ef7da2861da15ea..4f2b3f31feb35acf3a555f51ba3168ded618d52b 100644 (file)
@@ -24,6 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "irrlichttypes_bloated.h"
 #include "exceptions.h"
 #include <ostream>
+#include <map>
+#include <list>
 
 class MapBlock;
 class Map;
@@ -60,7 +62,7 @@ public:
        
        void deleteBlock(MapBlock *block);
        
-       void getBlocks(core::list<MapBlock*> &dest);
+       void getBlocks(std::list<MapBlock*> &dest);
        
        // Always false at the moment, because sector contains no metadata.
        bool differs_from_disk;
@@ -68,7 +70,7 @@ public:
 protected:
        
        // The pile of MapBlocks
-       core::map<s16, MapBlock*> m_blocks;
+       std::map<s16, MapBlock*> m_blocks;
 
        Map *m_parent;
        // Position on parent (in MapBlock widths)
@@ -110,7 +112,7 @@ public:
                        std::istream &is,
                        Map *parent,
                        v2s16 p2d,
-                       core::map<v2s16, MapSector*> & sectors,
+                       std::map<v2s16, MapSector*> & sectors,
                        IGameDef *gamedef
                );