Tooltips: Unify the tooltip[] and list[] description tooltip display functions (...
[oweals/minetest.git] / src / environment.h
index 52f36981785456f8cdf86bde42adc91c12e7ee4c..1de13e9eddae8628f79730a694650e4f78fbdeb1 100644 (file)
@@ -58,7 +58,7 @@ public:
        */
        virtual void step(f32 dtime) = 0;
 
-       virtual Map & getMap() = 0;
+       virtual Map &getMap() = 0;
 
        u32 getDayNightRatio();
 
@@ -78,7 +78,7 @@ public:
        // counter used internally when triggering ABMs
        u32 m_added_objects;
 
-       IGameDefgetGameDef() { return m_gamedef; }
+       IGameDef *getGameDef() { return m_gamedef; }
 protected:
        GenericAtomic<float> m_time_of_day_speed;
 
@@ -117,6 +117,7 @@ protected:
        float m_cache_nodetimer_interval;
 
        IGameDef *m_gamedef;
+
 private:
        Mutex m_time_lock;
 
@@ -124,4 +125,3 @@ private:
 };
 
 #endif
-