Changeset 10618 in orxonox.OLD for trunk/src/story_entities/game_world.cc
- Timestamp:
- Apr 4, 2007, 12:13:53 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 16 16 OrxonoxPlayability.kdevses 17 17 OrxonoxPlayability.kdevelop.pcs 18 orxonox.backtrace 19 orxonox.kdevses 20 orxonox.kdevelop.pcs
-
- Property svn:ignore
-
trunk/src/story_entities/game_world.cc
r10523 r10618 27 27 28 28 #include "player.h" 29 #include "camera.h" 30 #include "environment.h" 31 #include "terrain.h" 32 #include "test_entity.h" 33 #include "terrain.h" 29 #include "tools/camera.h" 30 #include "tools/cameraman.h" 31 #include "environments/environment.h" 32 #include "environments/terrain.h" 34 33 #include "playable.h" 35 34 #include "environments/mapped_water.h" … … 193 192 this->dataXML = (TiXmlElement*)root->Clone(); 194 193 195 //remove this after finished testing !!!!196 //Object* obj= new Object();197 //obj->setName("Obj");198 //Account* a = new Account();199 //a->setName("a");200 //Account *b = new Account(30);201 //b->setName("b");202 203 204 194 LoadParamXML(root, "ScriptManager", &this->scriptManager, ScriptManager, loadParams); 205 195 … … 454 444 455 445 // tick camera first 456 CameraMan* man = State::getCameraman(); 457 (man->getCurrentCam())->tick(this->dtS); 446 (State::getCamera())->tick(this->dtS); 458 447 // TICK everything 459 448 for (i = 0; i < this->dataTank->tickLists.size(); ++i) … … 590 579 void GameWorld::applyCameraSettings() 591 580 { 592 Camera Man* man = State::getCameraman();593 Camera* c = man->getCurrentCam(); 581 Camera* c = State::getCamera(); 582 594 583 if( c != NULL) 595 584 {
Note: See TracChangeset
for help on using the changeset viewer.