Fix #15271. Use formatter to pass description args to text input (#15272)

* Fix #15271. Use formatter to pass description args to text input

Originally passed the variables via global vars which were not updated to 32bit during recent refactors. This removes the global and makes the interface cleaner and corrects the type

* Fix size of arguments
This commit is contained in:
Duncan authored and GitHub committed 2021-08-24 19:12:05 +01:00
1 parent 201a94f7e6
commit d2aca03ff6
29 files changed
+91 -77

No files matched your search

-1
View File
@@ -41,7 +41,6 @@
std::list<std::shared_ptr<rct_window>> g_window_list;
rct_window* gWindowAudioExclusive;
uint16_t TextInputDescriptionArgs[4];
widget_identifier gCurrentTextBox = { { 255, 0 }, 0 };
char gTextBoxInput[TEXT_INPUT_SIZE] = { 0 };
int32_t gMaxTextBoxInputLength = 0;