Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7951 in orxonox.OLD for branches/atmospheric_engine/src/lib


Ignore:
Timestamp:
May 29, 2006, 1:29:35 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: work on the billboard

Location:
branches/atmospheric_engine/src/lib/graphics/effects
Files:
3 edited

Legend:

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

    r7836 r7951  
    127127    for (it = weatherEffects->begin(); it != weatherEffects->end(); it++)
    128128    {
    129       printf("%s::%s \n", (*it)->getClassName(), (*it)->getName());
     129      //printf("%s::%s \n", (*it)->getClassName(), (*it)->getName());
    130130      dynamic_cast<WeatherEffect*>(*it)->tick(dt);
    131131    }
  • branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc

    r7810 r7951  
    1818#include "util/loading/load_param.h"
    1919#include "util/loading/factory.h"
    20 #include "render2D/image_plane.h"
     20#include "effects/billboard.h"
    2121
    2222#include "glincl.h"
     
    3232 
    3333 
    34   lightening = new ImagePlane(NULL);
    35   lightening->setTexture("maps/lightning_bolt.png");
    36   lightening->setSize(50, 50);
    37   lightening->setAbsCoor2D(10,10);
    38   lightening->setVisibility(true);
     34  billboard = new Billboard(NULL);
     35  billboard->setTexture("maps/lightning_bolt.png");
     36  //billboard->setSize(50, 50);
     37  //billboard->setAbsCoor2D(10,10);
     38  //billboard->setVisibility(true);
    3939 
    4040 
     
    5050{
    5151        this->deactivate();
    52   delete lightening;
     52  delete billboard;
    5353}
    5454
  • branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h

    r7810 r7951  
    1515
    1616
    17 class ImagePlane;
     17class Billboard;
    1818
    1919class LighteningEffect : public WeatherEffect
     
    3333
    3434        private:
    35     ImagePlane* lightening;
     35    Billboard* billboard;
    3636
    3737};
Note: See TracChangeset for help on using the changeset viewer.