Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2006, 3:59:39 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: cloud effect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h

    r8457 r8474  
    1212
    1313#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"
    2116
    2217class CloudEffect : public WeatherEffect {
     
    4237    virtual void tick(float dt);
    4338
    44     inline void setCloudOption(const std::string& option) {
     39    /*inline void setCloudOption(const std::string& option) {
    4540        if (option == "activate")
    46             this->cloudActivate = true;
    47     }
     41    this->cloudActivate = true;
     42}*/
    4843
    4944
    5045private:
    51     void initialize(char* fileName);
     46    //void initialize(char* fileName);
    5247
    53     bool        cloudActivate;
     48    //bool        cloudActivate;
    5449
    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;
    6752};
    6853
Note: See TracChangeset for help on using the changeset viewer.