OpenTTD Source 20250312-master-gcdcc6b491d
track_land.h File Reference

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

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} },
 

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 DrawTileSpriteSpan _depot_gfx_table []
 
static const DrawTileSpriteSpan _depot_invisible_gfx_table []
 

Detailed Description

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

Definition in file track_land.h.

Macro Definition Documentation

◆ TILE_SEQ_LINE

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

Definition at line 10 of file track_land.h.

Variable Documentation

◆ _depot_gfx_NE

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

Definition at line 13 of file track_land.h.

◆ _depot_gfx_NW

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

Definition at line 27 of file track_land.h.

◆ _depot_gfx_SE

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

Definition at line 17 of file track_land.h.

◆ _depot_gfx_SW

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

Definition at line 22 of file track_land.h.

◆ _depot_gfx_table

const DrawTileSpriteSpan _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 31 of file track_land.h.

◆ _depot_invisible_gfx_table

const DrawTileSpriteSpan _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 38 of file track_land.h.