OpenTTD
|
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. | |
#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. | |
#define | TILE_SEQ_CHILD(dx, dy, img, pal) TILE_SEQ_LINE_PAL(dx, dy, (int8)0x80, 0, 0, 0, img, pal) |
Constructor macro for an image without bounding box. | |
#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. | |
#define | TILE_SEQ_END() { (int8)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. | |
#define | TILE_SPRITE_NULL() { {0, 0}, NULL }, |
Functions | |
assert_compile (lengthof(_station_display_datas_rail)==lengthof(_station_display_datas_waypoint)) |
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_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_oilrig [] |
static const DrawTileSprites | _station_display_datas_dock [] |
static const DrawTileSprites | _station_display_datas_buoy [] |
static const DrawTileSprites | _station_display_datas_waypoint [] |
static const DrawTileSprites *const | _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)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 44 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 54 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 22 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 35 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 791 of file station_land.h.
|
static |
Definition at line 150 of file station_land.h.
|
static |
Definition at line 995 of file station_land.h.
|
static |
Definition at line 63 of file station_land.h.
|
static |
Definition at line 741 of file station_land.h.
|
static |
Definition at line 748 of file station_land.h.
|
static |
Definition at line 755 of file station_land.h.
|
static |
Definition at line 762 of file station_land.h.
|
static |
Definition at line 69 of file station_land.h.
|
static |
Definition at line 75 of file station_land.h.
|
static |
Definition at line 81 of file station_land.h.
|
static |
Definition at line 87 of file station_land.h.
|
static |
Definition at line 95 of file station_land.h.
|
static |
Definition at line 103 of file station_land.h.
|
static |
Definition at line 310 of file station_land.h.
|
static |
Definition at line 317 of file station_land.h.
|
static |
Definition at line 324 of file station_land.h.
|
static |
Definition at line 111 of file station_land.h.
|
static |
Definition at line 331 of file station_land.h.
|
static |
Definition at line 338 of file station_land.h.
|
static |
Definition at line 345 of file station_land.h.
|
static |
Definition at line 352 of file station_land.h.
|
static |
Definition at line 359 of file station_land.h.
|
static |
Definition at line 366 of file station_land.h.
|
static |
Definition at line 371 of file station_land.h.
|
static |
Definition at line 376 of file station_land.h.
|
static |
Definition at line 381 of file station_land.h.
|
static |
Definition at line 386 of file station_land.h.
|
static |
Definition at line 391 of file station_land.h.
|
static |
Definition at line 397 of file station_land.h.
|
static |
Definition at line 897 of file station_land.h.
|
static |
Definition at line 934 of file station_land.h.
|
static |
Definition at line 919 of file station_land.h.
|
static |
Definition at line 904 of file station_land.h.
|
static |
Definition at line 882 of file station_land.h.
|
static |
Definition at line 973 of file station_land.h.
|
static |
Definition at line 951 of file station_land.h.
|
static |
Definition at line 964 of file station_land.h.
|
static |
Definition at line 960 of file station_land.h.
const DrawTileSprites _station_display_datas_rail[] |
|
static |
Definition at line 155 of file station_land.h.
|
static |
Definition at line 160 of file station_land.h.
|
static |
Definition at line 270 of file station_land.h.
|
static |
Definition at line 942 of file station_land.h.
|
static |
Definition at line 977 of file station_land.h.
|
static |
Definition at line 768 of file station_land.h.
|
static |
Definition at line 774 of file station_land.h.
|
static |
Definition at line 124 of file station_land.h.
|
static |
Definition at line 525 of file station_land.h.
|
static |
Definition at line 532 of file station_land.h.
|
static |
Definition at line 504 of file station_land.h.
|
static |
Definition at line 119 of file station_land.h.
|
static |
Definition at line 511 of file station_land.h.
|
static |
Definition at line 134 of file station_land.h.
|
static |
Definition at line 518 of file station_land.h.
|
static |
Definition at line 129 of file station_land.h.
|
static |
Definition at line 275 of file station_land.h.
|
static |
Definition at line 281 of file station_land.h.
|
static |
Definition at line 287 of file station_land.h.
|
static |
Definition at line 293 of file station_land.h.
|
static |
Definition at line 735 of file station_land.h.
|
static |
Definition at line 729 of file station_land.h.
|
static |
Definition at line 568 of file station_land.h.
|
static |
Definition at line 562 of file station_land.h.
|
static |
Definition at line 165 of file station_land.h.
|
static |
Definition at line 555 of file station_land.h.
|
static |
Definition at line 498 of file station_land.h.
|
static |
Definition at line 539 of file station_land.h.
|
static |
Definition at line 491 of file station_land.h.
|
static |
Definition at line 617 of file station_land.h.
|
static |
Definition at line 582 of file station_land.h.
|
static |
Definition at line 574 of file station_land.h.
|
static |
Definition at line 484 of file station_land.h.
|
static |
Definition at line 305 of file station_land.h.
|
static |
Definition at line 171 of file station_land.h.
|
static |
Definition at line 177 of file station_land.h.
|
static |
Definition at line 182 of file station_land.h.
|
static |
Definition at line 723 of file station_land.h.
|
static |
Definition at line 596 of file station_land.h.
|
static |
Definition at line 547 of file station_land.h.
|
static |
Definition at line 589 of file station_land.h.
|
static |
Definition at line 610 of file station_land.h.
|
static |
Definition at line 603 of file station_land.h.
|
static |
Definition at line 716 of file station_land.h.
|
static |
Definition at line 708 of file station_land.h.
|
static |
Definition at line 700 of file station_land.h.
|
static |
Definition at line 59 of file station_land.h.
|
static |
Definition at line 187 of file station_land.h.
|
static |
Definition at line 464 of file station_land.h.
|
static |
Definition at line 680 of file station_land.h.
|
static |
Definition at line 246 of file station_land.h.
|
static |
Definition at line 470 of file station_land.h.
|
static |
Definition at line 686 of file station_land.h.
|
static |
Definition at line 252 of file station_land.h.
|
static |
Definition at line 476 of file station_land.h.
|
static |
Definition at line 692 of file station_land.h.
|
static |
Definition at line 258 of file station_land.h.
|
static |
Definition at line 410 of file station_land.h.
|
static |
Definition at line 626 of file station_land.h.
|
static |
Definition at line 192 of file station_land.h.
|
static |
Definition at line 416 of file station_land.h.
|
static |
Definition at line 632 of file station_land.h.
|
static |
Definition at line 198 of file station_land.h.
|
static |
Definition at line 422 of file station_land.h.
|
static |
Definition at line 638 of file station_land.h.
|
static |
Definition at line 204 of file station_land.h.
|
static |
Definition at line 428 of file station_land.h.
|
static |
Definition at line 644 of file station_land.h.
|
static |
Definition at line 210 of file station_land.h.
|
static |
Definition at line 434 of file station_land.h.
|
static |
Definition at line 650 of file station_land.h.
|
static |
Definition at line 216 of file station_land.h.
|
static |
Definition at line 440 of file station_land.h.
|
static |
Definition at line 656 of file station_land.h.
|
static |
Definition at line 222 of file station_land.h.
|
static |
Definition at line 446 of file station_land.h.
|
static |
Definition at line 662 of file station_land.h.
|
static |
Definition at line 228 of file station_land.h.
|
static |
Definition at line 452 of file station_land.h.
|
static |
Definition at line 668 of file station_land.h.
|
static |
Definition at line 234 of file station_land.h.
|
static |
Definition at line 458 of file station_land.h.
|
static |
Definition at line 674 of file station_land.h.
|
static |
Definition at line 240 of file station_land.h.
|
static |
Definition at line 299 of file station_land.h.
|
static |
Definition at line 139 of file station_land.h.
|
static |
Definition at line 403 of file station_land.h.
|
static |
Definition at line 144 of file station_land.h.
|
static |
Definition at line 264 of file station_land.h.