diff options
author | frosch <frosch@openttd.org> | 2011-01-14 15:34:33 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-01-14 15:34:33 +0000 |
commit | 3d1008318bf78ab89849f0f2f77c5abf999229d8 (patch) | |
tree | b184b3eaee6c87ac30738864d79f51d5d4cd0b24 /src/blitter/base.hpp | |
parent | 09d7f172a6a6362c243880fd32b66688d53da5a4 (diff) | |
download | openttd-3d1008318bf78ab89849f0f2f77c5abf999229d8.tar.xz |
(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h
Diffstat (limited to 'src/blitter/base.hpp')
-rw-r--r-- | src/blitter/base.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp index 52ded3659..03898582c 100644 --- a/src/blitter/base.hpp +++ b/src/blitter/base.hpp @@ -46,8 +46,6 @@ public: PALETTE_ANIMATION_BLITTER, ///< The blitter takes care of the palette animation }; - typedef void *AllocatorProc(size_t size); - /** * Get the screen depth this blitter works for. * This is either: 8, 16, 24 or 32. @@ -73,7 +71,7 @@ public: /** * Convert a sprite from the loader to our own format. */ - virtual Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator) = 0; + virtual Sprite *Encode(SpriteLoader::Sprite *sprite, AllocatorProc *allocator) = 0; /** * Move the destination pointer the requested amount x and y, keeping in mind |