Changeset 6368 in orxonox.OLD for branches/network/src/story_entities/campaign.cc
- Timestamp:
- Dec 31, 2005, 1:40:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/campaign.cc
r6360 r6368 52 52 53 53 54 /** 55 * initializes the class 56 */ 54 57 ErrorMessage Campaign::init() 55 58 { … … 57 60 } 58 61 59 /** 60 \brief loads the Parameters of a Campaign 61 * @param root: The XML-element to load from 62 63 /** 64 * loads the Parameters of a Campaign 65 * @param root: The XML-element to load from 62 66 */ 63 67 void Campaign::loadParams(const TiXmlElement* root) … … 72 76 } 73 77 74 /** 75 \brief loads a WorldList 76 * @param root: the XML-element to load from 78 79 /** 80 * loads a WorldList 81 * @param root: the XML-element to load from 77 82 */ 78 83 void Campaign::loadWorldListParams(const TiXmlElement* root) … … 93 98 } 94 99 100 /** 101 * starts the campaing 102 */ 95 103 ErrorMessage Campaign::start() 96 104 { … … 98 106 } 99 107 100 //! @todo boky -> fix it 108 109 /** 110 * starts the campaing with a specific ID 111 * @param storyID the id of the StoryEntity 112 */ 101 113 ErrorMessage Campaign::start(int storyID = 0) 102 114 { … … 127 139 se = this->getStoryEntity(nextWorldID); 128 140 this->currentEntity = se; 129 if( ( nextWorldID == WORLD_ID_GAMEEND) || ( se == NULL) )141 if( ( nextWorldID == WORLD_ID_GAMEEND) || ( se == NULL) ) 130 142 { 131 143 PRINTF(4)("Quitting campaing story loop\n"); … … 148 160 149 161 162 /** 163 * pauses the campaing 164 */ 150 165 ErrorMessage Campaign::pause() 151 166 {
Note: See TracChangeset
for help on using the changeset viewer.