| 337 | } |
| 338 | |
| 339 | std::shared_ptr<cPhase> cScriptingEngine::phaseCreate() { |
| 340 | auto phase = std::make_shared<cPhase>(); |
| 341 | getMission()->mPhases.push_back(phase); |
| 342 | ++g_Fodder->mGame_Data.mMission_Phases_Remaining; |
| 343 | |
| 344 | mapSave(); |
| 345 | g_Fodder->mCustom_Mode = eCustomMode_Set; |
| 346 | g_Fodder->mGame_Data.Phase_Next(); |
| 347 | return phase; |
| 348 | } |
| 349 | |
| 350 | std::shared_ptr<cMission> cScriptingEngine::missionCreate() { |
| 351 | auto mission = std::make_shared<cMission>(); |
nothing calls this directly
no test coverage detected