Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 2, 2006, 11:00:14 PM (20 years ago)
Author:
patrick
Message:

network: much more work on the StoryEntity functions and reimplementations of the DataTanks of each StoryEntity

File:
1 edited

Legend:

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

    r6386 r6387  
    2525
    2626    void loadParams(const TiXmlElement* root);
    27     void loadWorldListParams(const TiXmlElement* root);
    2827
    29     virtual ErrorMessage init();
    30     virtual ErrorMessage start();
    31     virtual ErrorMessage pause();
    32     virtual ErrorMessage resume();
    33     virtual ErrorMessage stop();
     28    virtual bool start();
     29    virtual bool stop();
     30    virtual bool pause();
     31    virtual bool resume();
     32    virtual void run();
    3433
    3534    void switchToNextLevel();
     
    4443
    4544//! A class that contains the data of the Campaign object
    46 class CampaignData : virtual public BaseObject
     45class CampaignData : public BaseObject
    4746{
    4847
    4948  public:
    50     CampaignData();
     49    CampaignData(const TiXmlElement* root);
    5150    virtual ~CampaignData();
     51
     52    void loadParams(const TiXmlElement* root);
    5253
    5354    void addStoryEntity(StoryEntity* se);
     
    5859
    5960  private:
     61    void loadParamsWorldList(const TiXmlElement* root);
     62
     63
     64  private:
    6065    StoryEntity*                  currentEntity;                //!< reference to the currently used StoryEntity
    6166    std::list<StoryEntity*>       storyEntities;                //!< list of story entities
Note: See TracChangeset for help on using the changeset viewer.