22 #define TILE_SEQ_LINE(dx, dy, dz, sx, sy, sz, img) TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, PAL_NONE) 35 #define TILE_SEQ_LINE_PAL(dx, dy, dz, sx, sy, sz, img, pal) { dx, dy, dz, sx, sy, sz, {img, pal} }, 44 #define TILE_SEQ_CHILD(dx, dy, img, pal) TILE_SEQ_LINE_PAL(dx, dy, (int8)0x80, 0, 0, 0, img, pal) 54 #define TILE_SEQ_GROUND(dx, dy, dz, img) TILE_SEQ_CHILD(2 * (dy - dx), dx + dy - dz, img, PAL_NONE) 57 #define TILE_SEQ_END() { (int8)0x80, 0, 0, 0, 0, 0, {0, 0} } 782 #undef TILE_SEQ_LINE_PAL 783 #undef TILE_SEQ_CHILD 784 #undef TILE_SEQ_GROUND 791 #define TILE_SPRITE_LINE(img, dtss) { {img, PAL_NONE}, dtss }, 792 #define TILE_SPRITE_NULL() { {0, 0}, NULL }, 838 TILE_SPRITE_LINE(SPR_FLAT_GRASS_TILE, _station_display_transmitter_fence_ne)
869 TILE_SPRITE_LINE(SPR_AIRPORT_APRON, _station_display_low_building_fence_ne_nw)
872 TILE_SPRITE_LINE(SPR_AIRPORT_APRON, _station_display_newhelipad_fence_se_sw)
873 TILE_SPRITE_LINE(SPR_AIRPORT_APRON, _station_display_newhelipad_fence_nw_sw)
882 static const DrawTileSprites _station_display_datas_airport_radar_grass_fence_sw[] = {
897 static const DrawTileSprites _station_display_datas_airport_flag_grass_fence_ne[] = {
904 static const DrawTileSprites _station_display_datas_airport_radar_fence_sw[] = {
919 static const DrawTileSprites _station_display_datas_airport_radar_fence_ne[] = {
934 static const DrawTileSprites _station_display_datas_airport_flag_grass_fence_ne_2[] = {
988 #undef TILE_SPRITE_LINE 989 #undef TILE_SPRITE_NULL 993 assert_compile(
lengthof(_station_display_datas_rail) ==
lengthof(_station_display_datas_waypoint));
996 _station_display_datas_rail,
997 _station_display_datas_airport,
998 _station_display_datas_truck,
999 _station_display_datas_bus,
1000 _station_display_datas_oilrig,
1001 _station_display_datas_dock,
1002 _station_display_datas_buoy,
1003 _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.