Changeset 10593 in orxonox.OLD for branches/cleanup/src/story_entities
- Timestamp:
- Feb 14, 2007, 7:27:23 PM (18 years ago)
- Location:
- branches/cleanup/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cleanup/src/story_entities/game_world.cc
r10591 r10593 444 444 445 445 // tick camera first 446 CameraMan* man = State::getCameraman(); 447 (man->getCurrentCam())->tick(this->dtS); 446 (State::getCamera())->tick(this->dtS); 448 447 // TICK everything 449 448 for (i = 0; i < this->dataTank->tickLists.size(); ++i) … … 580 579 void GameWorld::applyCameraSettings() 581 580 { 582 Camera Man* man = State::getCameraman();583 Camera* c = man->getCurrentCam(); 581 Camera* c = State::getCamera(); 582 584 583 if( c != NULL) 585 584 { -
branches/cleanup/src/story_entities/game_world_data.cc
r10591 r10593 101 101 PNode::getNullParent(); 102 102 Camera* localCamera = new Camera(); 103 localCamera->setName ("GameWorld -Camera");103 localCamera->setName ("GameWorldCamera"); 104 104 State::setCamera(localCamera, localCamera->getTarget()); 105 105 //CameraMan* camMan = new CameraMan();
Note: See TracChangeset
for help on using the changeset viewer.