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

Method GUI_Sidebar_SquadIcon_Current_Draw

Source/GUI_Element.cpp:314–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314void cFodder::GUI_Sidebar_SquadIcon_Current_Draw() {
315
316 int16 Data0 = mGUI_Squad_Icon[mGUI_Loop_Squad_Current];
317
318 const int16* Data20 = mGUI_Squad_Active_Icons;
319
320 if (!mGUI_Loop_Is_CurrentSquad)
321 Data20 = mGUI_Squad_Inactive_Icons;
322
323 Data0 = Data20[Data0];
324 int16 Data8 = 0x0C;
325 int16 DataC = mGUI_Loop_Draw_Y;
326 DataC += 0x0E;
327
328 mGraphics->Sidebar_Copy_Sprite_To_ScreenBufPtr(Data0, Data8, DataC);
329}
330
331int16 cFodder::GUI_Sidebar_SquadIcon_Set() {
332 int16 Data1C = 0;

Callers

nothing calls this directly

Tested by

no test coverage detected