Changeset 7951 in orxonox.OLD for branches/atmospheric_engine/src/lib
- Timestamp:
- May 29, 2006, 1:29:35 PM (18 years ago)
- 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 127 127 for (it = weatherEffects->begin(); it != weatherEffects->end(); it++) 128 128 { 129 printf("%s::%s \n", (*it)->getClassName(), (*it)->getName());129 //printf("%s::%s \n", (*it)->getClassName(), (*it)->getName()); 130 130 dynamic_cast<WeatherEffect*>(*it)->tick(dt); 131 131 } -
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
r7810 r7951 18 18 #include "util/loading/load_param.h" 19 19 #include "util/loading/factory.h" 20 #include " render2D/image_plane.h"20 #include "effects/billboard.h" 21 21 22 22 #include "glincl.h" … … 32 32 33 33 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); 39 39 40 40 … … 50 50 { 51 51 this->deactivate(); 52 delete lightening;52 delete billboard; 53 53 } 54 54 -
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r7810 r7951 15 15 16 16 17 class ImagePlane;17 class Billboard; 18 18 19 19 class LighteningEffect : public WeatherEffect … … 33 33 34 34 private: 35 ImagePlane* lightening;35 Billboard* billboard; 36 36 37 37 };
Note: See TracChangeset
for help on using the changeset viewer.