18 #include "table/strings.h" 23 static void DrawTile_Void(
TileInfo *ti)
29 static int GetSlopePixelZ_Void(
TileIndex tile, uint x, uint y)
82 GetTileTrackStatus_Void,
Tile information, used while rendering the tile.
uint GetPartialPixelZ(int x, int y, Slope corners)
Determines height at given coordinate of a slope.
static const PaletteID PALETTE_ALL_BLACK
Exchange any color by black, needed for painting fictive tiles outside map.
Slope tileh
Slope of the tile.
Slope GetTilePixelSlopeOutsideMap(int x, int y, int *h)
Return the slope of a given tile, also for tiles outside the map (virtual "black" tiles)...
Tile description for the 'land area information' tool.
Common return value for all commands.
Owner owner[4]
Name of the owner(s)
Functions related to (drawing on) viewports.
Foundation
Enumeration for Foundations.
DoCommandFlag
List of flags for a command.
Functions related to slopes.
Definition of base types and functions in a cross-platform compatible way.
A number of safeguards to prevent using unsafe methods.
The tile has no ownership.
DiagDirection
Enumeration for diagonal directions.
#define return_cmd_error(errcode)
Returns from a function with a specific StringID as error.
Set of callback functions for performing tile operations of a given tile type.
uint32 TileIndex
The index/ID of a Tile.
The tile has no foundation, the slope remains unchanged.
TransportType
Available types of transport.
Slope
Enumeration for the slope-type.
Functions related to OTTD's landscape.
Functions related to commands.
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.
static uint SlopeToSpriteOffset(Slope s)
Returns the Sprite offset for a given Slope.
StringID str
Description of the tile.
Owner
Enum for all companies/owners.
This file contains all sprite-related enums and defines.