|
OpenTTD
|
GUI for towns. More...
#include "stdafx.h"#include "town.h"#include "viewport_func.h"#include "error.h"#include "gui.h"#include "command_func.h"#include "company_func.h"#include "company_base.h"#include "company_gui.h"#include "network/network.h"#include "string_func.h"#include "strings_func.h"#include "sound_func.h"#include "tilehighlight_func.h"#include "sortlist_type.h"#include "road_cmd.h"#include "landscape.h"#include "querystring_gui.h"#include "window_func.h"#include "townname_func.h"#include "core/geometry_func.hpp"#include "genworld.h"#include "widgets/dropdown_func.h"#include "widgets/town_widget.h"#include "table/strings.h"#include "safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | TownAuthorityWindow |
| Town authority window. More... | |
| struct | TownViewWindow |
| struct | TownDirectoryWindow |
| Town directory window class. More... | |
| struct | FoundTownWindow |
| Found a town window class. More... | |
Typedefs | |
| typedef GUIList< const Town * > | GUITownList |
Functions | |
| static void | ShowTownAuthorityWindow (uint town) |
| void | ShowTownViewWindow (TownID town) |
| void | ShowTownDirectory () |
| void | CcFoundTown (const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2) |
| void | CcFoundRandomTown (const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2) |
| void | ShowFoundTownWindow () |
Variables | |
| static const NWidgetPart | _nested_town_authority_widgets [] |
| static WindowDesc | _town_authority_desc (WDP_AUTO,"view_town_authority", 317, 222, WC_TOWN_AUTHORITY, WC_NONE, 0, _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets)) |
| static const NWidgetPart | _nested_town_game_view_widgets [] |
| static WindowDesc | _town_game_view_desc (WDP_AUTO,"view_town", 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, 0, _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets)) |
| static const NWidgetPart | _nested_town_editor_view_widgets [] |
| static WindowDesc | _town_editor_view_desc (WDP_AUTO,"view_town_scen", 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, 0, _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets)) |
| static const NWidgetPart | _nested_town_directory_widgets [] |
| static WindowDesc | _town_directory_desc (WDP_AUTO,"list_towns", 208, 202, WC_TOWN_DIRECTORY, WC_NONE, 0, _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets)) |
| static const NWidgetPart | _nested_found_town_widgets [] |
| static WindowDesc | _found_town_desc (WDP_AUTO,"build_town", 160, 162, WC_FOUND_TOWN, WC_NONE, WDF_CONSTRUCTION, _nested_found_town_widgets, lengthof(_nested_found_town_widgets)) |
GUI for towns.
Definition in file town_gui.cpp.
|
static |
Definition at line 44 of file town_gui.cpp.
|
static |
Definition at line 605 of file town_gui.cpp.
|
static |
Definition at line 564 of file town_gui.cpp.
|
static |
Definition at line 533 of file town_gui.cpp.
1.8.1.2