mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Remove title editor specific code from loadsave window
This involved removing any logic performed in loadsave for loading saved games and moving them to callback routines for all uses.
This commit is contained in:
@@ -45,7 +45,6 @@ char gTextBoxInput[512] = { 0 };
|
||||
int gMaxTextBoxInputLength = 0;
|
||||
int gTextBoxFrameNo = 0;
|
||||
bool gUsingWidgetTextBox = 0;
|
||||
bool gLoadSaveTitleSequenceSave = 0;
|
||||
|
||||
uint16 gWindowUpdateTicks;
|
||||
uint8 gToolbarDirtyFlags;
|
||||
|
||||
@@ -526,10 +526,10 @@ enum GUEST_LIST_FILTER_TYPE
|
||||
};
|
||||
|
||||
typedef void (*modal_callback)(int result);
|
||||
typedef void (*loadsave_callback)(int result, const utf8 * path);
|
||||
typedef void (*scenarioselect_callback)(const utf8 *path);
|
||||
|
||||
extern bool gLoadSaveTitleSequenceSave;
|
||||
extern modal_callback gLoadSaveCallback;
|
||||
extern loadsave_callback gLoadSaveCallback;
|
||||
|
||||
typedef void (*close_callback)();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user