| 1565 | } |
| 1566 | |
| 1567 | void cFodder::GUI_Sidebar_Prepare(int16 pSquadNumber, int16 pData4) { |
| 1568 | |
| 1569 | GUI_Loop_Draw_Prepare(pSquadNumber, pData4); |
| 1570 | |
| 1571 | word_3AC2D[pSquadNumber] = pData4; |
| 1572 | Squad_Troops_Count(); |
| 1573 | |
| 1574 | if (!mSquads_TroopCount[mGUI_Loop_Squad_Current]) |
| 1575 | return; |
| 1576 | |
| 1577 | GUI_Sidebar_SplitButton_Draw(); |
| 1578 | GUI_Prepare_Button_Squad(); |
| 1579 | |
| 1580 | Mission_Set_Initial_Weapon(); |
| 1581 | |
| 1582 | GUI_Sidebar_Grenades_Draw(); |
| 1583 | GUI_Prepare_Button_Grenade(); |
| 1584 | |
| 1585 | GUI_Sidebar_Rockets_Draw(); |
| 1586 | GUI_Prepare_Button_Rockets(); |
| 1587 | |
| 1588 | GUI_Sidebar_SquadIcon_Update(); |
| 1589 | |
| 1590 | GUI_Sidebar_TroopList_Draw(); |
| 1591 | GUI_Prepare_Button_TroopName(); |
| 1592 | } |
| 1593 | |
| 1594 | void cFodder::GUI_Sidebar_Add_Sidebar_Overlay() { |
| 1595 |
nothing calls this directly
no outgoing calls
no test coverage detected