OpenTTD Source
20241108-master-g80f628063a
|
SpriteAllocate that uses malloc to allocate memory. More...
#include <spritecache.h>
Protected Member Functions | |
void * | AllocatePtr (size_t size) override |
Sprite allocator simply using malloc. | |
Additional Inherited Members | |
Public Member Functions inherited from SpriteAllocator | |
template<typename T > | |
T * | Allocate (size_t size) |
Allocate memory for a sprite. More... | |
SpriteAllocate that uses malloc to allocate memory.
Definition at line 35 of file spritecache.h.