equal
deleted
inserted
replaced
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 |