1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Close #21569: Remove 'Window' from Window Open function names (#21613)

* 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:
CoryY
2024-03-17 02:37:46 -04:00
committed by GitHub
parent 8963234eac
commit 3f81a491b0
75 changed files with 274 additions and 275 deletions

View File

@@ -134,7 +134,7 @@ static Widget _titleMenuWidgets[] = {
{
WindowCloseByClass(WindowClass::Loadsave);
WindowCloseByClass(WindowClass::ServerList);
WindowScenarioselectOpen(WindowTitleMenuScenarioselectCallback);
ScenarioselectOpen(WindowTitleMenuScenarioselectCallback);
}
break;
case WIDX_CONTINUE_SAVED_GAME:
@@ -283,7 +283,7 @@ static Widget _titleMenuWidgets[] = {
/**
* Creates the window containing the menu buttons on the title screen.
*/
WindowBase* WindowTitleMenuOpen()
WindowBase* TitleMenuOpen()
{
const uint16_t windowHeight = MenuButtonDims.height + UpdateButtonDims.height;
return WindowCreate<TitleMenuWindow>(