OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

Macros | Variables
road_land.h File Reference

Sprite constructs for road depots. More...

Go to the source code of this file.

## Macros
#define | TILE_SEQ_LINE(img, pal, dx, dy, sx, sy) { dx, dy, 0, sx, sy, 20, {img, pal} },
#define | TILE_SEQ_END() { (int8)0x80, 0, 0, 0, 0, 0, {0, 0} }
#define | MAKELINE(a, b, c) { a, b, c },
#define | ENDLINE { 0, 0, 0 }

## Variables
static const DrawTileSeqStruct | _road_depot_NE []
static const DrawTileSeqStruct | _road_depot_SE []
static const DrawTileSeqStruct | _road_depot_SW []
static const DrawTileSeqStruct | _road_depot_NW []
static const DrawTileSprites | _road_depot []
static const DrawTileSeqStruct | _tram_depot_NE []
static const DrawTileSeqStruct | _tram_depot_SE []
static const DrawTileSeqStruct | _tram_depot_SW []
static const DrawTileSeqStruct | _tram_depot_NW []
static const DrawTileSprites | _tram_depot []
static const DrawTileSeqStruct | _crossing_layout_ALL []
static const DrawTileSprites | _crossing_layout
static const SpriteID | _road_tile_sprites_1 [16]
static const SpriteID | _road_frontwire_sprites_1 [16]
static const SpriteID | _road_backpole_sprites_1 [16]
static const DrawRoadTileStruct | _roadside_nothing []
static const DrawRoadTileStruct | _road_display_datas2_3 []
static const DrawRoadTileStruct | _road_display_datas2_5 []
static const DrawRoadTileStruct | _road_display_datas2_6 []
static const DrawRoadTileStruct | _road_display_datas2_7 []
static const DrawRoadTileStruct | _road_display_datas2_9 []
static const DrawRoadTileStruct | _road_display_datas2_10 []
static const DrawRoadTileStruct | _road_display_datas2_11 []
static const DrawRoadTileStruct | _road_display_datas2_12 []
static const DrawRoadTileStruct | _road_display_datas2_13 []
static const DrawRoadTileStruct | _road_display_datas2_14 []
static const DrawRoadTileStruct | _road_display_datas2_19 []
static const DrawRoadTileStruct | _road_display_datas2_21 []
static const DrawRoadTileStruct | _road_display_datas2_22 []
static const DrawRoadTileStruct | _road_display_datas2_23 []
static const DrawRoadTileStruct | _road_display_datas2_25 []
static const DrawRoadTileStruct | _road_display_datas2_26 []
static const DrawRoadTileStruct | _road_display_datas2_27 []
static const DrawRoadTileStruct | _road_display_datas2_28 []
static const DrawRoadTileStruct | _road_display_datas2_29 []
static const DrawRoadTileStruct | _road_display_datas2_30 []
static const DrawRoadTileStruct *const | _roadside_none []
static const DrawRoadTileStruct *const | _roadside_lamps []
static const DrawRoadTileStruct *const | _roadside_trees []
static const DrawRoadTileStruct *const *const | _road_display_table []

## Detailed Description

Sprite constructs for road depots.

Definition in file road_land.h.

## Variable Documentation

const DrawTileSprites _crossing_layout
| static

Initial value:
{
{0, PAL_NONE}, _crossing_layout_ALL
}

Definition at line 83 of file road_land.h.

const DrawTileSeqStruct _crossing_layout_ALL[]
| static

Initial value:
{
}

Definition at line 75 of file road_land.h.

const SpriteID _road_backpole_sprites_1[16]
| static

Initial value:
{
0, 0x38, 0x39, 0x40, 0x38, 0x38, 0x43, 0x3E, 0x39, 0x41, 0x39, 0x3C, 0x42, 0x3B, 0x3D, 0x3A
}

Definition at line 100 of file road_land.h.

const DrawTileSprites _road_depot[]
| static

Initial value:
{
{ {0xA4A, PAL_NONE}, _road_depot_NE },
{ {0xA4A, PAL_NONE}, _road_depot_SE },
{ {0xA4A, PAL_NONE}, _road_depot_SW },
{ {0xA4A, PAL_NONE}, _road_depot_NW }
}

Definition at line 37 of file road_land.h.

const DrawTileSeqStruct _road_depot_NE[]
| static

Initial value:
{
}

Definition at line 15 of file road_land.h.

const DrawTileSeqStruct _road_depot_NW[]
| static

Initial value:
{
}

Definition at line 32 of file road_land.h.

const DrawTileSeqStruct _road_depot_SE[]
| static

Initial value:
{
}

Definition at line 20 of file road_land.h.

const DrawTileSeqStruct _road_depot_SW[]
| static

Initial value:
{
}

Definition at line 26 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_10[]
| static

Initial value:
{
ENDLINE
}

Definition at line 137 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_11[]
| static

Initial value:
{
ENDLINE
}

Definition at line 143 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_12[]
| static

Initial value:
{
ENDLINE
}

Definition at line 148 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_13[]
| static

Initial value:
{
ENDLINE
}

Definition at line 153 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_14[]
| static

Initial value:
{
ENDLINE
}

Definition at line 158 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_19[]
| static

