| 233 | } |
| 234 | |
| 235 | void beginSendChatMessage(Window& self) |
| 236 | { |
| 237 | const auto* opponent = CompanyManager::getOpponent(); |
| 238 | auto args = FormatArguments::common(); |
| 239 | args.push(opponent->name); |
| 240 | |
| 241 | // TODO: convert this to a builder pattern, with chainable functions to set the different string ids and arguments |
| 242 | TextInput::openTextInput(&self, StringIds::chat_title, StringIds::chat_instructions, StringIds::empty, Widx::map_chat_menu, args); |
| 243 | } |
| 244 | |
| 245 | // 0x0043A72F |
| 246 | static void mapDropdown(Window* self, [[maybe_unused]] WidgetIndex_t widgetIndex, int16_t itemIndex) |
no test coverage detected