Changeset 7519 in orxonox.OLD for branches/atmospheric_engine/src
- Timestamp:
- May 3, 2006, 4:10:17 PM (19 years ago)
- Location:
- branches/atmospheric_engine/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/Makefile.am
r7151 r7519 36 36 lib/particles/plane_emitter.cc \ 37 37 lib/graphics/effects/fog_effect.cc \ 38 lib/graphics/effects/volfog_effect.cc \ 38 39 lib/graphics/effects/lense_flare.cc \ 39 40 \ -
branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc
r7514 r7519 75 75 PRINTF(4)("element is: %s\n", element->Value()); 76 76 Factory::fabricate(element); 77 78 BaseObject* bo = Factory::fabricate(element); 79 if( bo == NULL) 80 PRINTF(0)(" Could not create Element %s\n", element->Value()); 77 81 } 78 82 LOAD_PARAM_END_CYCLE(element); … … 87 91 { 88 92 PRINTF(4)("element is: %s\n", element->Value()); 89 Factory::fabricate(element);90 93 } 91 94 LOAD_PARAM_END_CYCLE(element); -
branches/atmospheric_engine/src/lib/graphics/effects/volfog_effect.cc
r7516 r7519 46 46 { 47 47 WeatherEffect::loadParams(root); 48 49 LoadParam(root, "test", this, VolFogEffect, test); 50 } 51 52 void VolFogEffect::test(int t) 53 { 54 PRINTF(0)("test\n\n"); 48 55 } 49 56 … … 55 62 bool VolFogEffect::activate() 56 63 { 57 64 PRINTF(0)("Activate VolFogEffect\n"); 58 65 } 59 66 60 67 bool VolFogEffect::deactivate() 61 68 { 62 69 PRINTF(0)("Deactivate VolFogEffect\n"); 63 70 } 64 71 … … 68 75 */ 69 76 void VolFogEffect::draw() const 70 {} 77 { 78 PRINTF(0)("DRAW VolFogEffect\n"); 79 } 71 80 72 81 … … 75 84 * ticks the effect if there is any time dependancy 76 85 */ 77 void VolFogEffect::tick(float dt) 78 79 {} 86 void VolFogEffect::tick(float dt) 87 { 88 PRINTF(0)("TICK VolFogEffect\n"); 89 } -
branches/atmospheric_engine/src/lib/graphics/effects/volfog_effect.h
r7516 r7519 26 26 virtual void tick(float dt); 27 27 28 void test(int t); 29 28 30 private: 29 31
Note: See TracChangeset
for help on using the changeset viewer.