OpenTTD Source  14.0-beta3
spritecache_internal.h File Reference
#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
 

Functions

bool IsMapgenSpriteID (SpriteID sprite)
 
void * AllocSprite (size_t mem_req)
 
SpriteCacheAllocateSpriteCache (uint index)
 

Detailed Description

Internal functions to cache sprites in memory.

Definition in file spritecache_internal.h.