| 10269 | } |
| 10270 | |
| 10271 | void cFodder::Briefing_Draw_With() { |
| 10272 | std::stringstream With; |
| 10273 | |
| 10274 | With << "WITH "; |
| 10275 | With << tool_StripLeadingZero(std::to_string(mGame_Data.mGamePhase_Data.mSoldiers_Available)); |
| 10276 | |
| 10277 | if (mGame_Data.mGamePhase_Data.mSoldiers_Available == 1) { |
| 10278 | With << " SOLDIER YOU MUST"; |
| 10279 | } |
| 10280 | else { |
| 10281 | With << " SOLDIERS YOU MUST"; |
| 10282 | } |
| 10283 | |
| 10284 | String_Print_Small(With.str(), 0x64); |
| 10285 | With.str(""); |
| 10286 | |
| 10287 | if (!mGame_Data.mRecruits_Available_Count) { |
| 10288 | With << "THIS IS YOUR LAST CHANCE"; |
| 10289 | } |
| 10290 | else { |
| 10291 | With << mGame_Data.mRecruits_Available_Count; |
| 10292 | if (mGame_Data.mRecruits_Available_Count == 1) |
| 10293 | With << " RECRUIT REMAINING"; |
| 10294 | else |
| 10295 | With << " RECRUITS REMAINING"; |
| 10296 | } |
| 10297 | |
| 10298 | String_Print_Small(With.str(), 0xA8); |
| 10299 | String_Print_Large("GO FOR IT", false, 0xB8); |
| 10300 | } |
| 10301 | |
| 10302 | void cFodder::Briefing_DrawBox(int16 pX, int16 pY, int16 pWidth, int16 pHeight, uint8 pColor) { |
| 10303 | pX += 0x10; |
nothing calls this directly
no test coverage detected