From d3d34d2aac83bb6a3d53c5e05eb34f7057c6e0d1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 30 Aug 2008 09:46:52 +0000 Subject: (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. --- src/sprite.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sprite.h') 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 */ -- cgit v1.2.3-54-g00ecf