17#include "table/strings.h"
22static void DrawTile_Void(
TileInfo *ti)
28static int GetSlopePixelZ_Void(
TileIndex, uint x, uint y,
bool)
81 GetTileTrackStatus_Void,
Common return value for all commands.
Functions related to commands.
DoCommandFlag
List of flags for a command.
Owner
Enum for all companies/owners.
@ OWNER_NONE
The tile has no ownership.
DiagDirection
Enumeration for diagonal directions.
uint GetPartialPixelZ(int x, int y, Slope corners)
Determines height at given coordinate of a slope.
Functions related to OTTD's landscape.
A number of safeguards to prevent using unsafe methods.
Functions related to slopes.
uint SlopeToSpriteOffset(Slope s)
Returns the Sprite offset for a given Slope.
Slope
Enumeration for the slope-type.
Foundation
Enumeration for Foundations.
@ FOUNDATION_NONE
The tile has no foundation, the slope remains unchanged.
This file contains all sprite-related enums and defines.
static const PaletteID PALETTE_ALL_BLACK
Exchange any color by black, needed for painting fictive tiles outside map.
Definition of base types and functions in a cross-platform compatible way.
Tile description for the 'land area information' tool.
StringID str
Description of the tile.
Owner owner[4]
Name of the owner(s)
Tile information, used while rendering the tile.
Slope tileh
Slope of the tile.
Set of callback functions for performing tile operations of a given tile type.
std::tuple< Slope, int > GetTilePixelSlopeOutsideMap(int x, int y)
Return the slope of a given tile, also for tiles outside the map (virtual "black" tiles).
TransportType
Available types of transport.
void DrawGroundSprite(SpriteID image, PaletteID pal, const SubSprite *sub, int extra_offs_x, int extra_offs_y)
Draws a ground sprite for the current tile.
Functions related to (drawing on) viewports.
Functions related to water (management)
void TileLoop_Water(TileIndex tile)
Let a water tile floods its diagonal adjoining tiles called from tunnelbridge_cmd,...