OpenTTD Source
20240917-master-g9ab0a47812
|
Go to the documentation of this file.
10 #ifndef SMALLMAP_GUI_H
11 #define SMALLMAP_GUI_H
@ IfEnabled
Only include the heightmap if its enabled in the gui by the player.
uint32_t GetSmallMapOwnerPixels(TileIndex tile, TileType t, IncludeHeightmap include_heightmap)
Return the colour a tile would be displayed with in the small map in mode "Owner".
Point GetSmallMapStationMiddle(const Window *w, const Station *st)
Determine the middle of a station in the smallmap window.
void BuildLinkStatsLegend()
Populate legend table for the link stat view.
void ShowSmallMap()
Show the smallmap window.
void BuildLandLegend()
(Re)build the colour tables for the legends.
void BuildOwnerLegend()
Completes the array for the owned property legend.
void BuildIndustriesLegend()
Fills an array for the industries legends.
Coordinates of a point in 2D.
@ Always
Always include the heightmap.
TileType
The different types of tiles.
IncludeHeightmap
Enum for how to include the heightmap pixels/colours in small map related functions.
Data structure for an opened window.
@ Never
Never include the heightmap.