QTfrontend/campaign.h
branchspacecampaign
changeset 9292 187ce630dddc
parent 9290 478aa681e702
child 9998 736015b847e3
equal deleted inserted replaced
9290:478aa681e702 9292:187ce630dddc
    18 
    18 
    19 #ifndef CAMPAIGN_H
    19 #ifndef CAMPAIGN_H
    20 #define CAMPAIGN_H
    20 #define CAMPAIGN_H
    21 
    21 
    22 #include <QString>
    22 #include <QString>
    23 #include <QStringList>
       
    24 
    23 
    25 class MissionInfo
    24 class MissionInfo
    26 {
    25 {
    27 	public:
    26 	public:
    28 		QString name;
    27 		QString name;
    29 		QString description;
    28 		QString description;
    30 		QString script;
    29 		QString script;
    31 		QString image;
    30 		QString image;
    32 };
    31 };
    33 
    32 
    34 QStringList getCampMissionList(QString & campaign);
    33 QList<MissionInfo> getCampMissionList(QString & campaignName, QString & teamName);
    35 unsigned int getCampProgress(QString & teamName, QString & campName);
       
    36 QString getCampaignScript(QString campaign, unsigned int mNum);
       
    37 QString getCampaignImage(QString campaign, unsigned int mNum);
       
    38 QString getCampaignMissionName(QString campaign, unsigned int mNum);
       
    39 QMap<QString,QString> getUnlockedMissions2(QString & campaignName, QString & teamName);
       
    40 QStringList getCampMissionList2(QString & campaignName, QString & teamName);
       
    41 QStringList getDescriptions(QString & campaignName, QString & teamName);
       
    42 QStringList getImages(QString & campaignName, QString & teamName);
       
    43 QList<MissionInfo> getCampMissionList3(QString & campaignName, QString & teamName);
       
    44 
    34 
    45 #endif
    35 #endif