QTfrontend/campaign.cpp
branchwebgl
changeset 9236 ddd675825672
parent 9219 0a4b6bb69f99
child 9272 6fa30e491b37
equal deleted inserted replaced
9201:bcf2f7798ebb 9236:ddd675825672
    51     return campfile.value(QString("Mission %1/Script").arg(mNum)).toString();
    51     return campfile.value(QString("Mission %1/Script").arg(mNum)).toString();
    52 }
    52 }
    53 
    53 
    54 QString getCampaignImage(QString campaign, unsigned int mNum)
    54 QString getCampaignImage(QString campaign, unsigned int mNum)
    55 {
    55 {
    56 	return getCampaignScript(campaign,mNum).replace(QString(".lua"),QString(".png"));
    56     return getCampaignScript(campaign,mNum).replace(QString(".lua"),QString(".png"));
    57 }
    57 }
    58 
    58 
    59 QString getCampaignMissionName(QString campaign, unsigned int mNum) 
    59 QString getCampaignMissionName(QString campaign, unsigned int mNum)
    60 {
    60 {
    61 	return getCampaignScript(campaign,mNum).replace(QString(".lua"),QString(""));
    61     return getCampaignScript(campaign,mNum).replace(QString(".lua"),QString(""));
    62 }
    62 }
    63 
    63