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

Method GUI_Button_Load_Down

Source/GUI_Element.cpp:1357–1373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1355}
1356
1357void cFodder::GUI_Button_Load_Down() {
1358 mGUI_Select_File_CurrentIndex += (mGUI_Select_File_ShownItems - 1);
1359
1360 int16 Data0 = mGUI_Select_File_CurrentIndex;
1361 Data0 += mGUI_Select_File_ShownItems;
1362
1363 if (Data0 >= mGUI_Select_File_Count) {
1364 Data0 = mGUI_Select_File_Count;
1365 Data0 -= mGUI_Select_File_ShownItems;
1366 if (Data0 < 0)
1367 Data0 = 0;
1368
1369 mGUI_Select_File_CurrentIndex = Data0;
1370 }
1371
1372 mGUI_SaveLoadAction = 3;
1373}
1374
1375void cFodder::GUI_Button_Filename() {
1376 int16 Data0 = mMouseY;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected