MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GUI_Loop_Draw_Prepare

Method GUI_Loop_Draw_Prepare

Source/GUI_Element.cpp:1558–1565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1556
1557
1558void cFodder::GUI_Loop_Draw_Prepare(int16& pData0, int16& pData4) {
1559 mGUI_Loop_Squad_Current = pData0;
1560 mGUI_Loop_Draw_Y = pData4;
1561 mGUI_Loop_Is_CurrentSquad = 0;
1562
1563 if (pData0 == mSquad_Selected)
1564 mGUI_Loop_Is_CurrentSquad = -1;
1565}
1566
1567void cFodder::GUI_Sidebar_Prepare(int16 pSquadNumber, int16 pData4) {
1568

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected