- Timestamp:
- Feb 7, 2006, 4:13:01 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/network_game_manager.cc
r7074 r7078 560 560 ss->loadModel("models/ships/reap_0.obj"); 561 561 ss->toList(OM_GROUP_00); 562 ss->setAbsCoor(-314.450, 40.701, 83.554); 562 ss->setAbsCoor(213.37, 57.71, -47.98); 563 ss->setAbsDir(Quaternion(0.16, 0.98, -0.10)); 563 564 } 564 565 else … … 566 567 ss->loadModel( "models/ships/fighter.obj" ); 567 568 ss->toList(OM_GROUP_01); 568 ss->setAbsCoor( 213.37, 57.71, -47.98);569 ss->setAbsDir(Quaternion(0.16, 0.98, -0.10));}569 ss->setAbsCoor(-314.450, 40.701, 83.554); 570 } 570 571 } 571 572 -
trunk/src/story_entities/game_world.cc
r7035 r7078 385 385 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01), 386 386 this->dataTank->objectManager->getObjectList(OM_GROUP_00_PROJ)); 387 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 388 this->dataTank->objectManager->getObjectList(OM_GROUP_01)); 387 389 388 390 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01), -
trunk/src/story_entities/multi_player_world_data.cc
r7074 r7078 212 212 playable = dynamic_cast<Playable*>(playableList->front()); 213 213 this->localPlayer->setPlayable(playable); 214 playable->toList(OM_GROUP_0 1);214 playable->toList(OM_GROUP_00); 215 215 playable->setAbsCoor(213.37, 57.71, -47.98); 216 216 playable->setAbsDir(Quaternion(0.16, 0.98, -0.10)); -
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.