summaryrefslogtreecommitdiff
path: root/src/spritecache.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit979ccd45baa9a38169661ba379a341cae8619c3b (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/spritecache.h
parent4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff)
downloadopenttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/spritecache.h')
-rw-r--r--src/spritecache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spritecache.h b/src/spritecache.h
index f44656b01..8fe9772a9 100644
--- a/src/spritecache.h
+++ b/src/spritecache.h
@@ -3,14 +3,14 @@
#ifndef SPRITECACHE_H
#define SPRITECACHE_H
-typedef struct Sprite {
+struct Sprite {
byte info;
byte height;
uint16 width;
int16 x_offs;
int16 y_offs;
byte data[VARARRAY_SIZE];
-} Sprite;
+};
const void *GetRawSprite(SpriteID sprite);
bool SpriteExists(SpriteID sprite);