| 1131 | } |
| 1132 | |
| 1133 | void cFodder::GUI_Button_Setup_Small(void(cFodder::*pFunction)(void)) { |
| 1134 | sGUI_Element* Element = mGUI_NextFreeElement; |
| 1135 | |
| 1136 | Element->field_0 = &cFodder::GUI_Button_NoAction; |
| 1137 | |
| 1138 | Element->mX = mGUI_Temp_X - 3; |
| 1139 | Element->mWidth = mGUI_Temp_Width + 4; |
| 1140 | Element->mY = mGUI_Temp_Y; |
| 1141 | Element->mHeight = mGUI_Draw_LastHeight + 5; |
| 1142 | Element->mMouseInsideFuncPtr = pFunction; |
| 1143 | |
| 1144 | ++Element; |
| 1145 | Element->field_0 = 0; |
| 1146 | mGUI_NextFreeElement = Element; |
| 1147 | } |
| 1148 | |
| 1149 | std::string cFodder::GUI_Select_File(const char* pTitle, const std::vector<sSavedGame>& pSave, const std::vector<std::string> &pMaps) { |
| 1150 | mPhase_Aborted = false; |