OpenTTD Source 20241224-master-gf74b0cf984
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_t)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 _crossing_layout_ALL []
 
static const DrawTileSprites _crossing_layout
 
static const DrawTileSeqStruct _crossing_layout_SW_ALL []
 
static const DrawTileSprites _crossing_layout_SW
 
static const DrawTileSeqStruct _crossing_layout_NW_ALL []
 
static const DrawTileSprites _crossing_layout_NW
 
static const DrawTileSeqStruct _crossing_layout_NE_ALL []
 
static const DrawTileSprites _crossing_layout_NE
 
static const DrawTileSeqStruct _crossing_layout_SE_ALL []
 
static const DrawTileSprites _crossing_layout_SE
 
static const SpriteID _road_tile_sprites_1 [16]
 
static const SpriteID _road_backpole_sprites_1 [16]
 
static const SpriteID _road_frontwire_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.

Macro Definition Documentation

◆ ENDLINE

#define ENDLINE   { 0, 0, 0 }

Definition at line 114 of file road_land.h.

◆ MAKELINE

#define MAKELINE (   a,
  b,
 
)    { a, b, c },

Definition at line 113 of file road_land.h.

◆ TILE_SEQ_END

#define TILE_SEQ_END ( )    { (int8_t)0x80, 0, 0, 0, 0, 0, {0, 0} }

Definition at line 11 of file road_land.h.

◆ TILE_SEQ_LINE

#define TILE_SEQ_LINE (   img,
  pal,
  dx,
  dy,
  sx,
  sy 
)    { dx, dy, 0, sx, sy, 20, {img, pal} },

Definition at line 10 of file road_land.h.

Variable Documentation

◆ _crossing_layout

const DrawTileSprites _crossing_layout
static
Initial value:
= {
{0, PAL_NONE}, _crossing_layout_ALL
}

Definition at line 52 of file road_land.h.

◆ _crossing_layout_ALL

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

Definition at line 44 of file road_land.h.

◆ _crossing_layout_NE

const DrawTileSprites _crossing_layout_NE
static
Initial value:
= {
{0, PAL_NONE}, _crossing_layout_NE_ALL
}

Definition at line 82 of file road_land.h.

◆ _crossing_layout_NE_ALL

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

Definition at line 76 of file road_land.h.

◆ _crossing_layout_NW

const DrawTileSprites _crossing_layout_NW
static
Initial value:
= {
{0, PAL_NONE}, _crossing_layout_NW_ALL
}

Definition at line 72 of file road_land.h.

◆ _crossing_layout_NW_ALL

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

Definition at line 66 of file road_land.h.

◆ _crossing_layout_SE

const DrawTileSprites _crossing_layout_SE
static
Initial value:
= {
{0, PAL_NONE}, _crossing_layout_SE_ALL
}

Definition at line 92 of file road_land.h.

◆ _crossing_layout_SE_ALL

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

Definition at line 86 of file road_land.h.

◆ _crossing_layout_SW

const DrawTileSprites _crossing_layout_SW
static
Initial value:
= {
{0, PAL_NONE}, _crossing_layout_SW_ALL
}

Definition at line 62 of file road_land.h.

◆ _crossing_layout_SW_ALL

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

Definition at line 56 of file road_land.h.

◆ _road_backpole_sprites_1

const SpriteID _road_backpole_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 105 of file road_land.h.

◆ _road_depot

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 35 of file road_land.h.

◆ _road_depot_NE

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

Definition at line 13 of file road_land.h.

◆ _road_depot_NW

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

Definition at line 30 of file road_land.h.

◆ _road_depot_SE

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

Definition at line 18 of file road_land.h.

◆ _road_depot_SW

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

Definition at line 24 of file road_land.h.

◆ _road_display_datas2_10

const DrawRoadTileStruct _road_display_datas2_10[]
static
Initial value:
= {
ENDLINE
}

Definition at line 146 of file road_land.h.

◆ _road_display_datas2_11

const DrawRoadTileStruct _road_display_datas2_11[]
static
Initial value:
= {
ENDLINE
}

