* Draw the Mission Name or the Map Name * Drawing at 0xB5 will cause the Mission Name to be drawn. * * @param pDrawAtY */
| 4115 | * @param pDrawAtY |
| 4116 | */ |
| 4117 | void cFodder::Briefing_Draw_Mission_Title(int16 pDrawAtY) { |
| 4118 | |
| 4119 | // Draw MISSION xx |
| 4120 | { |
| 4121 | std::stringstream Mission; |
| 4122 | Mission << "MISSION "; |
| 4123 | mString_GapCharID = 0x25; |
| 4124 | Mission << tool_StripLeadingZero(std::to_string(mGame_Data.mMission_Number)); |
| 4125 | |
| 4126 | String_Print_Large(Mission.str(), true, 0); |
| 4127 | } |
| 4128 | |
| 4129 | // Draw Mission Name, or Map |
| 4130 | { |
| 4131 | std::string Title; |
| 4132 | |
| 4133 | if (pDrawAtY == 0xB5) { |
| 4134 | Title = mGame_Data.mMission_Current->GetName(); |
| 4135 | |
| 4136 | pDrawAtY += PLATFORM_BASED(0, 0x16); |
| 4137 | |
| 4138 | } |
| 4139 | else { |
| 4140 | Title = mGame_Data.mPhase_Current->GetName(); |
| 4141 | } |
| 4142 | |
| 4143 | String_Print_Large(Title, true, pDrawAtY); |
| 4144 | } |
| 4145 | } |
| 4146 | |
| 4147 | void cFodder::Campaign_Select_DrawMenu(const char* pTitle, const char* pSubTitle) { |
| 4148 | size_t YOffset = PLATFORM_BASED(0, 25); |
nothing calls this directly
no test coverage detected