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

@@ -331,7 +331,7 @@ static Widget _signWidgets[] = {
*
* rct2: 0x006BA305
*/
WindowBase* WindowSignOpen(rct_windownumber number)
WindowBase* SignOpen(rct_windownumber number)
{
auto* w = static_cast<SignWindow*>(WindowBringToFrontByNumber(WindowClass::Banner, number));
@@ -354,7 +354,7 @@ static Widget _signWidgets[] = {
*
* rct2: 0x6E5F52
*/
WindowBase* WindowSignSmallOpen(rct_windownumber number)
WindowBase* SignSmallOpen(rct_windownumber number)
{
auto* w = static_cast<SignWindow*>(WindowBringToFrontByNumber(WindowClass::Banner, number));