Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10379 in orxonox.OLD for trunk/src/story_entities/menu


Ignore:
Timestamp:
Jan 26, 2007, 10:58:31 AM (18 years ago)
Author:
patrick
Message:

merged branche camera to trunk. resolved many conflicts as in the other projects too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/menu/game_menu.cc

    r10368 r10379  
    110110  this->subscribeEvent(ES_MENU, SDLK_ESCAPE);
    111111
    112   this->dataTank->localCamera->setRelCoor(this->cameraVector);
     112  State::getCamera()->setRelCoor(this->cameraVector);
    113113  //this->dataTank->localCamera->setFovy(60);
    114114
     
    391391  Quaternion q(/*0.00005*/ dt * .1, Vector(0.0, 1.0, 0.0));
    392392  this->cameraVector = q.apply(this->cameraVector);
    393   this->dataTank->localCamera->setRelCoor(this->cameraVector);
    394   this->dataTank->localCamera->getTarget()->setRelCoorSoft(0,0,0);
     393  State::getCamera()->setRelCoor(this->cameraVector);
     394  State::getCamera()->getTarget()->setRelCoorSoft(0,0,0);
    395395}
    396396
Note: See TracChangeset for help on using the changeset viewer.