summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-10 05:43:30 +0000
committertron <tron@openttd.org>2005-02-10 05:43:30 +0000
commit2a151d93546db1d867a7cc0691a5c0e5973a4b98 (patch)
treef80e3d1416973b1e780618876d295c1ff823868a /gfx.h
parent092e72d60db91b631099d1844eba1b909e279756 (diff)
downloadopenttd-2a151d93546db1d867a7cc0691a5c0e5973a4b98.tar.xz
(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gfx.h b/gfx.h
index bbeb7b614..de202d298 100644
--- a/gfx.h
+++ b/gfx.h
@@ -69,11 +69,6 @@ bool FillDrawPixelInfo(DrawPixelInfo *n, DrawPixelInfo *o, int left, int top, in
/* window.c */
void DrawOverlappedWindowForAll(int left, int top, int right, int bottom);
-/* spritecache.c */
-byte *GetSpritePtr(uint sprite);
-void GfxInitSpriteMem(byte *ptr, uint32 size);
-void GfxLoadSprites(void);
-
void SetMouseCursor(uint cursor);
void SetAnimatedMouseCursor(const uint16 *table);
void CursorTick(void);
@@ -83,13 +78,6 @@ void UndrawMouseCursor(void);
bool ChangeResInGame(int w, int h);
void ToggleFullScreen(const bool full_screen);
-typedef struct {
- int xoffs, yoffs;
- int xsize, ysize;
-} SpriteDimension;
-
-const SpriteDimension *GetSpriteDimension(uint sprite);
-
/* gfx.c */
VARDEF int _stringwidth_base;
VARDEF byte _stringwidth_table[0x2A0];