Changeset 4349 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 28, 2005, 12:10:30 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/particles/particle_engine.cc
r4338 r4349 253 253 \param dt the time passed in seconds (since the last Frame) 254 254 */ 255 void ParticleEngine::draw( float dt)255 void ParticleEngine::draw() const 256 256 { 257 257 tIterator<ParticleSystem>* tmpIt = systemList->getIterator(); … … 259 259 while(tmpSys) 260 260 { 261 tmpSys->draw( dt);261 tmpSys->draw(); 262 262 tmpSys = tmpIt->nextElement(); 263 263 } -
orxonox/trunk/src/lib/graphics/particles/particle_engine.h
r4338 r4349 28 28 29 29 void tick(float dt); 30 void draw( float dt);30 void draw(void) const; 31 31 32 32 void addSystem(ParticleSystem* system); -
orxonox/trunk/src/lib/graphics/particles/particle_system.cc
r4348 r4349 309 309 This is just the fastest Way to do this, but will most likely be changed in the future. 310 310 */ 311 void ParticleSystem::draw( float dt)311 void ParticleSystem::draw(void) const 312 312 { 313 313 glPushAttrib(GL_ENABLE_BIT); -
orxonox/trunk/src/lib/graphics/particles/particle_system.h
r4338 r4349 98 98 99 99 void tick(float dt); 100 void draw( float dt);100 void draw(void) const; 101 101 102 102 void debug(void); -
orxonox/trunk/src/story_entities/world.cc
r4347 r4349 816 816 817 817 TextEngine::getInstance()->draw(); 818 particleEngine->draw( this->dtS); //!< \todo should be dts like in the Trunk;818 particleEngine->draw(); //!< \todo should be dts like in the Trunk; 819 819 820 820 lightMan->draw(); // must be at the end of the drawing procedure, otherwise Light cannot be handled as PNodes // -
orxonox/trunk/src/subprojects/framework.cc
r4343 r4349 57 57 glLoadIdentity(); // Reset the view 58 58 59 this->moduleDraw( dt);59 this->moduleDraw(); 60 60 61 61 camera->apply(); -
orxonox/trunk/src/subprojects/framework.h
r4343 r4349 45 45 void moduleEventHandler(SDL_Event* event); 46 46 void moduleTick(float dt); 47 void moduleDraw( float dt);47 void moduleDraw(void) const; 48 48 49 49 void moduleHelp(void) const; -
orxonox/trunk/src/subprojects/importer/importer.cc
r4343 r4349 68 68 } 69 69 70 void Framework::moduleDraw( float dt)70 void Framework::moduleDraw(void) const 71 71 { 72 72 obj->draw(); -
orxonox/trunk/src/subprojects/particles/particle_fun.cc
r4348 r4349 60 60 } 61 61 62 void Framework::moduleDraw( float dt)63 { 64 ParticleEngine::getInstance()->draw( dt);62 void Framework::moduleDraw() const 63 { 64 ParticleEngine::getInstance()->draw(); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.