diff options
author | tron <tron@openttd.org> | 2005-02-10 05:43:30 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-10 05:43:30 +0000 |
commit | 2a151d93546db1d867a7cc0691a5c0e5973a4b98 (patch) | |
tree | f80e3d1416973b1e780618876d295c1ff823868a /gfx.h | |
parent | 092e72d60db91b631099d1844eba1b909e279756 (diff) | |
download | openttd-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.h | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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]; |