1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Pass clang-format on various cpp/header files (#5559)

This commit is contained in:
Loïc Blot 2017-04-23 09:52:40 +02:00 committed by GitHub
parent 0c34fe20a1
commit 91a9382c25
30 changed files with 138 additions and 183 deletions

View 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;
IGameDef* getGameDef() { 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