diff options
author | est31 <MTest31@outlook.com> | 2015-07-09 08:07:59 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-07-09 08:24:51 +0200 |
commit | 4ece2b9e32b5948628a20dece54ecfb369a17757 (patch) | |
tree | 65686ce29417a222cd041164bf16842b912d92a2 /src/clouds.h | |
parent | 13e100e1d8c5c47848645e2ef98f21e2c09297db (diff) | |
download | hax-minetest-server-4ece2b9e32b5948628a20dece54ecfb369a17757.tar.gz hax-minetest-server-4ece2b9e32b5948628a20dece54ecfb369a17757.zip |
Update clouds enable_3d_clouds when setting changed
Diffstat (limited to '')
-rw-r--r-- | src/clouds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clouds.h b/src/clouds.h index 348220fb1..195f48de0 100644 --- a/src/clouds.h +++ b/src/clouds.h @@ -83,9 +83,12 @@ public: BS * 1000000, m_cloud_y + BS - BS * camera_offset.Y, BS * 1000000); } + void readSettings(); + private: video::SMaterial m_material; core::aabbox3d<f32> m_box; + s16 m_passed_cloud_y; float m_cloud_y; u16 m_cloud_radius_i; bool m_enable_3d; |