Fix display of zoning overlay sprites on half-tile foundations
Partly based on commit 598b781259a5c1ad25cf3de85807b9c79e9f08fe
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#include "station_type.h"
|
||||
#include "vehicle_base.h"
|
||||
|
||||
struct TileInfo;
|
||||
|
||||
static const int TILE_HEIGHT_STEP = 50; ///< One Z unit tile height difference is displayed as 50m.
|
||||
|
||||
void SetSelectionRed(bool);
|
||||
@@ -98,4 +100,7 @@ void ShowTooltipForTile(Window *w, const TileIndex tile);
|
||||
void ViewportMapClearTunnelCache();
|
||||
void ViewportMapInvalidateTunnelCacheByTile(const TileIndex tile);
|
||||
|
||||
void DrawTileSelectionRect(const TileInfo *ti, PaletteID pal);
|
||||
void DrawSelectionSprite(SpriteID image, PaletteID pal, const TileInfo *ti, int z_offset, FoundationPart foundation_part, const SubSprite *sub = NULL);
|
||||
|
||||
#endif /* VIEWPORT_FUNC_H */
|
||||
|
||||
Reference in New Issue
Block a user