OpenTTD Source 20250312-master-gcdcc6b491d
|
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_SPRITE_LINE(img, dtss) { {img, PAL_NONE}, dtss }, |
Constructor macro of a DrawTileSpriteSpan structure. | |
#define | TILE_SPRITE_LINE_NOTHING(img) { {img, PAL_NONE} }, |
#define | TILE_SPRITE_NULL() { {0, 0} }, |
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 DrawTileSpriteSpan structure.
img | Ground sprite without palette of the tile |
dtss | Sequence child sprites of the tile |
Definition at line 679 of file station_land.h.
#define TILE_SPRITE_LINE_NOTHING | ( | img | ) | { {img, PAL_NONE} }, |
Definition at line 680 of file station_land.h.
#define TILE_SPRITE_NULL | ( | ) | { {0, 0} }, |
Definition at line 681 of file station_land.h.
|
static |
Definition at line 127 of file station_land.h.
|
static |
Definition at line 894 of file station_land.h.
|
static |
Definition at line 54 of file station_land.h.
|
static |
Definition at line 624 of file station_land.h.
|
static |
Definition at line 630 of file station_land.h.
|
static |
Definition at line 636 of file station_land.h.
|
static |
Definition at line 642 of file station_land.h.
|
static |
Definition at line 59 of file station_land.h.
|
static |
Definition at line 64 of file station_land.h.
|
static |
Definition at line 69 of file station_land.h.
|
static |
Definition at line 74 of file station_land.h.
|
static |
Definition at line 81 of file station_land.h.
|
static |
Definition at line 88 of file station_land.h.
|
static |
Definition at line 259 of file station_land.h.
|
static |
Definition at line 265 of file station_land.h.
|
static |
Definition at line 271 of file station_land.h.
|
static |
Definition at line 95 of file station_land.h.
|
static |
Definition at line 277 of file station_land.h.
|
static |
Definition at line 283 of file station_land.h.
|
static |
Definition at line 289 of file station_land.h.
|
static |
Definition at line 295 of file station_land.h.
|
static |
Definition at line 301 of file station_land.h.
|
static |
Definition at line 307 of file station_land.h.
|
static |
Definition at line 311 of file station_land.h.
|
static |
Definition at line 315 of file station_land.h.
|
static |
Definition at line 319 of file station_land.h.
|
static |
Definition at line 323 of file station_land.h.
|
static |
Definition at line 327 of file station_land.h.
|
static |
Definition at line 332 of file station_land.h.
|
static |
Definition at line 694 of file station_land.h.
|
static |
Definition at line 786 of file station_land.h.
|
static |
Definition at line 823 of file station_land.h.
|
static |
Definition at line 808 of file station_land.h.
|
static |
Definition at line 793 of file station_land.h.
|
static |
Definition at line 771 of file station_land.h.
|
static |
Definition at line 871 of file station_land.h.
|
static |
Definition at line 840 of file station_land.h.
|
static |
Definition at line 862 of file station_land.h.
|
static |
Definition at line 858 of file station_land.h.
|
extern |
|
static |
Definition at line 849 of file station_land.h.
|
static |
Definition at line 648 of file station_land.h.
|
static |
Definition at line 654 of file station_land.h.
|
static |
Definition at line 131 of file station_land.h.
|
static |
Definition at line 135 of file station_land.h.
|
static |
Definition at line 226 of file station_land.h.
|
static |
Definition at line 831 of file station_land.h.
|
static |
Definition at line 875 of file station_land.h.
|
static |
Definition at line 659 of file station_land.h.
|
static |
Definition at line 664 of file station_land.h.
|
static |
Definition at line 106 of file station_land.h.
|
static |
Definition at line 440 of file station_land.h.
|
static |
Definition at line 446 of file station_land.h.
|
static |
Definition at line 422 of file station_land.h.
|
static |
Definition at line 102 of file station_land.h.
|
static |
Definition at line 428 of file station_land.h.
|
static |
Definition at line 114 of file station_land.h.
|
static |
Definition at line 434 of file station_land.h.
|
static |
Definition at line 110 of file station_land.h.
|
static |
Definition at line 230 of file station_land.h.
|
static |
Definition at line 235 of file station_land.h.
|
static |
Definition at line 240 of file station_land.h.
|
static |
Definition at line 245 of file station_land.h.
|
static |
Definition at line 619 of file station_land.h.
|
static |
Definition at line 614 of file station_land.h.
|
static |
Definition at line 477 of file station_land.h.
|
static |
Definition at line 472 of file station_land.h.
|
static |
Definition at line 139 of file station_land.h.
|
static |
Definition at line 466 of file station_land.h.
|
static |
Definition at line 417 of file station_land.h.
|
static |
Definition at line 452 of file station_land.h.
|
static |
Definition at line 411 of file station_land.h.
|
static |
Definition at line 519 of file station_land.h.
|
static |
Definition at line 489 of file station_land.h.
|
static |
Definition at line 482 of file station_land.h.
|
static |
Definition at line 405 of file station_land.h.
|
static |
Definition at line 255 of file station_land.h.
|
static |
Definition at line 144 of file station_land.h.
|
static |
Definition at line 149 of file station_land.h.
|
static |
Definition at line 153 of file station_land.h.
|
static |
Definition at line 609 of file station_land.h.
|
static |
Definition at line 501 of file station_land.h.
|
static |
Definition at line 459 of file station_land.h.
|
static |
Definition at line 495 of file station_land.h.
|
static |
Definition at line 513 of file station_land.h.
|
static |
Definition at line 507 of file station_land.h.
|
static |
Definition at line 603 of file station_land.h.
|
static |
Definition at line 596 of file station_land.h.
|
static |
Definition at line 589 of file station_land.h.
|
static |
Definition at line 157 of file station_land.h.
|
static |
Definition at line 388 of file station_land.h.
|
static |
Definition at line 572 of file station_land.h.
|
static |
Definition at line 206 of file station_land.h.
|
static |
Definition at line 393 of file station_land.h.
|
static |
Definition at line 577 of file station_land.h.
|
static |
Definition at line 211 of file station_land.h.
|
static |
Definition at line 398 of file station_land.h.
|
static |
Definition at line 582 of file station_land.h.
|
static |
Definition at line 216 of file station_land.h.
|
static |
Definition at line 343 of file station_land.h.
|
static |
Definition at line 527 of file station_land.h.
|
static |
Definition at line 161 of file station_land.h.
|
static |
Definition at line 348 of file station_land.h.
|
static |
Definition at line 532 of file station_land.h.
|
static |
Definition at line 166 of file station_land.h.
|
static |
Definition at line 353 of file station_land.h.
|
static |
Definition at line 537 of file station_land.h.
|
static |
Definition at line 171 of file station_land.h.
|
static |
Definition at line 358 of file station_land.h.
|
static |
Definition at line 542 of file station_land.h.
|
static |
Definition at line 176 of file station_land.h.
|
static |
Definition at line 363 of file station_land.h.
|
static |
Definition at line 547 of file station_land.h.
|
static |
Definition at line 181 of file station_land.h.
|
static |
Definition at line 368 of file station_land.h.
|
static |
Definition at line 552 of file station_land.h.
|
static |
Definition at line 186 of file station_land.h.
|
static |
Definition at line 373 of file station_land.h.
|
static |
Definition at line 557 of file station_land.h.
|
static |
Definition at line 191 of file station_land.h.
|
static |
Definition at line 378 of file station_land.h.
|
static |
Definition at line 562 of file station_land.h.
|
static |
Definition at line 196 of file station_land.h.
|
static |
Definition at line 383 of file station_land.h.
|
static |
Definition at line 567 of file station_land.h.
|
static |
Definition at line 201 of file station_land.h.
|
static |
Definition at line 250 of file station_land.h.
|
static |
Definition at line 118 of file station_land.h.
|
static |
Definition at line 337 of file station_land.h.
|
static |
Definition at line 122 of file station_land.h.
|
static |
Definition at line 221 of file station_land.h.