Changeset 6409 in orxonox.OLD for branches/network
- Timestamp:
 - Jan 4, 2006, 4:18:52 PM (20 years ago)
 - Location:
 - branches/network/src/story_entities
 - Files:
 - 
          
- 6 edited
 
- 
          game_world.cc (modified) (1 diff)
 - 
          multi_player_world.cc (modified) (3 diffs)
 - 
          multi_player_world.h (modified) (1 diff)
 - 
          multi_player_world_data.cc (modified) (1 diff)
 - 
          single_player_world.cc (modified) (2 diffs)
 - 
          story_entity.cc (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/network/src/story_entities/game_world.cc
r6408 r6409 225 225 /** 226 226 * ends the pause Phase 227 */227 */ 228 228 bool GameWorld::resume() 229 229 {  - 
        
branches/network/src/story_entities/multi_player_world.cc
r6408 r6409 15 15 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD 16 16 17 17 18 #include "multi_player_world.h" 18 19 #include "multi_player_world_data.h" … … 20 21 #include "factory.h" 21 22 #include "load_param.h" 23 24 #include "network_manager.h" 22 25 23 26 … … 66 69 67 70 71 /** 72 * synchronizes the network since this is a network world 73 * 74 * this function overrides the synchrinize from the GameWorld 75 */ 76 void MultiPlayerWorld::synchronize() 77 { 78 NetworkManager::getInstance()->synchronize(); 79 } 68 80 69 70 71  - 
        
branches/network/src/story_entities/multi_player_world.h
r6408 r6409 26 26 27 27 void loadParams(const TiXmlElement* root); 28 29 protected: 30 virtual void synchronize(); 28 31 }; 29 32  - 
        
branches/network/src/story_entities/multi_player_world_data.cc
r6404 r6409 128 128 } 129 129 130 131 130 /* load the WorldEntities */ 132 131 element = root->FirstChildElement("WorldEntities"); 133 132 if( element == NULL) 133 { 134 134 PRINTF(1)("NetworkWorld is missing 'WorldEntities'\n"); 135 } 135 136 else 136 137 { 137 138 element = element->FirstChildElement(); 138 139 139 PRINTF(4)("Loading NetworkWorldEntities\n");140 140 while( element != NULL) 141 141 {  - 
        
branches/network/src/story_entities/single_player_world.cc
r6408 r6409 15 15 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD 16 16 17 17 18 #include "single_player_world.h" 18 19 #include "single_player_world_data.h" … … 30 31 31 32 using namespace std; 33 32 34 33 35 //! This creates a Factory to fabricate a SinglePlayerWorld  - 
        
branches/network/src/story_entities/story_entity.cc
r6386 r6409 17 17 18 18 19 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD 20 21 19 22 #include "story_entity.h" 20 23 21 24 #include "load_param.h" 25 22 26 23 27 using namespace std;  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






