Changeset 6693 in orxonox.OLD for branches/network/src/lib/particles
- Timestamp:
- Jan 25, 2006, 2:19:46 PM (19 years ago)
- Location:
- branches/network/src/lib/particles
- Files:
-
- 4 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/particles/Makefile.am
r6629 r6693 11 11 spark_particles.cc \ 12 12 model_particles.cc \ 13 dot_particles.cc \ 13 14 \ 14 15 quick_animation.cc … … 22 23 spark_particles.h \ 23 24 model_particles.h \ 25 dot_particles.h \ 24 26 \ 25 27 quick_animation.h -
branches/network/src/lib/particles/model_particles.cc
r6629 r6693 61 61 */ 62 62 ModelParticles::~ModelParticles() 63 { 64 // deleting all the living Particles 65 while (this->particles) 66 { 67 Particle* tmpDelPart = this->particles; 68 this->particles = this->particles->next; 69 delete tmpDelPart; 70 } 71 72 // deleting all the dead particles 73 while (this->deadList) 74 { 75 Particle* tmpDelPart = this->deadList; 76 this->deadList = this->deadList->next; 77 delete tmpDelPart; 78 } 79 } 63 { } 80 64 81 65 /** -
branches/network/src/lib/particles/spark_particles.cc
r6629 r6693 60 60 */ 61 61 SparkParticles::~SparkParticles() 62 { 63 // deleting all the living Particles 64 while (this->particles) 65 { 66 Particle* tmpDelPart = this->particles; 67 this->particles = this->particles->next; 68 delete tmpDelPart; 69 } 70 71 // deleting all the dead particles 72 while (this->deadList) 73 { 74 Particle* tmpDelPart = this->deadList; 75 this->deadList = this->deadList->next; 76 delete tmpDelPart; 77 } 78 } 62 { } 79 63 80 64 /** -
branches/network/src/lib/particles/sprite_particles.cc
r6628 r6693 61 61 */ 62 62 SpriteParticles::~SpriteParticles() 63 { 64 // deleting all the living Particles 65 while (this->particles) 66 { 67 Particle* tmpDelPart = this->particles; 68 this->particles = this->particles->next; 69 delete tmpDelPart; 70 } 71 72 // deleting all the dead particles 73 while (this->deadList) 74 { 75 Particle* tmpDelPart = this->deadList; 76 this->deadList = this->deadList->next; 77 delete tmpDelPart; 78 } 79 } 63 { } 80 64 81 65 /** … … 125 109 GLboolean checkLight = false; 126 110 glGetBooleanv(GL_LIGHTING, &checkLight); 127 if (checkLight == GL_TRUE)128 glDisable(GL_LIGHTING);111 // if (checkLight == GL_TRUE) 112 // glDisable(GL_LIGHTING); 129 113 glMatrixMode(GL_MODELVIEW); 130 114 glDepthMask(GL_FALSE);
Note: See TracChangeset
for help on using the changeset viewer.