Changeset 8474 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h
- Timestamp:
- Jun 15, 2006, 3:59:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h
r8457 r8474 12 12 13 13 #include "world_entity.h" 14 #include "glincl.h" 15 16 #include "sglmodel.h" 17 18 class Shader; 19 class Material; 20 class Vector; 14 #include "material.h" 15 #include "shader.h" 21 16 22 17 class CloudEffect : public WeatherEffect { … … 42 37 virtual void tick(float dt); 43 38 44 inline void setCloudOption(const std::string& option) {39 /*inline void setCloudOption(const std::string& option) { 45 40 if (option == "activate") 46 47 } 41 this->cloudActivate = true; 42 }*/ 48 43 49 44 50 45 private: 51 void initialize(char* fileName);46 //void initialize(char* fileName); 52 47 53 bool cloudActivate;48 //bool cloudActivate; 54 49 55 Material* cloudMaterial; // A Material for the Sphere. 56 57 std::string cloudTexture; 58 59 Sglmodel_sgl cloudModel; 60 Shader* cloudShader; 61 62 GLfloat cloudTint[4]; 63 GLfloat cloudScroll; 64 65 float time; 66 50 Material cloudMaterial; 51 Shader* shader; 67 52 }; 68 53
Note: See TracChangeset
for help on using the changeset viewer.