| 1625 | } |
| 1626 | |
| 1627 | void cFodder::GUI_Prepare_Button_Squad() { |
| 1628 | sGUI_Element* Element = mGUI_NextFreeElement; |
| 1629 | |
| 1630 | Element->field_0 = &cFodder::GUI_Button_NoAction; |
| 1631 | Element->mX = 0; |
| 1632 | Element->mY = mGUI_Loop_Draw_Y; |
| 1633 | |
| 1634 | Element->mWidth = 0x2F; |
| 1635 | Element->mHeight = 0x0E; |
| 1636 | |
| 1637 | if (mGUI_Loop_Squad_Current != mSquad_Selected) { |
| 1638 | Element->mMouseInsideFuncPtr = mGUI_Handle_Button_SelectSquad_Array[mGUI_Loop_Squad_Current]; |
| 1639 | } |
| 1640 | else { |
| 1641 | Element->mMouseInsideFuncPtr = &cFodder::GUI_Handle_Button_SplitSquad; |
| 1642 | } |
| 1643 | |
| 1644 | ++Element; |
| 1645 | GUI_ClearElement(Element); |
| 1646 | } |
| 1647 | |
| 1648 | void cFodder::GUI_Handle_Button_SelectSquad_0() { |
| 1649 | Squad_Select(0); |
nothing calls this directly
no outgoing calls
no test coverage detected