OpenTTD Source 20241224-master-gf74b0cf984
|
Sprites to use and how to display them for water tiles (depots/locks). More...
Go to the source code of this file.
Macros | |
#define | TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img) { dx, dy, dz, sx, sy, sz, {img, PAL_NONE} }, |
Constructor macro for an image without a palette in a DrawTileSeqStruct array. | |
#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. | |
Sprites to use and how to display them for water tiles (depots/locks).
Definition in file water_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 23 of file water_land.h.
#define TILE_SEQ_LINE | ( | dx, | |
dy, | |||
dz, | |||
sx, | |||
sy, | |||
sz, | |||
img | |||
) | { 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 water_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 30 of file water_land.h.
|
static |
Definition at line 137 of file water_land.h.
|
static |
Definition at line 65 of file water_land.h.
|
static |
Definition at line 89 of file water_land.h.
|
static |
Definition at line 113 of file water_land.h.
|
static |
Definition at line 71 of file water_land.h.
|
static |
Definition at line 95 of file water_land.h.
|
static |
Definition at line 119 of file water_land.h.
|
static |
Definition at line 77 of file water_land.h.
|
static |
Definition at line 101 of file water_land.h.
|
static |
Definition at line 125 of file water_land.h.
|
static |
Definition at line 83 of file water_land.h.
|
static |
Definition at line 107 of file water_land.h.
|
static |
Definition at line 131 of file water_land.h.
|
static |
Definition at line 54 of file water_land.h.
|
static |
Definition at line 32 of file water_land.h.
|
static |
Definition at line 37 of file water_land.h.
|
static |
Definition at line 43 of file water_land.h.
|
static |
Definition at line 48 of file water_land.h.