]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/sky.h
Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors
[dragonfireclient.git] / src / sky.h
index 4af6be0246bbfaeb5f1d3b847d398915e47a8948..5023cc68264581fac36cb021abfc93fe4b1afd12 100644 (file)
--- a/src/sky.h
+++ b/src/sky.h
@@ -27,12 +27,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define SKY_MATERIAL_COUNT 5
 #define SKY_STAR_COUNT 200
 
+class ITextureSource;
+
 // Skybox, rendered with zbuffer turned off, before all other nodes.
 class Sky : public scene::ISceneNode
 {
 public:
        //! constructor
-       Sky(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id);
+       Sky(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id,
+                       ITextureSource *tsrc);
 
        virtual void OnRegisterSceneNode();