OpenTTD Source
20241121-master-g67a0fccfad
|
Sprites to use and how to display them for station tiles. More...
Go to the source code of this file.
Macros | |
#define | TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img) TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, PAL_NONE) |
Constructor macro for an image without a palette in a DrawTileSeqStruct array. More... | |
#define | TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, pal) { dx, dy, dz, sx, sy, sz, {img, pal} }, |
Constructor macro for an image with a palette in a DrawTileSeqStruct array. More... | |
#define | TILE_SEQ_CHILD(dx, dy, img, pal) TILE_SEQ_LINE_PAL(dx, dy, (int8_t)0x80, 0, 0, 0, img, pal) |
Constructor macro for an image without bounding box. More... | |
#define | TILE_SEQ_GROUND(dx, dy, dz, img) TILE_SEQ_CHILD(2 * (dy - dx), dx + dy - dz, img, PAL_NONE) |
Constructor macro for additional ground sprites. More... | |
#define | TILE_SEQ_END() { (int8_t)0x80, 0, 0, 0, 0, 0, {0, 0} } |
Constructor macro for a terminating DrawTileSeqStruct entry in an array. | |
#define | TILE_SPRITE_LINE(img, dtss) { {img, PAL_NONE}, dtss }, |
Constructor macro of a DrawTileSprites structure. More... | |
#define | TILE_SPRITE_NULL() { {0, 0}, nullptr }, |
Variables | |
static const DrawTileSeqStruct | _station_display_nothing [] |
static const DrawTileSeqStruct | _station_display_datas_0 [] |
static const DrawTileSeqStruct | _station_display_datas_1 [] |
static const DrawTileSeqStruct | _station_display_datas_2 [] |
static const DrawTileSeqStruct | _station_display_datas_3 [] |
static const DrawTileSeqStruct | _station_display_datas_4 [] |
static const DrawTileSeqStruct | _station_display_datas_5 [] |
static const DrawTileSeqStruct | _station_display_datas_6 [] |
static const DrawTileSeqStruct | _station_display_datas_7 [] |
static const DrawTileSeqStruct | _station_display_fence_nw [] |
static const DrawTileSeqStruct | _station_display_fence_ne [] |
static const DrawTileSeqStruct | _station_display_fence_sw [] |
static const DrawTileSeqStruct | _station_display_fence_se [] |
static const DrawTileSeqStruct | _station_display_terminal_a [] |
static const DrawTileSeqStruct | _station_display_tower_fence_sw [] |
static const DrawTileSeqStruct | _station_display_concourse [] |
static const DrawTileSeqStruct | _station_display_datas_terminal_b [] |
static const DrawTileSeqStruct | _station_display_datas_terminal_c [] |
static const DrawTileSeqStruct | _station_display_hangar_se [] |
static const DrawTileSeqStruct | _station_display_jetway_1 [] |
static const DrawTileSeqStruct | _station_display_jetway_2 [] |
static const DrawTileSeqStruct | _station_display_jetway_3 [] |
static const DrawTileSeqStruct | _station_display_passenger_tunnel [] |
static const DrawTileSeqStruct | _station_display_radar_1_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_2_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_3_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_4_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_5_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_6_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_7_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_8_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_9_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_10_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_11_fence_sw [] |
static const DrawTileSeqStruct | _station_display_radar_12_fence_sw [] |
static const DrawTileSeqStruct | _station_display_transmitter_fence_ne [] |
static const DrawTileSeqStruct | _station_display_datas_terminal_c_2 [] |
static const DrawTileSeqStruct | _station_display_flag_1_fence_ne [] |
static const DrawTileSeqStruct | _station_display_flag_2_fence_ne [] |
static const DrawTileSeqStruct | _station_display_flag_3_fence_ne [] |
static const DrawTileSeqStruct | _station_display_flag_4_fence_ne [] |
static const DrawTileSeqStruct | _station_display_small_depot_se [] |
static const DrawTileSeqStruct | _station_display_heliport [] |
static const DrawTileSeqStruct | _station_display_datas_67 [] |
static const DrawTileSeqStruct | _station_display_datas_68 [] |
static const DrawTileSeqStruct | _station_display_datas_69 [] |
static const DrawTileSeqStruct | _station_display_datas_70 [] |
static const DrawTileSeqStruct | _station_display_datas_71 [] |
static const DrawTileSeqStruct | _station_display_datas_72 [] |
static const DrawTileSeqStruct | _station_display_datas_73 [] |
static const DrawTileSeqStruct | _station_display_datas_74 [] |
static const DrawTileSeqStruct | _station_display_datas_76 [] |
static const DrawTileSeqStruct | _station_display_datas_77 [] |
static const DrawTileSeqStruct | _station_display_datas_78 [] |
static const DrawTileSeqStruct | _station_display_datas_79 [] |
static const DrawTileSeqStruct | _station_display_datas_80 [] |
static const DrawTileSeqStruct | _station_display_datas_81 [] |
static const DrawTileSeqStruct | _station_display_datas_82 [] |
static const DrawTileSeqStruct | _station_display_tower [] |
static const DrawTileSeqStruct | _station_display_radar_1_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_2_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_3_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_4_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_5_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_6_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_7_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_8_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_9_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_10_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_11_fence_ne [] |
static const DrawTileSeqStruct | _station_display_radar_12_fence_ne [] |
static const DrawTileSeqStruct | _station_display_helipad_fence_sw [] |
static const DrawTileSeqStruct | _station_display_helipad_fence_nw [] |
static const DrawTileSeqStruct | _station_display_helipad [] |
static const DrawTileSeqStruct | _station_display_fence_ne_sw [] |
static const DrawTileSeqStruct | _station_display_fence_nw_sw [] |
static const DrawTileSeqStruct | _station_display_fence_se_sw [] |
static const DrawTileSeqStruct | _station_display_fence_ne_nw [] |
static const DrawTileSeqStruct | _station_display_fence_ne_se [] |
static const DrawTileSeqStruct | _station_display_helipad_fence_NE_SE [] |
static const DrawTileSeqStruct | _station_display_low_building_fence_ne_nw [] |
static const DrawTileSeqStruct | _station_display_hangar_sw [] |
static const DrawTileSeqStruct | _station_display_hangar_nw [] |
static const DrawTileSeqStruct | _station_display_hangar_ne [] |
static const DrawTileSeqStruct | _station_display_helipad_fence_se_sw [] |
static const DrawTileSeqStruct | _station_display_helipad_fence_se [] |
static const DrawTileSeqStruct | _station_display_low_building_fence_nw [] |
static const DrawTileSeqStruct | _station_display_low_building_fence_ne [] |
static const DrawTileSeqStruct | _station_display_low_building_fence_sw [] |
static const DrawTileSeqStruct | _station_display_low_building_fence_se [] |
static const DrawTileSeqStruct | _station_display_helipad_fence_nw_sw [] |
static const DrawTileSeqStruct | _station_display_radar_1_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_2_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_3_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_4_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_5_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_6_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_7_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_8_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_9_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_10_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_11_fence_se [] |
static const DrawTileSeqStruct | _station_display_radar_12_fence_se [] |
static const DrawTileSeqStruct | _station_display_newhelipad_fence_se_sw [] |
static const DrawTileSeqStruct | _station_display_newhelipad_fence_nw_sw [] |
static const DrawTileSeqStruct | _station_display_newhelipad_fence_nw [] |
static const DrawTileSeqStruct | _station_display_low_building [] |
static const DrawTileSeqStruct | _station_display_grass_west [] |
static const DrawTileSeqStruct | _station_display_grass_east [] |
static const DrawTileSeqStruct | _station_display_datas_0168 [] |
static const DrawTileSeqStruct | _station_display_datas_0169 [] |
static const DrawTileSeqStruct | _station_display_datas_0170 [] |
static const DrawTileSeqStruct | _station_display_datas_0171 [] |
static const DrawTileSeqStruct | _station_display_datas_road_waypoint_X [] |
static const DrawTileSeqStruct | _station_display_datas_road_waypoint_Y [] |
static const DrawTileSeqStruct | _station_display_datas_waypoint_X [] |
static const DrawTileSeqStruct | _station_display_datas_waypoint_Y [] |
const DrawTileSprites | _station_display_datas_rail [] |
static const DrawTileSprites | _station_display_datas_airport [] |
static const DrawTileSprites | _station_display_datas_airport_radar_grass_fence_sw [] |
static const DrawTileSprites | _station_display_datas_airport_flag_grass_fence_ne [] |
static const DrawTileSprites | _station_display_datas_airport_radar_fence_sw [] |
static const DrawTileSprites | _station_display_datas_airport_radar_fence_ne [] |
static const DrawTileSprites | _station_display_datas_airport_flag_grass_fence_ne_2 [] |
static const DrawTileSprites | _station_display_datas_truck [] |
static const DrawTileSprites | _station_display_datas_bus [] |
static const DrawTileSprites | _station_display_datas_road_waypoint [] |
static const DrawTileSprites | _station_display_datas_oilrig [] |
static const DrawTileSprites | _station_display_datas_dock [] |
static const DrawTileSprites | _station_display_datas_buoy [] |
static const DrawTileSprites | _station_display_datas_waypoint [] |
static const std::array< std::span< const DrawTileSprites >, STATION_END > | _station_display_datas |
Sprites to use and how to display them for station tiles.
Definition in file station_land.h.
#define TILE_SEQ_CHILD | ( | dx, | |
dy, | |||
img, | |||
pal | |||
) | TILE_SEQ_LINE_PAL(dx, dy, (int8_t)0x80, 0, 0, 0, img, pal) |
Constructor macro for an image without bounding box.
dx | Screen X offset from parent sprite |
dy | Screen Y offset from parent sprite |
img | Sprite to draw |
pal | Palette sprite |
Definition at line 42 of file station_land.h.
#define TILE_SEQ_GROUND | ( | dx, | |
dy, | |||
dz, | |||
img | |||
) | TILE_SEQ_CHILD(2 * (dy - dx), dx + dy - dz, img, PAL_NONE) |
Constructor macro for additional ground sprites.
These need to be at the front of a DrawTileSeqStruct sequence.
dx | Offset in x direction |
dy | Offset in y direction |
dz | Offset in z direction |
img | Sprite to draw |
Definition at line 52 of file station_land.h.
#define TILE_SEQ_LINE | ( | dx, | |
dy, | |||
dz, | |||
sx, | |||
sy, | |||
sz, | |||
img | |||
) | TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, PAL_NONE) |
Constructor macro for an image without a palette in a DrawTileSeqStruct array.
dx | Offset in x direction |
dy | Offset in y direction |
dz | Offset in z direction |
sx | Size in x direction |
sy | Size in y direction |
sz | Size in z direction |
img | Sprite to draw |
Definition at line 20 of file station_land.h.
#define TILE_SEQ_LINE_PAL | ( | dx, | |
dy, | |||
dz, | |||
sx, | |||
sy, | |||
sz, | |||
img, | |||
pal | |||
) | { dx, dy, dz, sx, sy, sz, {img, pal} }, |
Constructor macro for an image with a palette in a DrawTileSeqStruct array.
dx | Offset in x direction |
dy | Offset in y direction |
dz | Offset in z direction |
sx | Size in x direction |
sy | Size in y direction |
sz | Size in z direction |
img | Sprite to draw |
pal | Palette sprite |
Definition at line 33 of file station_land.h.
#define TILE_SPRITE_LINE | ( | img, | |
dtss | |||
) | { {img, PAL_NONE}, dtss }, |
Constructor macro of a DrawTileSprites structure.
img | Ground sprite without palette of the tile |
dtss | Sequence child sprites of the tile |
Definition at line 803 of file station_land.h.
|
static |
Definition at line 148 of file station_land.h.
|
static |
Definition at line 1016 of file station_land.h.
|
static |
Definition at line 61 of file station_land.h.
|
static |
Definition at line 739 of file station_land.h.
|
static |
Definition at line 746 of file station_land.h.
|
static |
Definition at line 753 of file station_land.h.
|
static |
Definition at line 760 of file station_land.h.
|
static |
Definition at line 67 of file station_land.h.
|
static |
Definition at line 73 of file station_land.h.
|
static |
Definition at line 79 of file station_land.h.
|
static |
Definition at line 85 of file station_land.h.
|
static |
Definition at line 93 of file station_land.h.
|
static |
Definition at line 101 of file station_land.h.
|
static |
Definition at line 308 of file station_land.h.
|
static |
Definition at line 315 of file station_land.h.
|
static |
Definition at line 322 of file station_land.h.
|
static |
Definition at line 109 of file station_land.h.
|
static |
Definition at line 329 of file station_land.h.
|
static |
Definition at line 336 of file station_land.h.
|
static |
Definition at line 343 of file station_land.h.
|
static |
Definition at line 350 of file station_land.h.
|
static |
Definition at line 357 of file station_land.h.
|
static |
Definition at line 364 of file station_land.h.
|
static |
Definition at line 369 of file station_land.h.
|
static |
Definition at line 374 of file station_land.h.
|
static |
Definition at line 379 of file station_land.h.
|
static |
Definition at line 384 of file station_land.h.
|
static |
Definition at line 389 of file station_land.h.
|
static |
Definition at line 395 of file station_land.h.
|
static |
Definition at line 909 of file station_land.h.
|
static |
Definition at line 946 of file station_land.h.
|
static |
Definition at line 931 of file station_land.h.
|
static |
Definition at line 916 of file station_land.h.
|
static |
Definition at line 894 of file station_land.h.
|
static |
Definition at line 994 of file station_land.h.
|
static |
Definition at line 963 of file station_land.h.
|
static |
Definition at line 985 of file station_land.h.
|
static |
Definition at line 981 of file station_land.h.
|
extern |
|
static |
Definition at line 972 of file station_land.h.
|
static |
Definition at line 767 of file station_land.h.
|
static |
Definition at line 774 of file station_land.h.
|
static |
Definition at line 153 of file station_land.h.
|
static |
Definition at line 158 of file station_land.h.
|
static |
Definition at line 268 of file station_land.h.
|
static |
Definition at line 954 of file station_land.h.
|
static |
Definition at line 998 of file station_land.h.
|
static |
Definition at line 780 of file station_land.h.
|
static |
Definition at line 786 of file station_land.h.
|
static |
Definition at line 122 of file station_land.h.
|
static |
Definition at line 523 of file station_land.h.
|
static |
Definition at line 530 of file station_land.h.
|
static |
Definition at line 502 of file station_land.h.
|
static |
Definition at line 117 of file station_land.h.
|
static |
Definition at line 509 of file station_land.h.
|
static |
Definition at line 132 of file station_land.h.
|
static |
Definition at line 516 of file station_land.h.
|
static |
Definition at line 127 of file station_land.h.
|
static |
Definition at line 273 of file station_land.h.
|
static |
Definition at line 279 of file station_land.h.
|
static |
Definition at line 285 of file station_land.h.
|
static |
Definition at line 291 of file station_land.h.
|
static |
Definition at line 733 of file station_land.h.
|
static |
Definition at line 727 of file station_land.h.
|
static |
Definition at line 566 of file station_land.h.
|
static |
Definition at line 560 of file station_land.h.
|
static |
Definition at line 163 of file station_land.h.
|
static |
Definition at line 553 of file station_land.h.
|
static |
Definition at line 496 of file station_land.h.
|
static |
Definition at line 537 of file station_land.h.
|
static |
Definition at line 489 of file station_land.h.
|
static |
Definition at line 615 of file station_land.h.
|
static |
Definition at line 580 of file station_land.h.
|
static |
Definition at line 572 of file station_land.h.
|
static |
Definition at line 482 of file station_land.h.
|
static |
Definition at line 303 of file station_land.h.
|
static |
Definition at line 169 of file station_land.h.
|
static |
Definition at line 175 of file station_land.h.
|
static |
Definition at line 180 of file station_land.h.
|
static |
Definition at line 721 of file station_land.h.
|
static |
Definition at line 594 of file station_land.h.
|
static |
Definition at line 545 of file station_land.h.
|
static |
Definition at line 587 of file station_land.h.
|
static |
Definition at line 608 of file station_land.h.
|
static |
Definition at line 601 of file station_land.h.
|
static |
Definition at line 714 of file station_land.h.
|
static |
Definition at line 706 of file station_land.h.
|
static |
Definition at line 698 of file station_land.h.
|
static |
Definition at line 57 of file station_land.h.
|
static |
Definition at line 185 of file station_land.h.
|
static |
Definition at line 462 of file station_land.h.
|
static |
Definition at line 678 of file station_land.h.
|
static |
Definition at line 244 of file station_land.h.
|
static |
Definition at line 468 of file station_land.h.
|
static |
Definition at line 684 of file station_land.h.
|
static |
Definition at line 250 of file station_land.h.
|
static |
Definition at line 474 of file station_land.h.
|
static |
Definition at line 690 of file station_land.h.
|
static |
Definition at line 256 of file station_land.h.
|
static |
Definition at line 408 of file station_land.h.
|
static |
Definition at line 624 of file station_land.h.
|
static |
Definition at line 190 of file station_land.h.
|
static |
Definition at line 414 of file station_land.h.
|
static |
Definition at line 630 of file station_land.h.
|
static |
Definition at line 196 of file station_land.h.
|
static |
Definition at line 420 of file station_land.h.
|
static |
Definition at line 636 of file station_land.h.
|
static |
Definition at line 202 of file station_land.h.
|
static |
Definition at line 426 of file station_land.h.
|
static |
Definition at line 642 of file station_land.h.
|
static |
Definition at line 208 of file station_land.h.
|
static |
Definition at line 432 of file station_land.h.
|
static |
Definition at line 648 of file station_land.h.
|
static |
Definition at line 214 of file station_land.h.
|
static |
Definition at line 438 of file station_land.h.
|
static |
Definition at line 654 of file station_land.h.
|
static |
Definition at line 220 of file station_land.h.
|
static |
Definition at line 444 of file station_land.h.
|
static |
Definition at line 660 of file station_land.h.
|
static |
Definition at line 226 of file station_land.h.
|
static |
Definition at line 450 of file station_land.h.
|
static |
Definition at line 666 of file station_land.h.
|
static |
Definition at line 232 of file station_land.h.
|
static |
Definition at line 456 of file station_land.h.
|
static |
Definition at line 672 of file station_land.h.
|
static |
Definition at line 238 of file station_land.h.
|
static |
Definition at line 297 of file station_land.h.
|
static |
Definition at line 137 of file station_land.h.
|
static |
Definition at line 401 of file station_land.h.
|
static |
Definition at line 142 of file station_land.h.
|
static |
Definition at line 262 of file station_land.h.