| 4501 | } |
| 4502 | |
| 4503 | void cFodder::Campaign_Select_File_Cycle(const char* pTitle, const char* pSubTitle) { |
| 4504 | static int16 Timedown = 0; |
| 4505 | |
| 4506 | if (mPhase_InterruptTicks >= 3) { |
| 4507 | mPhase_InterruptTicks = 0; |
| 4508 | Mission_Sprites_Handle(); |
| 4509 | Sound_Tick(); |
| 4510 | if(mInterruptCallback) |
| 4511 | mInterruptCallback(); |
| 4512 | } |
| 4513 | |
| 4514 | if (mSurface->isPaletteAdjusting()) |
| 4515 | mSurface->palette_FadeTowardNew(); |
| 4516 | |
| 4517 | |
| 4518 | if (Timedown) |
| 4519 | --Timedown; |
| 4520 | |
| 4521 | if (mMouse_Button_Left_Toggle && !Timedown) { |
| 4522 | Vehicle_Input_Handle(); |
| 4523 | |
| 4524 | mMouse_Button_Left_Toggle = 0; |
| 4525 | mSprites[0].field_57 = -1; |
| 4526 | mSprites[0].field_2E = mSquad_Leader->field_26 + 10; |
| 4527 | mSprites[0].field_30 = mSquad_Leader->field_28 - 18; |
| 4528 | |
| 4529 | Timedown = 10; |
| 4530 | } |
| 4531 | |
| 4532 | if (mPhase_Aborted) |
| 4533 | GUI_Button_Load_Exit(); |
| 4534 | |
| 4535 | if (mMouse_Button_Left_Toggle) |
| 4536 | GUI_Handle_Element_Mouse_Check(mGUI_Elements); |
| 4537 | |
| 4538 | GUI_Button_Load_MouseWheel(); |
| 4539 | } |
| 4540 | |
| 4541 | void cFodder::Campaign_Select_File_Loop(const char* pTitle, const char* pSubTitle) { |
| 4542 |
no test coverage detected