Changeset 7699 in orxonox.OLD for branches/atmospheric_engine/src/lib
- Timestamp:
- May 18, 2006, 4:39:02 PM (19 years ago)
- Location:
- branches/atmospheric_engine/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
r7679 r7699 17 17 #include "util/loading/load_param.h" 18 18 #include "util/loading/factory.h" 19 #include "render2D/billboard.h" 19 20 20 21 #include "glincl.h" … … 28 29 { 29 30 this->setClassID(CL_LIGHTENING_EFFECT, "LighteningEffect"); 30 31 32 33 lightening = new Billboard(NULL); 34 lightening->setTexture("pictures/lense_flare/lens2.png"); 35 lightening->setSize(50, 50); 36 lightening->setAbsCoor2D(0,0); 37 lightening->setVisibility(true); 38 31 39 this->init(); 32 40 … … 40 48 { 41 49 this->deactivate(); 50 delete lightening; 42 51 } 43 52 … … 56 65 bool LighteningEffect::activate() 57 66 { 58 PRINTF(0)( "Activating LighteningEffect " );67 PRINTF(0)( "Activating LighteningEffect\n" ); 59 68 60 69 } -
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r7679 r7699 14 14 #include "sound_source.h" 15 15 16 17 class Billboard; 16 18 17 19 class LighteningEffect : public WeatherEffect … … 31 33 32 34 private: 35 Billboard* lightening; 33 36 34 37 };
Note: See TracChangeset
for help on using the changeset viewer.