aboutsummaryrefslogtreecommitdiff
path: root/src/clouds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clouds.h')
-rw-r--r--src/clouds.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/clouds.h b/src/clouds.h
index a9e58e0f0..195f48de0 100644
--- a/src/clouds.h
+++ b/src/clouds.h
@@ -24,6 +24,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <iostream>
#include "constants.h"
+// Menu clouds
+class Clouds;
+extern Clouds *g_menuclouds;
+
+// Scene manager used for menu clouds
+namespace irr{namespace scene{class ISceneManager;}}
+extern irr::scene::ISceneManager *g_menucloudsmgr;
+
class Clouds : public scene::ISceneNode
{
public:
@@ -75,10 +83,15 @@ 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;
video::SColorf m_color;
u32 m_seed;
v2f m_camera_pos;