1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +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

@@ -73,7 +73,7 @@ static Widget _mainWidgets[] = {
* Creates the main window that holds the main viewport.
* rct2: 0x0066B3E8
*/
WindowBase* WindowMainOpen()
WindowBase* MainOpen()
{
return WindowCreate<MainWindow>(
WindowClass::MainWindow, { 0, 0 }, ContextGetWidth(), ContextGetHeight(), WF_STICK_TO_BACK);