Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6096 in orxonox.OLD for branches/network/src/util


Ignore:
Timestamp:
Dec 14, 2005, 2:12:30 AM (19 years ago)
Author:
patrick
Message:

network: server/client mode loading

Location:
branches/network/src/util/loading
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/util/loading/game_loader.cc

    r6064 r6096  
    122122 * this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns
    123123 */
    124 ErrorMessage GameLoader::loadNetworkCampaign(const char* fileName, int nodeState)
     124ErrorMessage GameLoader::loadNetworkCampaign(const char* fileName)
    125125{
    126126  ErrorMessage errorCode;
     
    128128  if (campaignName)
    129129  {
    130     this->currentCampaign = this->fileToNetworkCampaign(campaignName, nodeState);
     130    this->currentCampaign = this->fileToNetworkCampaign(campaignName);
    131131    delete[] campaignName;
    132132  }
     
    296296 *  this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns
    297297 */
    298 Campaign* GameLoader::fileToNetworkCampaign(const char* fileName, int nodeState)
     298Campaign* GameLoader::fileToNetworkCampaign(const char* fileName)
    299299{
    300300  /* do not entirely load the campaign. just the current world
  • branches/network/src/util/loading/game_loader.h

    r6063 r6096  
    5555  ErrorMessage loadCampaign(const char* name);
    5656  ErrorMessage loadDebugCampaign(Uint32 campaignID);
    57   ErrorMessage loadNetworkCampaign(const char* fileName, int nodeState);
     57  ErrorMessage loadNetworkCampaign(const char* fileName);
    5858
    5959  void nextLevel();
     
    6767
    6868  Campaign* fileToCampaign(const char* name);
    69   Campaign* fileToNetworkCampaign(const char* fileName, int nodeState);
     69  Campaign* fileToNetworkCampaign(const char* fileName);
    7070
    7171
Note: See TracChangeset for help on using the changeset viewer.