- Timestamp:
- Dec 17, 2005, 6:08:28 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/cd_engine.cc
r6142 r6151 142 142 if( likely( this->terrain != NULL)) 143 143 { 144 Quadtree* q = this->terrain->ssp->getQuadtree();144 Quadtree* q = dynamic_cast<Terrain*>(this->terrain)->ssp->getQuadtree(); 145 145 146 146 // QuadtreeNode* n = q->getQuadtreeFromPosition(this->player->getAbsCoor()); -
trunk/src/story_entities/world.cc
r6150 r6151 28 28 #include "camera.h" 29 29 #include "environment.h" 30 #include "terrain.h" 30 31 31 32 #include "test_entity.h" … … 405 406 ErrorMessage World::start() 406 407 { 407 this->bQuitOrxonox = false; 408 this->bQuitCurrentGame = false; 408 this->bQuitWorld = false; 409 409 this->mainLoop(); 410 410 } … … 418 418 { 419 419 PRINTF(3)("World::stop() - got stop signal\n"); 420 this->bQuit CurrentGame= true;420 this->bQuitWorld= true; 421 421 } 422 422 … … 669 669 PRINTF(3)("World::mainLoop() - Entering main loop\n"); 670 670 671 while( !this->bQuitOrxonox && !this->bQuitCurrentGame) /* @todo implement pause */671 while(!this->bQuitWorld) /* @todo implement pause */ 672 672 { 673 673 ++this->cycle; … … 676 676 // Process input 677 677 this->handleInput (); 678 if( this->bQuit CurrentGame || this->bQuitOrxonox)678 if( this->bQuitWorld) 679 679 break; 680 680 // Process time -
trunk/src/story_entities/world.h
r6150 r6151 7 7 #define _WORLD_H 8 8 9 #include "stdincl.h" 10 #include "comincl.h" 9 #include "sdlincl.h" 11 10 #include "story_entity.h" 12 #include "p_node.h"13 11 #include "object_manager.h" 14 15 12 16 13 class WorldEntity; … … 52 49 virtual void releaseLoadScreen(); 53 50 54 /* command node functions */55 bool command (Command* cmd);56 57 51 /* interface to world */ 58 52 void spawn (WorldEntity* entity); … … 84 78 char* path; //!< The file from which this world is loaded 85 79 86 bool showPNodes; //!< if the PNodes should be visible. 87 bool showBV; //!< if the Bounding Volumes should be visible. 80 // FLAGS // 81 bool bQuitWorld; //!< quit only the current game and return to menu 82 bool bPause; //!< pause mode 88 83 84 bool showPNodes; //!< if the PNodes should be visible. 85 bool showBV; //!< if the Bounding Volumes should be visible. 86 87 // TIMING // 89 88 Uint32 lastFrame; //!< last time of frame 90 89 Uint32 cycle; //!< The cycle we are in (starts with 0 and rises with every frame) … … 93 92 float speed; //!< how fast the game flows 94 93 double gameTime; //!< this is where the game time is saved 95 bool bQuitOrxonox; //!< quit this application96 bool bQuitCurrentGame; //!< quit only the current game and return to menu97 bool bPause; //!< pause mode98 94 99 ObjectManager objectManager; //!< The ObjectManager of this World. 95 // INTERNAL ENGINES 96 ObjectManager objectManager; //!< The ObjectManager of this World. 97 Shell* shell; 98 OggPlayer* music; 100 99 101 100 GLMenuImageScreen* glmis; //!< The Level-Loader Display 102 101 103 Shell* shell;104 OggPlayer* music;105 102 106 // IMPORTANT WORLD-ENTITIES103 // IMPORTANT ENTITIES 107 104 Camera* localCamera; //!< The current Camera 105 Player* localPlayer; //!< The Player, you fly through the level. 106 108 107 WorldEntity* sky; //!< The Environmental Heaven of orxonox @todo insert this to environment insted 109 108 Terrain* terrain; //!< The Terrain of the World. 110 111 Player* localPlayer; //!< The Player, you fly through the level.112 109 }; 113 110 -
trunk/src/util/loading/game_loader.cc
r6150 r6151 151 151 case DEBUG_CAMPAIGN_0: 152 152 { 153 // FIXME154 153 /* Campaign* debugCampaign = new Campaign(); 155 154
Note: See TracChangeset
for help on using the changeset viewer.