OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
16 #include "table/strings.h"
21 static void DrawTile_Void(
TileInfo *ti)
27 static int GetSlopePixelZ_Void(
TileIndex tile, uint x, uint y)
80 GetTileTrackStatus_Void,
uint32 TileIndex
The index/ID of a 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 information, used while rendering the tile.
Owner owner[4]
Name of the owner(s)
uint GetPartialPixelZ(int x, int y, Slope corners)
Determines height at given coordinate of a slope.
TransportType
Available types of transport.
Owner
Enum for all companies/owners.
Tile description for the 'land area information' tool.
DoCommandFlag
List of flags for a command.
Foundation
Enumeration for Foundations.
static uint SlopeToSpriteOffset(Slope s)
Returns the Sprite offset for a given Slope.
Slope tileh
Slope of the tile.
#define return_cmd_error(errcode)
Returns from a function with a specific StringID as error.
Common return value for all commands.
@ FOUNDATION_NONE
The tile has no foundation, the slope remains unchanged.
Slope
Enumeration for the slope-type.
DiagDirection
Enumeration for diagonal directions.
Set of callback functions for performing tile operations of a given tile type.
@ OWNER_NONE
The tile has no ownership.
StringID str
Description of the tile.
static const PaletteID PALETTE_ALL_BLACK
Exchange any color by black, needed for painting fictive tiles outside map.
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.