Changeset 6512 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Jan 17, 2006, 10:01:07 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/campaign.cc
r6424 r6512 61 61 void Campaign::loadParams(const TiXmlElement* root) 62 62 { 63 static_cast<StoryEntity*>(this)->loadParams(root);63 StoryEntity::loadParams(root); 64 64 65 65 PRINTF(4)("Loaded Campaign specific stuff\n"); -
trunk/src/story_entities/campaign.h
r6424 r6512 23 23 virtual ~Campaign (); 24 24 25 v oid loadParams(const TiXmlElement* root);25 virtual void loadParams(const TiXmlElement* root); 26 26 27 27 virtual bool start(); -
trunk/src/story_entities/campaign_data.h
r6424 r6512 21 21 virtual ~CampaignData(); 22 22 23 v oid loadParams(const TiXmlElement* root);23 virtual void loadParams(const TiXmlElement* root); 24 24 25 25 void loadData(const TiXmlElement* root); -
trunk/src/story_entities/dedicated_server_world.cc
r6424 r6512 63 63 void DedicatedServerWorld::loadParams(const TiXmlElement* root) 64 64 { 65 static_cast<GameWorld*>(this)->loadParams(root);65 GameWorld::loadParams(root); 66 66 67 67 PRINTF(4)("Loaded DedicatedServerWorld specific stuff\n"); -
trunk/src/story_entities/dedicated_server_world.h
r6424 r6512 25 25 virtual ~DedicatedServerWorld (); 26 26 27 v oid loadParams(const TiXmlElement* root);27 virtual void loadParams(const TiXmlElement* root); 28 28 29 29 private: -
trunk/src/story_entities/game_world.cc
r6498 r6512 110 110 void GameWorld::loadParams(const TiXmlElement* root) 111 111 { 112 static_cast<StoryEntity*>(this)->loadParams(root);112 StoryEntity::loadParams(root); 113 113 114 114 LoadParam(root, "path", this, GameWorld, setPath) -
trunk/src/story_entities/game_world.h
r6498 r6512 29 29 virtual ~GameWorld (); 30 30 31 v oid loadParams(const TiXmlElement* root);31 virtual void loadParams(const TiXmlElement* root); 32 32 33 33 /* functions from story-entity */ -
trunk/src/story_entities/multi_player_world.cc
r6498 r6512 68 68 void MultiPlayerWorld::loadParams(const TiXmlElement* root) 69 69 { 70 static_cast<GameWorld*>(this)->loadParams(root);70 GameWorld::loadParams(root); 71 71 72 72 PRINTF(4)("Creating a MultiPlayerWorld\n"); -
trunk/src/story_entities/multi_player_world.h
r6498 r6512 25 25 virtual ~MultiPlayerWorld (); 26 26 27 v oid loadParams(const TiXmlElement* root);27 virtual void loadParams(const TiXmlElement* root); 28 28 29 29 void debug(); -
trunk/src/story_entities/single_player_world.cc
r6424 r6512 71 71 void SinglePlayerWorld::loadParams(const TiXmlElement* root) 72 72 { 73 static_cast<GameWorld*>(this)->loadParams(root);73 GameWorld::loadParams(root); 74 74 75 75 PRINTF(4)("Loaded SinglePlayerWorld specific stuff\n"); -
trunk/src/story_entities/single_player_world.h
r6424 r6512 27 27 virtual ~SinglePlayerWorld (); 28 28 29 v oid loadParams(const TiXmlElement* root);29 virtual void loadParams(const TiXmlElement* root); 30 30 }; 31 31 -
trunk/src/story_entities/story_entity.cc
r6424 r6512 57 57 void StoryEntity::loadParams(const TiXmlElement* root) 58 58 { 59 static_cast<BaseObject*>(this)->loadParams(root);59 BaseObject::loadParams(root); 60 60 61 61 LoadParam(root, "identifier", this, StoryEntity, setStoryID) -
trunk/src/story_entities/story_entity.h
r6424 r6512 30 30 virtual ~StoryEntity (); 31 31 32 v oid loadParams(const TiXmlElement* root);32 virtual void loadParams(const TiXmlElement* root); 33 33 34 34 /* initialisation and loading */
Note: See TracChangeset
for help on using the changeset viewer.