| 678 | ); |
| 679 | |
| 680 | void ShowTownViewWindow(TownID town) |
| 681 | { |
| 682 | if (_game_mode == GM_EDITOR) { |
| 683 | AllocateWindowDescFront<TownViewWindow>(_town_editor_view_desc, town); |
| 684 | } else { |
| 685 | AllocateWindowDescFront<TownViewWindow>(_town_game_view_desc, town); |
| 686 | } |
| 687 | } |
| 688 | |
| 689 | static constexpr std::initializer_list<NWidgetPart> _nested_town_directory_widgets = { |
| 690 | NWidget(NWID_HORIZONTAL), |
no outgoing calls
no test coverage detected