Changeset 7078 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 7, 2006, 4:13:01 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/creatures/md2_creature.cc
r7071 r7078 64 64 65 65 this->loadParams(doc.RootElement()); 66 this->toList(OM_GROUP_0 3);66 this->toList(OM_GROUP_01); 67 67 } 68 68 -
trunk/src/world_entities/playable.cc
r7072 r7078 163 163 if (State::isOnline()) 164 164 { 165 if( this == State::getPlayer()->getPlayable()) 166 State::getGameRules()->onPlayerDeath(); 167 168 this->toList(OM_DEAD); 169 //.HACK: moves the entity to an unknown place far far away: in the future, GameRules will look for that 170 this->setAbsCoor(-2000.0, -2000.0, -2000.0); 165 if( this == State::getPlayer()->getPlayable()) 166 State::getGameRules()->onPlayerDeath(); 167 168 169 this->toList(OM_DEAD); 170 //HACK: moves the entity to an unknown place far far away: in the future, GameRules will look for that 171 this->setAbsCoor(-2000.0, -2000.0, -2000.0); 171 172 172 173 //explosion hack 173 this->emitter->setSystem(explosionParticles);174 this->setAbsCoor(0, 0, 0);175 this->emitter->setSystem(NULL);174 this->emitter->setSystem(explosionParticles); 175 this->setAbsCoor(0, 0, 0); 176 this->emitter->setSystem(NULL); 176 177 } 177 178 } -
trunk/src/world_entities/test_entity.cc
r7071 r7078 58 58 { 59 59 this->setClassID(CL_TEST_ENTITY, "TestEntity"); 60 this->toList(OM_ COMMON);60 this->toList(OM_GROUP_00); 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.