equal
deleted
inserted
replaced
355 } |
355 } |
356 |
356 |
357 void HWGame::StartTraining(const QString & file) |
357 void HWGame::StartTraining(const QString & file) |
358 { |
358 { |
359 gameType = gtTraining; |
359 gameType = gtTraining; |
360 training = datadir->absolutePath() + "/Missions/Training/" + file + ".lua"; |
360 training = "Missions/Training/" + file + ".lua"; |
361 demo.clear(); |
361 demo.clear(); |
362 Start(); |
362 Start(); |
363 SetGameState(gsStarted); |
363 SetGameState(gsStarted); |
364 } |
364 } |
365 |
365 |
366 void HWGame::StartCampaign(const QString & file) |
366 void HWGame::StartCampaign(const QString & file) |
367 { |
367 { |
368 gameType = gtCampaign; |
368 gameType = gtCampaign; |
369 campaign = datadir->absolutePath() + "/Missions/Campaign/" + file + ".lua"; |
369 campaign = "Missions/Campaign/" + file + ".lua"; |
370 demo.clear(); |
370 demo.clear(); |
371 Start(); |
371 Start(); |
372 SetGameState(gsStarted); |
372 SetGameState(gsStarted); |
373 } |
373 } |
374 |
374 |