summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-30 09:46:52 +0000
committerrubidium <rubidium@openttd.org>2008-08-30 09:46:52 +0000
commitd3d34d2aac83bb6a3d53c5e05eb34f7057c6e0d1 (patch)
tree0a942538fcf6d959026cc0ef41b03b81feb28867 /src/sprite.h
parente06c21426eaec662e64b02e3c0097dfaaa658d97 (diff)
downloadopenttd-d3d34d2aac83bb6a3d53c5e05eb34f7057c6e0d1.tar.xz
(svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sprite.h b/src/sprite.h
index b996280d8..26bdb0595 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -56,5 +56,6 @@ struct DrawBuildingsTileStruct {
/** Iterate through all DrawTileSeqStructs in DrawTileSprites. */
#define foreach_draw_tile_seq(idx, list) for (idx = list; ((byte) idx->delta_x) != 0x80; idx++)
+void SkipSpriteData(byte type, uint16 num);
#endif /* SPRITE_H */