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

Method GUI_Sidebar_Setup

Source/GUI_Element.cpp:556–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556void cFodder::GUI_Sidebar_Setup() {
557
558 int16 Data0 = mGUI_Sidebar_Setup++;
559
560 switch (Data0) {
561 case 0: //loc_2FA05
562 sub_2FA05();
563 break;
564
565 case 1: //loc_2FA1D
566 GUI_Sidebar_MapButton_Prepare();
567 break;
568
569 case 2: //loc_2FA44
570 GUI_Sidebar_Squad0_Prepare();
571 break;
572
573 case 3: //loc_2FA5B
574 GUI_Sidebar_Squad1_Prepare();
575 break;
576
577 case 4: //loc_2FA75
578 GUI_Sidebar_Squad2_Prepare();
579 break;
580
581 case 5: //loc_2FA8F
582 GUI_Sidebar_Ready();
583 break;
584
585 case 6:
586 mGUI_Sidebar_Setup = -1;
587 return;
588
589 default:
590 std::cout << "GUI_Sidebar_Setup(): Missing Function " << Data0;
591 break;
592 }
593}
594
595
596void cFodder::sub_2FA05() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected