Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 31, 2005, 1:40:55 PM (18 years ago)
Author:
patrick
Message:

network: digging deeper to bring more sense into the framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/campaign.cc

    r6360 r6368  
    5252
    5353
     54/**
     55 *  initializes the class
     56 */
    5457ErrorMessage Campaign::init()
    5558{
     
    5760}
    5861
    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
    6266 */
    6367void Campaign::loadParams(const TiXmlElement* root)
     
    7276}
    7377
    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
    7782 */
    7883void Campaign::loadWorldListParams(const TiXmlElement* root)
     
    9398}
    9499
     100/**
     101 *  starts the campaing
     102 */
    95103ErrorMessage Campaign::start()
    96104{
     
    98106}
    99107
    100 //! @todo boky -> fix it
     108
     109/**
     110 *  starts the campaing with a specific ID
     111 * @param storyID the id of the StoryEntity
     112 */
    101113ErrorMessage Campaign::start(int storyID = 0)
    102114{
     
    127139      se = this->getStoryEntity(nextWorldID);
    128140      this->currentEntity = se;
    129       if( ( nextWorldID == WORLD_ID_GAMEEND) ||( se == NULL) )
     141      if( ( nextWorldID == WORLD_ID_GAMEEND) || ( se == NULL) )
    130142        {
    131143          PRINTF(4)("Quitting campaing story loop\n");
     
    148160
    149161
     162/**
     163 *  pauses the campaing
     164 */
    150165ErrorMessage Campaign::pause()
    151166{
Note: See TracChangeset for help on using the changeset viewer.