diff options
author | tron <tron@openttd.org> | 2005-08-08 21:35:27 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-08 21:35:27 +0000 |
commit | e42b560049dd76b600323ac5de1f5424f141926f (patch) | |
tree | 141477785c427feae7e947288ef130ed6317e658 /spritecache.h | |
parent | b67af2df3e6307e75e26f165b291ff3f9c9e4ad3 (diff) | |
download | openttd-e42b560049dd76b600323ac5de1f5424f141926f.tar.xz |
(svn r2845) Remove sprite size caching, it was unused
This makes GetSpriteDimension() superflous, because now it's just a thin wrapper around GetSprite() returning only part of the information, therefore remove it too
Diffstat (limited to 'spritecache.h')
-rw-r--r-- | spritecache.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spritecache.h b/spritecache.h index 3e24c0f0a..9d25f2bc7 100644 --- a/spritecache.h +++ b/spritecache.h @@ -12,12 +12,6 @@ typedef struct Sprite { byte data[VARARRAY_SIZE]; } Sprite; -typedef struct { - int xoffs, yoffs; - int xsize, ysize; -} SpriteDimension; - -const SpriteDimension *GetSpriteDimension(SpriteID sprite); const void *GetRawSprite(SpriteID sprite); static inline const Sprite *GetSprite(SpriteID sprite) |