Changeset 10618 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Apr 4, 2007, 12:13:53 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 6 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 { -
trunk/src/story_entities/game_world.h
r10428 r10618 56 56 inline double getGameTime() { return this->gameTime; } 57 57 /** sets the game speed @param speed speed of the Game */ 58 inline void setSpeed(float speed) { this->speed = speed; }; 58 inline void setSpeed(float speed) { this->speed = speed; } 59 inline float getSpeed(){ return this->speed; } 59 60 /** returns the track path of this world @returns the track path */ 60 61 -
trunk/src/story_entities/game_world_data.cc
r10513 r10618 29 29 #include "world_entity.h" 30 30 #include "player.h" 31 #include " camera.h"32 #include " cameraman.h"33 #include " terrain.h"34 #include " skybox.h"31 #include "tools/camera.h" 32 #include "tools/cameraman.h" 33 #include "environments/terrain.h" 34 #include "environments/skybox.h" 35 35 #include "md2/md2Model.h" 36 36 #include "world_entities/projectiles/projectile.h" … … 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(); … … 205 205 206 206 glmis->setBackgroundImage("textures/load_screens/default.jpg"); 207 glmis->setPosScale(0.0,0.0,1.0,1.0); 208 glmis->setBarImage("textures/load_screens/default_bar.png"); 209 glmis->setBarPosScale(0.65,0.87,0.3,0.05); 210 207 211 this->glmis->setMaximum(8); 208 212 // this->glmis->draw(); -
trunk/src/story_entities/menu/game_menu.cc
r10403 r10618 27 27 28 28 #include "graphics_engine.h" 29 #include " camera.h"29 #include "tools/camera.h" 30 30 #include "sound_engine.h" 31 31 -
trunk/src/story_entities/multi_player_world_data.cc
r10114 r10618 27 27 #include "world_entity.h" 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" 34 #include "md2/md2Model.h" 29 #include "tools/camera.h" 30 #include "environments/environment.h" 31 #include "environments/terrain.h" 35 32 #include "world_entities/projectiles/projectile.h" 36 33 #include "npcs/npc_test1.h"
Note: See TracChangeset
for help on using the changeset viewer.