diff options
author | peter1138 <peter1138@openttd.org> | 2007-01-14 19:57:49 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-01-14 19:57:49 +0000 |
commit | ca9843424be6008d9b8019423f2ead65fdb75fe2 (patch) | |
tree | c62990da208a45b3bd1c7379a1835190458d5a49 /src/viewport.h | |
parent | c04c2b28245770aa7729b818fb876cd23c880620 (diff) | |
download | openttd-ca9843424be6008d9b8019423f2ead65fdb75fe2.tar.xz |
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
Diffstat (limited to 'src/viewport.h')
-rw-r--r-- | src/viewport.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/viewport.h b/src/viewport.h index 13f9538dd..94ee4631f 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -42,11 +42,11 @@ static inline void MaxZoomInOut(int how, Window *w) void OffsetGroundSprite(int x, int y); -void DrawGroundSprite(uint32 image); -void DrawGroundSpriteAt(uint32 image, int32 x, int32 y, byte z); -void AddSortableSpriteToDraw(uint32 image, int x, int y, int w, int h, byte dz, byte z); +void DrawGroundSprite(SpriteID image, SpriteID pal); +void DrawGroundSpriteAt(SpriteID image, SpriteID pal, int32 x, int32 y, byte z); +void AddSortableSpriteToDraw(SpriteID image, SpriteID pal, int x, int y, int w, int h, byte dz, byte z); void *AddStringToDraw(int x, int y, StringID string, uint32 params_1, uint32 params_2); -void AddChildSpriteScreen(uint32 image, int x, int y); +void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y); void StartSpriteCombine(void); |