Mercurial > hg > openttd
comparison src/viewport_func.h @ 12115:6318d41ef9ef draft
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
author | frosch <frosch@openttd.org> |
---|---|
date | Sun, 07 Jun 2009 13:25:21 +0000 |
parents | 1d342902ac94 |
children | 561291e41257 |
comparison
equal
deleted
inserted
replaced
12114:f020ec6be498 | 12115:6318d41ef9ef |
---|---|
31 while (DoZoomInOutWindow(how, w)) {}; | 31 while (DoZoomInOutWindow(how, w)) {}; |
32 } | 32 } |
33 | 33 |
34 void OffsetGroundSprite(int x, int y); | 34 void OffsetGroundSprite(int x, int y); |
35 | 35 |
36 void DrawGroundSprite(SpriteID image, SpriteID pal, const SubSprite *sub = NULL); | 36 void DrawGroundSprite(SpriteID image, SpriteID pal, const SubSprite *sub = NULL, int extra_offs_x = 0, int extra_offs_y = 0); |
37 void DrawGroundSpriteAt(SpriteID image, SpriteID pal, int32 x, int32 y, byte z, const SubSprite *sub = NULL); | 37 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); |
38 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); | 38 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); |
39 void AddStringToDraw(int x, int y, StringID string, uint64 params_1, uint64 params_2, uint16 colour = 0, uint16 width = 0); | 39 void AddStringToDraw(int x, int y, StringID string, uint64 params_1, uint64 params_2, uint16 colour = 0, uint16 width = 0); |
40 void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y, bool transparent = false, const SubSprite *sub = NULL); | 40 void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y, bool transparent = false, const SubSprite *sub = NULL); |
41 | 41 |
42 | 42 |