Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10593 in orxonox.OLD for branches/cleanup/src/story_entities


Ignore:
Timestamp:
Feb 14, 2007, 7:27:23 PM (18 years ago)
Author:
snellen
Message:

cleaned up the cameramanager, commented all functions, corrected spelling mistakes :-P

Location:
branches/cleanup/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/story_entities/game_world.cc

    r10591 r10593  
    444444
    445445    // tick camera first
    446     CameraMan* man = State::getCameraman();
    447     (man->getCurrentCam())->tick(this->dtS);
     446    (State::getCamera())->tick(this->dtS);
    448447    // TICK everything
    449448    for (i = 0; i < this->dataTank->tickLists.size(); ++i)
     
    580579void GameWorld::applyCameraSettings()
    581580{
    582   CameraMan* man = State::getCameraman();
    583   Camera* c = man->getCurrentCam();
     581  Camera* c = State::getCamera();
     582
    584583  if( c != NULL)
    585584  {
  • branches/cleanup/src/story_entities/game_world_data.cc

    r10591 r10593  
    101101  PNode::getNullParent();
    102102  Camera* localCamera = new Camera();
    103     localCamera->setName ("GameWorld-Camera");
     103    localCamera->setName ("GameWorldCamera");
    104104  State::setCamera(localCamera, localCamera->getTarget());
    105105  //CameraMan* camMan = new CameraMan();
Note: See TracChangeset for help on using the changeset viewer.