| 9985 | } |
| 9986 | |
| 9987 | void cFodder::Service_Draw_Troop_And_Rank(int16 pRecruitID, int16 pRank) { |
| 9988 | |
| 9989 | mService_Draw_List.emplace_back(PLATFORM_BASED(9, 0), PLATFORM_BASED(0, 1), 0x60, mVideo_Draw_PosY); |
| 9990 | mService_Draw_List.emplace_back(2, pRank, 0x64, mVideo_Draw_PosY + 4); |
| 9991 | mService_Draw_List.emplace_back(2, pRank, 0xCC, mVideo_Draw_PosY + 4); |
| 9992 | |
| 9993 | //seg003:3237 |
| 9994 | const char* si = mRecruits[pRecruitID].mName; |
| 9995 | std::stringstream tmpString; |
| 9996 | |
| 9997 | for (int16 cx = 5; cx >= 0; --cx) { |
| 9998 | // Break on space |
| 9999 | if (*si == 0x20) |
| 10000 | break; |
| 10001 | |
| 10002 | tmpString << *si++; |
| 10003 | } |
| 10004 | |
| 10005 | Service_Draw_String(tmpString.str(), true, (size_t) mVideo_Draw_PosY + 6); |
| 10006 | } |
| 10007 | |
| 10008 | void cFodder::Service_Promotion_Check() { |
| 10009 | auto* Troop = &mGame_Data.mSoldiers_Allocated[0]; |
nothing calls this directly
no outgoing calls
no test coverage detected