]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/reflowscan.h
Change typedef to normal definitions in GUI code
[dragonfireclient.git] / src / reflowscan.h
index e8f70f790279c63940008e3c3487c0707c69fe73..7961432bd464f4937145eed2279e2192c1923de6 100644 (file)
@@ -22,13 +22,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "util/container.h"
 #include "irrlichttypes_bloated.h"
 
-class INodeDefManager;
+class NodeDefManager;
 class Map;
 class MapBlock;
 
 class ReflowScan {
 public:
-       ReflowScan(Map *map, INodeDefManager *ndef);
+       ReflowScan(Map *map, const NodeDefManager *ndef);
        void scan(MapBlock *block, UniqueQueue<v3s16> *liquid_queue);
 
 private:
@@ -39,7 +39,7 @@ class ReflowScan {
 
 private:
        Map *m_map = nullptr;
-       INodeDefManager *m_ndef = nullptr;
+       const NodeDefManager *m_ndef = nullptr;
        v3s16 m_block_pos, m_rel_block_pos;
        UniqueQueue<v3s16> *m_liquid_queue = nullptr;
        MapBlock *m_lookup[3 * 3 * 3];