Public Member Functions | Data Fields

CallbackResultSpriteGroup Struct Reference

Inheritance diagram for CallbackResultSpriteGroup:
SpriteGroup Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_spritegroup_pool >

Public Member Functions

 CallbackResultSpriteGroup (uint16 value, bool grf_version8)
 Creates a spritegroup representing a callback result.
uint16 GetCallbackResult () const

Data Fields

uint16 result

Detailed Description

Definition at line 239 of file newgrf_spritegroup.h.


Constructor & Destructor Documentation

CallbackResultSpriteGroup::CallbackResultSpriteGroup ( uint16  value,
bool  grf_version8 
) [inline]

Creates a spritegroup representing a callback result.

Parameters:
value The value that was used to represent this callback result
grf_version8 True, if we are dealing with a new NewGRF which uses GRF version >= 8.

Definition at line 245 of file newgrf_spritegroup.h.


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