| 16499 | } |
| 16500 | |
| 16501 | void cFodder::Vehicle_Target_Set() { |
| 16502 | |
| 16503 | if (Mouse_Button_Right_Toggled() < 0) |
| 16504 | return; |
| 16505 | |
| 16506 | sSprite* Vehicle = mSquad_CurrentVehicle; |
| 16507 | Vehicle->field_54 = -1; |
| 16508 | |
| 16509 | int16 PosX = mMouseX; |
| 16510 | int16 PosY = mMouseY; |
| 16511 | PosX += mCameraX >> 16; |
| 16512 | PosY += mCameraY >> 16; |
| 16513 | PosX -= 0x10; |
| 16514 | |
| 16515 | if (!PosX) |
| 16516 | PosX = 1; |
| 16517 | |
| 16518 | PosY -= 8; |
| 16519 | Vehicle->field_2E = PosX; |
| 16520 | Vehicle->field_30 = PosY; |
| 16521 | } |
| 16522 | |
| 16523 | void cFodder::String_CalculateWidth(int32 pPosX, const uint8* pWidths, const std::string& pString) { |
| 16524 |
nothing calls this directly
no outgoing calls
no test coverage detected