MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SaveFileStart

Function SaveFileStart

src/saveload/saveload.cpp:2939–2945  ·  view source on GitHub ↗

Update the gui accordingly when starting saving and set locks on saveload. */

Source from the content-addressed store, hash-verified

2937
2938/** Update the gui accordingly when starting saving and set locks on saveload. */
2939static void SaveFileStart()
2940{
2941 SetMouseCursorBusy(true);
2942
2943 InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_START);
2944 _sl.saveinprogress = true;
2945}
2946
2947/** Update the gui accordingly when saving is done and release locks on saveload. */
2948static void SaveFileDone()

Callers 1

DoSaveFunction · 0.85

Calls 2

SetMouseCursorBusyFunction · 0.85
InvalidateWindowDataFunction · 0.50

Tested by

no test coverage detected