OpenTTD Source 20260206-master-g4d4e37dbf1
spritecache_internal.h File Reference

Internal functions to cache sprites in memory. More...

Go to the source code of this file.

Data Structures

struct  SpriteCache

Functions

bool IsMapgenSpriteID (SpriteID sprite)
SpriteCacheAllocateSpriteCache (uint index)

Detailed Description

Internal functions to cache sprites in memory.

Definition in file spritecache_internal.h.

Function Documentation

◆ AllocateSpriteCache()

SpriteCache * AllocateSpriteCache ( uint index)

Definition at line 42 of file spritecache.cpp.

◆ IsMapgenSpriteID()

bool IsMapgenSpriteID ( SpriteID sprite)
inline

Definition at line 36 of file spritecache_internal.h.