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

Method GUI_Prepare_Button_Rockets

Source/GUI_Element.cpp:693–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693void cFodder::GUI_Prepare_Button_Rockets() {
694
695 if (!mGUI_Loop_Is_CurrentSquad)
696 return;
697
698 sGUI_Element* NewElement = mGUI_NextFreeElement;
699 NewElement->field_0 = &cFodder::GUI_Button_NoAction;
700 NewElement->mX = 0x24;
701 NewElement->mWidth = 0x0C;
702 NewElement->mY = mGUI_Loop_Draw_Y + 0x0E;
703 NewElement->mHeight = 0x14;
704 NewElement->mMouseInsideFuncPtr = &cFodder::GUI_Handle_Button_Rockets;
705 ++NewElement;
706
707 GUI_ClearElement(NewElement);
708}
709
710void cFodder::GUI_Handle_Button_Rockets() {
711

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected