mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
* Close #21569: Remove 'Window' from Window Open function names Windows are all under the OpenRCT2::Ui::Windows namespace. As such, "Window" is removed from the Open functions names. * Update Contributors.md * Fix formatting TrackMangeOpen Co-authored-by: Tulio Leao <tupaschoal@gmail.com> * Fix formatting TrackPlaceOpen Co-authored-by: Tulio Leao <tupaschoal@gmail.com> --------- Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
@@ -1390,14 +1390,14 @@ static uint64_t PressedWidgets[WINDOW_MAPGEN_PAGE_COUNT] = {
|
||||
}
|
||||
};
|
||||
|
||||
WindowBase* WindowMapgenOpen()
|
||||
WindowBase* MapgenOpen()
|
||||
{
|
||||
return WindowFocusOrCreate<MapGenWindow>(WindowClass::Mapgen, WW, WH, WF_10 | WF_AUTO_POSITION | WF_CENTRE_SCREEN);
|
||||
}
|
||||
|
||||
static void HeightmapLoadsaveCallback(int32_t result, const utf8* path)
|
||||
{
|
||||
auto* w = static_cast<MapGenWindow*>(WindowMapgenOpen());
|
||||
auto* w = static_cast<MapGenWindow*>(MapgenOpen());
|
||||
w->AfterLoadingHeightMap(result, path);
|
||||
}
|
||||
} // namespace OpenRCT2::Ui::Windows
|
||||
|
||||
Reference in New Issue
Block a user