forked from mirror/OpenTTD
(svn r21788) -Codechange: Enable GetRawSprite() to also load sprites not using the spritecache but a custom allocator function.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user