Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8677 in orxonox.OLD for branches/gui/src/lib


Ignore:
Timestamp:
Jun 21, 2006, 4:49:06 PM (18 years ago)
Author:
bensch
Message:

new gui implementing work

Location:
branches/gui/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/data/data_tank.h

    r7370 r8677  
    2323
    2424    /** initializes the DataTank to be able to load the data */
    25     virtual ErrorMessage init() {}
     25    virtual ErrorMessage init() { return ErrorMessage(); }
    2626    /** loads the data into the DataTank @param root is the xml root parameter for for loadParams() connection */
    27     virtual ErrorMessage loadData(const TiXmlElement* root = NULL) {}
     27    virtual ErrorMessage loadData(const TiXmlElement* root = NULL) { return ErrorMessage(); }
    2828    /** unloads the data again from the DataTank */
    29     virtual ErrorMessage unloadData() {}
     29    virtual ErrorMessage unloadData() { return ErrorMessage(); }
    3030};
    3131
  • branches/gui/src/lib/util/loading/game_loader.cc

    r7868 r8677  
    7373  this->subscribeEvent(ES_GAME, KeyMapper::PEV_NEXT_WORLD);
    7474  this->subscribeEvent(ES_GAME, KeyMapper::PEV_PREVIOUS_WORLD);
     75
     76  return ErrorMessage();
    7577}
    7678
     
    9193    this->currentCampaign = this->fileToCampaign(campaignName);
    9294  }
     95
     96  return ErrorMessage();
    9397}
    9498
     
    109113    this->currentCampaign = this->fileToCampaign(campaignName);
    110114  }
     115
     116  return ErrorMessage();
    111117}
    112118
     
    147153      }
    148154  }
     155
     156  return ErrorMessage();
    149157}
    150158
     
    160168    this->currentCampaign->start();
    161169  }
     170
     171  return ErrorMessage();
    162172}
    163173
     
    191201  if(this->currentCampaign != NULL)
    192202    this->currentCampaign->pause();
     203
     204  return ErrorMessage();
    193205}
    194206
     
    205217  if(this->currentCampaign != NULL)
    206218    this->currentCampaign->resume();
     219
     220  return ErrorMessage();
    207221}
    208222
Note: See TracChangeset for help on using the changeset viewer.