From a9d4147eb28618727c7f8ad013146d04350d3ffe Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 3 Jan 2010 20:55:00 +0000 Subject: (svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences. --- src/viewport_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/viewport_func.h') diff --git a/src/viewport_func.h b/src/viewport_func.h index f749e80ff..e025f1c8a 100644 --- a/src/viewport_func.h +++ b/src/viewport_func.h @@ -46,7 +46,7 @@ static inline void MaxZoomInOut(int how, Window *w) void OffsetGroundSprite(int x, int y); void DrawGroundSprite(SpriteID image, SpriteID pal, const SubSprite *sub = NULL, int extra_offs_x = 0, int extra_offs_y = 0); -void DrawGroundSpriteAt(SpriteID image, SpriteID pal, int32 x, int32 y, byte z, const SubSprite *sub = NULL, int extra_offs_x = 0, int extra_offs_y = 0); +void DrawGroundSpriteAt(SpriteID image, SpriteID pal, int32 x, int32 y, int z, const SubSprite *sub = NULL, int extra_offs_x = 0, int extra_offs_y = 0); void AddSortableSpriteToDraw(SpriteID image, SpriteID pal, int x, int y, int w, int h, int dz, int z, bool transparent = false, int bb_offset_x = 0, int bb_offset_y = 0, int bb_offset_z = 0, const SubSprite *sub = NULL); void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y, bool transparent = false, const SubSprite *sub = NULL); void ViewportAddString(const DrawPixelInfo *dpi, ZoomLevel small_from, const ViewportSign *sign, StringID string_normal, StringID string_small, StringID string_small_shadow, uint64 params_1, uint64 params_2 = 0, Colours colour = INVALID_COLOUR); -- cgit v1.2.3-54-g00ecf