Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9192 in orxonox.OLD


Ignore:
Timestamp:
Jul 5, 2006, 8:05:48 AM (18 years ago)
Author:
patrick
Message:

aiming works almost

Location:
branches/presentation/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/story_entities/multi_player_world.cc

    r9144 r9192  
    107107    this->dataTank->objectManager->getObjectList(OM_PLAYERS_PROJ));
    108108
    109   CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_PLAYERS),
    110     this->dataTank->objectManager->getObjectList(OM_GROUP_00));
    111   CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_PLAYERS),
    112     this->dataTank->objectManager->getObjectList(OM_GROUP_01));
     109  CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00),
     110  this->dataTank->objectManager->getObjectList(OM_PLAYERS));
     111  CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01),
     112  this->dataTank->objectManager->getObjectList(OM_PLAYERS));
    113113
    114114
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9191 r9192  
    248248      this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * f, 0.0));
    249249
    250       this->aimingSystem->toList(OM_LIST(this->getOMListNumber() + 1) /*OM_GROUP_01*/);
     250      this->aimingSystem->toList(OM_GROUP_01);
    251251      this->aimingSystem->setParent(&this->cameraNode);
    252252      this->aimingSystem->setParentMode(PNODE_ROTATE_AND_MOVE);
  • branches/presentation/src/world_entities/environments/building.cc

    r9190 r9192  
    3232{
    3333  this->setClassID(CL_BUILDING, "Building");
    34   this->toList(OM_GROUP_01);
     34  this->toList(OM_ENVIRON_NOTICK);
    3535
    3636  if (root != NULL)
  • branches/presentation/src/world_entities/weapons/aiming_system.cc

    r9191 r9192  
    101101  }
    102102
    103 
     103  PRINTF(0)("entity: %s\n", nearestEntity->getClassName());
    104104    return nearestEntity;
    105105}
     
    114114{
    115115  if( this->owner != killer)
     116  {
     117    PRINTF(0)("real hit: %s\n", killer->getClassName());
     118
    116119    this->selectionList.push_back(killer);
     120  }
     121  PRINTF(0)("no hit: %s\n", killer->getClassName());
    117122}
    118123
Note: See TracChangeset for help on using the changeset viewer.