|
|
@ -329,22 +329,12 @@ public:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static void Place_LandInfo(TileIndex tile)
|
|
|
|
void ShowLandInfo(TileIndex tile)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
DeleteWindowById(WC_LAND_INFO, 0);
|
|
|
|
DeleteWindowById(WC_LAND_INFO, 0);
|
|
|
|
new LandInfoWindow(tile);
|
|
|
|
new LandInfoWindow(tile);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void PlaceLandBlockInfo()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (_cursor.sprite == SPR_CURSOR_QUERY) {
|
|
|
|
|
|
|
|
ResetObjectToPlace();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
_place_proc = Place_LandInfo;
|
|
|
|
|
|
|
|
SetObjectToPlace(SPR_CURSOR_QUERY, PAL_NONE, HT_RECT, WC_MAIN_TOOLBAR, 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Widgets for the land info window. */
|
|
|
|
/** Widgets for the land info window. */
|
|
|
|
enum AboutWidgets {
|
|
|
|
enum AboutWidgets {
|
|
|
|
AW_SCROLLING_TEXT, ///< The actually scrolling text
|
|
|
|
AW_SCROLLING_TEXT, ///< The actually scrolling text
|
|
|
|