20 #define TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img) TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, PAL_NONE) 33 #define TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, pal) { dx, dy, dz, sx, sy, sz, {img, pal} }, 42 #define TILE_SEQ_CHILD(dx, dy, img, pal) TILE_SEQ_LINE_PAL(dx, dy, (int8)0x80, 0, 0, 0, img, pal) 52 #define TILE_SEQ_GROUND(dx, dy, dz, img) TILE_SEQ_CHILD(2 * (dy - dx), dx + dy - dz, img, PAL_NONE) 55 #define TILE_SEQ_END() { (int8)0x80, 0, 0, 0, 0, 0, {0, 0} } 780 #undef TILE_SEQ_LINE_PAL 781 #undef TILE_SEQ_CHILD 782 #undef TILE_SEQ_GROUND 789 #define TILE_SPRITE_LINE(img, dtss) { {img, PAL_NONE}, dtss }, 790 #define TILE_SPRITE_NULL() { {0, 0}, nullptr }, 836 TILE_SPRITE_LINE(SPR_FLAT_GRASS_TILE, _station_display_transmitter_fence_ne)
867 TILE_SPRITE_LINE(SPR_AIRPORT_APRON, _station_display_low_building_fence_ne_nw)
870 TILE_SPRITE_LINE(SPR_AIRPORT_APRON, _station_display_newhelipad_fence_se_sw)
871 TILE_SPRITE_LINE(SPR_AIRPORT_APRON, _station_display_newhelipad_fence_nw_sw)
880 static const DrawTileSprites _station_display_datas_airport_radar_grass_fence_sw[] = {
895 static const DrawTileSprites _station_display_datas_airport_flag_grass_fence_ne[] = {
902 static const DrawTileSprites _station_display_datas_airport_radar_fence_sw[] = {
917 static const DrawTileSprites _station_display_datas_airport_radar_fence_ne[] = {
932 static const DrawTileSprites _station_display_datas_airport_flag_grass_fence_ne_2[] = {
986 #undef TILE_SPRITE_LINE 987 #undef TILE_SPRITE_NULL 991 assert_compile(
lengthof(_station_display_datas_rail) ==
lengthof(_station_display_datas_waypoint));
994 _station_display_datas_rail,
995 _station_display_datas_airport,
996 _station_display_datas_truck,
997 _station_display_datas_bus,
998 _station_display_datas_oilrig,
999 _station_display_datas_dock,
1000 _station_display_datas_buoy,
1001 _station_display_datas_waypoint,
static const SpriteID SPR_SHORE_BASE
shore tiles - action 05-0D
static const PaletteID PALETTE_TO_TRANSPARENT
This sets the sprite to transparent.
south and east corner are raised
#define TILE_SEQ_END()
Constructor macro for a terminating DrawTileSeqStruct entry in an array.
south and west corner are raised
north and east corner are raised
Ground palette sprite of a tile, together with its sprite layout.
#define TILE_SEQ_GROUND(dx, dy, dz, img)
Constructor macro for additional ground sprites.
#define lengthof(x)
Return the length of an fixed size array.
this bit is set when a recolouring process is in action
north and west corner are raised
when a sprite is to be displayed transparently, this bit needs to be set.
#define TILE_SPRITE_LINE(img, dtss)
Constructor macro of a DrawTileSprites structure.
#define TILE_SEQ_CHILD(dx, dy, img, pal)
Constructor macro for an image without bounding box.
A tile child sprite and palette to draw for stations etc, with 3D bounding box.
#define TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img)
Constructor macro for an image without a palette in a DrawTileSeqStruct array.