OpenTTD Source 20241224-master-gee860a5c8e
|
Internal functions to cache sprites in memory. More...
#include "stdafx.h"
#include "core/math_func.hpp"
#include "gfx_type.h"
#include "spriteloader/spriteloader.hpp"
#include "table/sprites.h"
Go to the source code of this file.
Data Structures | |
struct | SpriteCache |
class | CacheSpriteAllocator |
SpriteAllocator that allocates memory from the sprite cache. More... | |
Functions | |
bool | IsMapgenSpriteID (SpriteID sprite) |
SpriteCache * | AllocateSpriteCache (uint index) |
Internal functions to cache sprites in memory.
Definition in file spritecache_internal.h.
SpriteCache * AllocateSpriteCache | ( | uint | index | ) |
Definition at line 44 of file spritecache.cpp.
|
inline |
Definition at line 41 of file spritecache_internal.h.