Changeset 6366 in orxonox.OLD for branches/network/src
- Timestamp:
- Dec 31, 2005, 1:13:27 PM (19 years ago)
- Location:
- branches/network/src/story_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.cc
r6361 r6366 454 454 delete this->glmis; 455 455 } 456 457 458 /**459 * this returns the current game time460 * @returns elapsed game time461 */462 double GameWorld::getGameTime()463 {464 return this->gameTime;465 }466 467 456 468 457 … … 695 684 } 696 685 686 /** 687 * sets the track path of this world 688 * @param name the name of the path 689 */ 697 690 void GameWorld::setPath( const char* name) 698 691 { … … 711 704 } 712 705 713 const char* GameWorld::getPath( void)714 {715 return path;716 } -
branches/network/src/story_entities/game_world.h
r6365 r6366 35 35 void loadParams(const TiXmlElement* root); 36 36 37 double getGameTime();38 37 39 38 /* classes from story-entity */ … … 55 54 virtual void spawn (WorldEntity* entity); 56 55 57 /** @param speed sets the speed of the Game */ 56 57 /** this returns the current game time @returns elapsed game time */ 58 inline double getGameTime() { return this->gameTime; } 59 /** sets the game speed @param speed speed of the Game */ 58 60 inline void setSpeed(float speed) { this->speed = speed; }; 59 const char* getPath(); 61 /** returns the track path of this world @returns the track path */ 62 const char* getPath() { return path; } 60 63 void setPath( const char* name); 61 64 65 /** toggles the PNode visibility in the world (drawn as boxes) */ 62 66 void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; }; 67 /** toggles the bounding volume (BV) visibility */ 63 68 void toggleBVVisibility() { this->showBV = !this->showBV; }; 64 69 -
branches/network/src/story_entities/multi_player_world.cc
r6365 r6366 23 23 #include "fast_factory.h" 24 24 #include "factory.h" 25 26 27 #include "shell_command.h" 28 #include "resource_manager.h" 29 #include "state.h" 30 31 #include "game_loader.h" 32 #include "glmenu_imagescreen.h" 33 34 #include "p_node.h" 35 #include "world_entity.h" 36 #include "player.h" 37 #include "camera.h" 38 #include "environment.h" 39 #include "terrain.h" 40 41 25 42 26 43 … … 92 109 } 93 110 111 112 113 114 /** 115 * loads the GameWorld by initializing all resources, and set their default values. 116 */ 117 ErrorMessage MultiPlayerWorld::load() 118 {} -
branches/network/src/story_entities/multi_player_world.h
r6365 r6366 26 26 void loadParams(const TiXmlElement* root); 27 27 28 virtual ErrorMessage load(); 28 29 29 30 private:
Note: See TracChangeset
for help on using the changeset viewer.