diff options
author | frosch <frosch@openttd.org> | 2010-01-03 20:55:00 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-03 20:55:00 +0000 |
commit | a9d4147eb28618727c7f8ad013146d04350d3ffe (patch) | |
tree | 7e12fcbfcc09072b26c37158cb1a123b2a4571ae /src/viewport_func.h | |
parent | 8a50a4112c4cf425b3d47c189f80c4e053c047bc (diff) | |
download | openttd-a9d4147eb28618727c7f8ad013146d04350d3ffe.tar.xz |
(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.
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r-- | src/viewport_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |