(svn r21788) -Codechange: Enable GetRawSprite() to also load sprites not using the spritecache but a custom allocator function.

This commit is contained in:
frosch
2011-01-14 16:36:34 +00:00
parent 6cb017456a
commit 93ae848b0a
2 changed files with 28 additions and 13 deletions

View File

@@ -27,7 +27,7 @@ extern uint _sprite_cache_size;
typedef void *AllocatorProc(size_t size);
void *GetRawSprite(SpriteID sprite, SpriteType type);
void *GetRawSprite(SpriteID sprite, SpriteType type, AllocatorProc *allocator = NULL);
bool SpriteExists(SpriteID sprite);
SpriteType GetSpriteType(SpriteID sprite);