OpenTTD Source  20240919-master-gdf0233f4c2
track_land.h File Reference

Go to the source code of this file.

Macros

#define TILE_SEQ_LINE(img, dx, dy, sx, sy)   { dx, dy, 0, sx, sy, 23, {img, PAL_NONE} },
 
#define TILE_SEQ_END()   { (int8_t)0x80, 0, 0, 0, 0, 0, {0, 0} }
 

Variables

static const DrawTileSeqStruct _depot_gfx_NE []
 
static const DrawTileSeqStruct _depot_gfx_SE []
 
static const DrawTileSeqStruct _depot_gfx_SW []
 
static const DrawTileSeqStruct _depot_gfx_NW []
 
static const DrawTileSprites _depot_gfx_table []
 
static const DrawTileSprites _depot_invisible_gfx_table []
 

Detailed Description

Sprites to use and how to display them for train depot tiles.

Definition in file track_land.h.

Variable Documentation

◆ _depot_gfx_NE

const DrawTileSeqStruct _depot_gfx_NE[]
static
Initial value:
= {
}

Definition at line 14 of file track_land.h.

◆ _depot_gfx_NW

const DrawTileSeqStruct _depot_gfx_NW[]
static
Initial value:
= {
}

Definition at line 31 of file track_land.h.

◆ _depot_gfx_SE

const DrawTileSeqStruct _depot_gfx_SE[]
static
Initial value:
= {
}

Definition at line 19 of file track_land.h.

◆ _depot_gfx_SW

const DrawTileSeqStruct _depot_gfx_SW[]
static
Initial value:
= {
}

Definition at line 25 of file track_land.h.

◆ _depot_gfx_table

const DrawTileSprites _depot_gfx_table[]
static
Initial value:
= {
{ {SPR_FLAT_GRASS_TILE, PAL_NONE}, _depot_gfx_NE },
{ {SPR_RAIL_TRACK_Y, PAL_NONE}, _depot_gfx_SE },
{ {SPR_RAIL_TRACK_X, PAL_NONE}, _depot_gfx_SW },
{ {SPR_FLAT_GRASS_TILE, PAL_NONE}, _depot_gfx_NW }
}

Definition at line 36 of file track_land.h.

◆ _depot_invisible_gfx_table

const DrawTileSprites _depot_invisible_gfx_table[]
static
Initial value:
= {
{ {SPR_RAIL_TRACK_X, PAL_NONE}, _depot_gfx_NE },
{ {SPR_RAIL_TRACK_Y, PAL_NONE}, _depot_gfx_SE },
{ {SPR_RAIL_TRACK_X, PAL_NONE}, _depot_gfx_SW },
{ {SPR_RAIL_TRACK_Y, PAL_NONE}, _depot_gfx_NW }
}

Definition at line 43 of file track_land.h.