Rename close window functions to match upstream

This commit is contained in:
Jonathan G Rennison
2023-09-15 20:59:08 +01:00
parent ed1b842ad3
commit a18f3274b4
75 changed files with 291 additions and 299 deletions

View File

@@ -79,7 +79,7 @@ static void CleanupGeneration()
_gw.proc = nullptr;
_gw.abortp = nullptr;
DeleteWindowByClass(WC_MODAL_PROGRESS);
CloseWindowByClass(WC_MODAL_PROGRESS);
ShowFirstError();
MarkWholeScreenDirty();
}
@@ -332,7 +332,7 @@ void GenerateWorld(GenWorldMode mode, uint size_x, uint size_y, bool reset_setti
SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, HT_NONE, WC_MAIN_WINDOW, 0);
UnshowCriticalError();
DeleteAllNonVitalWindows();
CloseAllNonVitalWindows();
HideVitalWindows();
ShowGenerateWorldProgress();