Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2006, 9:49:33 AM (18 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: glFog implemented in AtmosEngine

File:
1 edited

Legend:

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

    r7381 r7392  
    1515{
    1616  public:
    17     virtual ~AtmosphericEngine();
     17    ~AtmosphericEngine();
    1818
    1919    /** @returns a Pointer to the only object of this Class */
    2020    inline static AtmosphericEngine* getInstance() { if (!AtmosphericEngine::singletonRef) AtmosphericEngine::singletonRef = new AtmosphericEngine();  return AtmosphericEngine::singletonRef; };
    2121
    22     virtual void loadParams(const TiXmlElement* root);
     22    void loadParams(const TiXmlElement* root);
    2323
    24     virtual bool init();
     24    // bool init();
    2525
    26     //virtual bool activate() = 0;
    27     //virtual bool deactivate() = 0;
     26    void draw() const;
     27    void tick(float dt);
    2828
    29     virtual void draw() const;
    30     virtual void tick(float dt);
    31 
    32     inline bool isActivated() const { return this->bActivated; }
     29    // inline bool isActivated() const { return this->bActivated; }
    3330
    3431    void loadWeatherEffect(const TiXmlElement* root);
     
    4138    static AtmosphericEngine*     singletonRef;       //!< Pointer to the only instance of this Class
    4239
    43   protected:
    44     bool              bActivated;
     40  //protected:
     41  //  bool              bActivated;
    4542};
    4643
Note: See TracChangeset for help on using the changeset viewer.