mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Clang tidy Part 1: Ui Project Function Names (#15956)
* Add NOLINT around STL using classes and vendor functions * Apply clang-tidy to ui project function names * Undo scripting clang-format * Upper case OpenRCT2 and RCT2
This commit is contained in:
@@ -65,8 +65,7 @@ private:
|
||||
if (banner != nullptr)
|
||||
{
|
||||
auto bannerText = banner->GetText();
|
||||
window_text_input_raw_open(
|
||||
this, WIDX_SIGN_TEXT, STR_SIGN_TEXT_TITLE, STR_SIGN_TEXT_PROMPT, {}, bannerText.c_str(), 32);
|
||||
WindowTextInputRawOpen(this, WIDX_SIGN_TEXT, STR_SIGN_TEXT_TITLE, STR_SIGN_TEXT_PROMPT, {}, bannerText.c_str(), 32);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -312,7 +311,7 @@ public:
|
||||
*
|
||||
* rct2: 0x006BA305
|
||||
*/
|
||||
rct_window* window_sign_open(rct_windownumber number)
|
||||
rct_window* WindowSignOpen(rct_windownumber number)
|
||||
{
|
||||
auto* w = static_cast<SignWindow*>(window_bring_to_front_by_number(WC_BANNER, number));
|
||||
|
||||
@@ -335,7 +334,7 @@ rct_window* window_sign_open(rct_windownumber number)
|
||||
*
|
||||
* rct2: 0x6E5F52
|
||||
*/
|
||||
rct_window* window_sign_small_open(rct_windownumber number)
|
||||
rct_window* WindowSignSmallOpen(rct_windownumber number)
|
||||
{
|
||||
auto* w = static_cast<SignWindow*>(window_bring_to_front_by_number(WC_BANNER, number));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user