OpenTTD Source 20241224-master-gf74b0cf984
|
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_t)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_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. | |
#define | TILE_SPRITE_NULL() { {0, 0}, nullptr }, |
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_END | ( | ) | { (int8_t)0x80, 0, 0, 0, 0, 0, {0, 0} } |
Constructor macro for a terminating DrawTileSeqStruct entry in an array.
Definition at line 55 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.
#define TILE_SPRITE_NULL | ( | ) | { {0, 0}, nullptr }, |
Definition at line 804 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 817 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.