Changeset 3225 in orxonox.OLD for orxonox/trunk/src/game_loader.cc
- Timestamp:
- Dec 20, 2004, 12:23:58 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/game_loader.cc
r3222 r3225 42 42 43 43 44 /** 45 \brief this class is a singleton class 46 \returns an instance of itself 47 48 if you are unsure about singleton classes, check the theory out on the internet :) 49 */ 44 50 GameLoader* GameLoader::getInstance() 45 51 { … … 57 63 58 64 65 /** 66 \brief reads a campaign definition file into a campaign class 67 \param filename to be loaded 68 \returns the loaded campaign 69 70 this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns 71 */ 59 72 ErrorMessage GameLoader::loadCampaign(char* name) 60 73 { … … 64 77 } 65 78 79 80 /** 81 \brief loads a debug campaign for test purposes only. 82 \param the identifier of the campaign. 83 \returns error message if not able to do so. 84 */ 66 85 ErrorMessage GameLoader::loadDebugCampaign(Uint32 campaignID) 67 86 { … … 117 136 } 118 137 119 ErrorMessage GameLoader::free() 138 /** 139 \brief release the mem 140 */ 141 ErrorMessage GameLoader::destroy() 120 142 {} 121 143 122 144 145 /** 146 \brief reads a campaign definition file into a campaign class 147 \param filename to be loaded 148 \returns the loaded campaign 149 150 this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns 151 */ 123 152 Campaign* GameLoader::fileToCampaign(char *name) 124 153 { … … 133 162 \brief handle keyboard commands 134 163 \param cmd: the command to handle 135 \return true if the command was handled by the system164 \returns true if the command was handled by the system 136 165 */ 137 166 bool GameLoader::worldCommand (Command* cmd) … … 172 201 } 173 202 203 204 /* 205 \brief this changes to the next level 206 */ 174 207 void GameLoader::nextLevel() 175 208 { … … 178 211 } 179 212 213 214 /* 215 \brief change to the previous level - not implemented 216 217 this propably useless 218 */ 180 219 void GameLoader::previousLevel() 181 220 {
Note: See TracChangeset
for help on using the changeset viewer.