Definition at line 152 of file road_land.h.

◆ _road_display_datas2_12

const DrawRoadTileStruct _road_display_datas2_12[]
static
Initial value:
= {
ENDLINE
}

Definition at line 157 of file road_land.h.

◆ _road_display_datas2_13

const DrawRoadTileStruct _road_display_datas2_13[]
static
Initial value:
= {
ENDLINE
}

Definition at line 162 of file road_land.h.

◆ _road_display_datas2_14

const DrawRoadTileStruct _road_display_datas2_14[]
static
Initial value:
= {
ENDLINE
}

Definition at line 167 of file road_land.h.

◆ _road_display_datas2_19

const DrawRoadTileStruct _road_display_datas2_19[]
static
Initial value:
= {
ENDLINE
}

Definition at line 172 of file road_land.h.

◆ _road_display_datas2_21

const DrawRoadTileStruct _road_display_datas2_21[]
static
Initial value:
= {
ENDLINE
}

Definition at line 179 of file road_land.h.

◆ _road_display_datas2_22

const DrawRoadTileStruct _road_display_datas2_22[]
static
Initial value:
= {
ENDLINE
}

Definition at line 187 of file road_land.h.

◆ _road_display_datas2_23

const DrawRoadTileStruct _road_display_datas2_23[]
static
Initial value:
= {
ENDLINE
}

Definition at line 194 of file road_land.h.

◆ _road_display_datas2_25

const DrawRoadTileStruct _road_display_datas2_25[]
static
Initial value:
= {
ENDLINE
}

Definition at line 200 of file road_land.h.

◆ _road_display_datas2_26

const DrawRoadTileStruct _road_display_datas2_26[]
static
Initial value:
= {
ENDLINE
}

Definition at line 207 of file road_land.h.

◆ _road_display_datas2_27

const DrawRoadTileStruct _road_display_datas2_27[]
static
Initial value:
= {
ENDLINE
}

Definition at line 215 of file road_land.h.

◆ _road_display_datas2_28

const DrawRoadTileStruct _road_display_datas2_28[]
static
Initial value:
= {
ENDLINE
}

Definition at line 221 of file road_land.h.

◆ _road_display_datas2_29

const DrawRoadTileStruct _road_display_datas2_29[]
static
Initial value:
= {
ENDLINE
}

Definition at line 228 of file road_land.h.

◆ _road_display_datas2_3

const DrawRoadTileStruct _road_display_datas2_3[]
static
Initial value:
= {
ENDLINE
}

Definition at line 120 of file road_land.h.

◆ _road_display_datas2_30

const DrawRoadTileStruct _road_display_datas2_30[]
static
Initial value:
= {
ENDLINE
}

Definition at line 234 of file road_land.h.

◆ _road_display_datas2_5

const DrawRoadTileStruct _road_display_datas2_5[]
static
Initial value:
= {
ENDLINE
}

Definition at line 125 of file road_land.h.

◆ _road_display_datas2_6

const DrawRoadTileStruct _road_display_datas2_6[]
static
Initial value:
= {
ENDLINE
}

Definition at line 131 of file road_land.h.

◆ _road_display_datas2_7

const DrawRoadTileStruct _road_display_datas2_7[]
static
Initial value:
= {
ENDLINE
}

Definition at line 136 of file road_land.h.

◆ _road_display_datas2_9

const DrawRoadTileStruct _road_display_datas2_9[]
static
Initial value:
= {
ENDLINE
}

Definition at line 141 of file road_land.h.

◆ _road_display_table

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 293 of file road_land.h.

◆ _road_frontwire_sprites_1

const SpriteID _road_frontwire_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 109 of file road_land.h.

◆ _road_tile_sprites_1

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 100 of file road_land.h.

◆ _roadside_lamps

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 254 of file road_land.h.

◆ _roadside_none

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 243 of file road_land.h.

◆ _roadside_nothing

const DrawRoadTileStruct _roadside_nothing[]
static
Initial value:
= {
ENDLINE
}

Definition at line 116 of file road_land.h.

◆ _roadside_trees

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 273 of file road_land.h.