From ba8a5184c8a9b7acfb145fe657ebe18541197a00 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 21 Oct 2012 21:15:57 +0000 Subject: Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/World.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/World.h') diff --git a/source/World.h b/source/World.h index f9cc83f31..b54e82662 100644 --- a/source/World.h +++ b/source/World.h @@ -68,6 +68,7 @@ public: eGameMode GetGameMode(void) const { return m_GameMode; } //tolua_export bool IsPVPEnabled(void) const { return m_bEnabledPVP; } //tolua_export + bool IsDeepSnowEnabled(void) const { return m_IsDeepSnowEnabled; } void SetWorldTime(long long a_WorldTime) { m_WorldTime = a_WorldTime; } //tolua_export @@ -425,6 +426,7 @@ private: unsigned long long CurrentTick; eGameMode m_GameMode; bool m_bEnabledPVP; + bool m_IsDeepSnowEnabled; float m_WorldTimeFraction; // When this > 1.f m_WorldTime is incremented by 20 // The cRedstone class simulates redstone and needs access to m_RSList -- cgit v1.2.3