Initial value:
{
ENDLINE
}

Definition at line 163 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_21[]
| static

Initial value:
{
ENDLINE
}

Definition at line 170 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_22[]
| static

Initial value:
{
ENDLINE
}

Definition at line 178 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_23[]
| static

Initial value:
{
ENDLINE
}

Definition at line 185 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_25[]
| static

Initial value:
{
ENDLINE
}

Definition at line 191 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_26[]
| static

Initial value:
{
ENDLINE
}

Definition at line 198 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_27[]
| static

Initial value:
{
ENDLINE
}

Definition at line 206 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_28[]
| static

Initial value:
{
ENDLINE
}

Definition at line 212 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_29[]
| static

Initial value:
{
ENDLINE
}

Definition at line 219 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_3[]
| static

Initial value:
{
ENDLINE
}

Definition at line 111 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_30[]
| static

Initial value:
{
ENDLINE
}

Definition at line 225 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_5[]
| static

Initial value:
{
ENDLINE
}

Definition at line 116 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_6[]
| static

Initial value:
{
ENDLINE
}

Definition at line 122 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_7[]
| static

Initial value:
{
ENDLINE
}

Definition at line 127 of file road_land.h.

const DrawRoadTileStruct _road_display_datas2_9[]
| static

Initial value:
{
ENDLINE
}

Definition at line 132 of file road_land.h.

const DrawRoadTileStruct* const* const _road_display_table[]
| static

Initial value:
{
_roadside_none,
_roadside_none,
_roadside_none,
_roadside_lamps,
_roadside_none,
_roadside_trees,
}

Definition at line 284 of file road_land.h.

const SpriteID _road_frontwire_sprites_1[16]
| static

Initial value:
{
0, 0x54, 0x55, 0x5B, 0x54, 0x54, 0x5E, 0x5A, 0x55, 0x5C, 0x55, 0x58, 0x5D, 0x57, 0x59, 0x56
}

Definition at line 96 of file road_land.h.

const SpriteID _road_tile_sprites_1[16]
| static

Initial value:
{
0, 0x546, 0x545, 0x53B, 0x544, 0x534, 0x53E, 0x539,
0x543, 0x53C, 0x535, 0x538, 0x53D, 0x537, 0x53A, 0x536
}

Definition at line 91 of file road_land.h.

const DrawRoadTileStruct* const _roadside_lamps[]
| static

Initial value:
{
_roadside_nothing,
_roadside_nothing,
_roadside_nothing,
_road_display_datas2_3,
_roadside_nothing,
_road_display_datas2_5,
_road_display_datas2_6,
_road_display_datas2_7,
_roadside_nothing,
_road_display_datas2_9,
_road_display_datas2_10,
_road_display_datas2_11,
_road_display_datas2_12,
_road_display_datas2_13,
_road_display_datas2_14,
_roadside_nothing,
}

Definition at line 245 of file road_land.h.

const DrawRoadTileStruct* const _roadside_none[]
| static

Initial value:
{
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing,
_roadside_nothing, _roadside_nothing
}

Definition at line 234 of file road_land.h.

const DrawRoadTileStruct _roadside_nothing[]
| static

Initial value:
{
ENDLINE
}

Definition at line 107 of file road_land.h.

const DrawRoadTileStruct* const _roadside_trees[]
| static

Initial value:
{
_roadside_nothing,
_roadside_nothing,
_roadside_nothing,
_road_display_datas2_19,
_roadside_nothing,
_road_display_datas2_21,
_road_display_datas2_22,
_road_display_datas2_23,
_roadside_nothing,
_road_display_datas2_25,
_road_display_datas2_26,
_road_display_datas2_27,
_road_display_datas2_28,
_road_display_datas2_29,
_road_display_datas2_30,
_roadside_nothing,
}

Definition at line 264 of file road_land.h.

const DrawTileSprites _tram_depot[]
| static

Initial value:
{
{ {0xA4A, PAL_NONE}, _tram_depot_NE },
{ {0xA4A, PAL_NONE}, _tram_depot_SE },
{ {0xA4A, PAL_NONE}, _tram_depot_SW },
{ {0xA4A, PAL_NONE}, _tram_depot_NW }
}

Definition at line 66 of file road_land.h.

const DrawTileSeqStruct _tram_depot_NE[]
| static

Initial value:
{
TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x35) | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE, 0, 15, 16, 1)
}

Definition at line 44 of file road_land.h.

const DrawTileSeqStruct _tram_depot_NW[]
| static

Initial value:
{
TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x36) | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE, 15, 0, 1, 16)
}

Definition at line 61 of file road_land.h.

const DrawTileSeqStruct _tram_depot_SE[]
| static

Initial value:
{
TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x31) | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE, 0, 0, 1, 16)
TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x32) | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE, 15, 0, 1, 16)
}

Definition at line 49 of file road_land.h.

const DrawTileSeqStruct _tram_depot_SW[]
| static

Initial value:
{
TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x33) | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE, 0, 0, 16, 1)
TILE_SEQ_LINE((SPR_TRAMWAY_BASE + 0x34) | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE, 0, 15, 16, 1)
}

Definition at line 55 of file road_land.h.