Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10272 in orxonox.OLD for branches/camera/src/story_entities


Ignore:
Timestamp:
Jan 17, 2007, 6:16:08 PM (18 years ago)
Author:
gfilip
Message:

evrything finally solved

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

Legend:

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

    r10258 r10272  
    551551  State::getCamera()->apply ();
    552552  State::getCamera()->project ();
    553   //this->dataTank->localCamera->apply ();
    554   //this->dataTank->localCamera->project ();
    555553  GraphicsEngine::storeMatrices();
    556554}
  • branches/camera/src/story_entities/game_world_data.cc

    r10259 r10272  
    3030#include "player.h"
    3131#include "camera.h"
     32#include "cameraman.h"
    3233#include "terrain.h"
    3334#include "skybox.h"
     
    99100  PNode::getNullParent();
    100101  Camera* localCamera = new Camera();
    101   localCamera->setName ("GameWorld-Camera");
     102    localCamera->setName ("GameWorld-Camera");
    102103  State::setCamera(localCamera, localCamera->getTarget());
    103 
     104  cameraman* camMan = new cameraman();
     105  State::setCameraman(camMan);
    104106  LightManager::getInstance();
    105107
     
    332334  LoadParamXML(root, "GameRule", this, GameWorldData, loadGameRule);
    333335
    334   LoadParam(root, "clip-region", State::getCamera(), Camera, setClipRegion);
     336  LoadParam(root, "clip-region", State::getCameraman(), cameraman, setClipRegion);
    335337
    336338
Note: See TracChangeset for help on using the changeset viewer.