summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-10 12:14:38 +0000
committertron <tron@openttd.org>2005-02-10 12:14:38 +0000
commit94c75f33bb896b32866fd062242067d773b0f7b1 (patch)
treeb487a5d141332ab7f42372d6735d5951cc75524e /gfx.h
parent2a151d93546db1d867a7cc0691a5c0e5973a4b98 (diff)
downloadopenttd-94c75f33bb896b32866fd062242067d773b0f7b1.tar.xz
(svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gfx.h b/gfx.h
index de202d298..9dcf01296 100644
--- a/gfx.h
+++ b/gfx.h
@@ -17,16 +17,6 @@ struct DrawPixelInfo {
};
-typedef struct Sprite {
- byte info;
- byte height;
- uint16 width; // LE!
- int16 x_offs; // LE!
- int16 y_offs; // LE!
- byte data[VARARRAY_SIZE];
-} Sprite;
-assert_compile(sizeof(Sprite) == 8);
-
typedef struct CursorVars {
Point pos, size, offs, delta;
Point draw_pos, draw_size;