SpriteCache Struct Reference

Data Fields

void * ptr [ZOOM_LVL_END]
size_t file_pos
uint32 id
uint16 file_slot
int16 lru
SpriteTypeByte type
 In some cases a single sprite is misused by two NewGRFs. Once as real sprite and once as recolour sprite. If the recolour sprite gets into the cache it might be drawn as real sprite which causes enormous trouble.
bool warned
 True iff the user has been warned about incorrect use of this sprite.

Detailed Description

Definition at line 33 of file spritecache.cpp.


The documentation for this struct was generated from the following file:

Generated on Wed Apr 13 00:49:03 2011 for OpenTTD by  doxygen 1.6.1