OpenTTD
Static Public Attributes
HouseAnimationBase Struct Reference

Helper class for animation control. More...

Inheritance diagram for HouseAnimationBase:
AnimationBase< HouseAnimationBase, HouseSpec, Town, uint32, GetSimpleHouseCallback >

Static Public Attributes

static const CallbackID cb_animation_speed = CBID_HOUSE_ANIMATION_SPEED
static const CallbackID cb_animation_next_frame = CBID_HOUSE_ANIMATION_NEXT_FRAME
static const HouseCallbackMask cbm_animation_speed = CBM_HOUSE_ANIMATION_SPEED
static const HouseCallbackMask cbm_animation_next_frame = CBM_HOUSE_ANIMATION_NEXT_FRAME

Additional Inherited Members

- Static Public Member Functions inherited from AnimationBase< HouseAnimationBase, HouseSpec, Town, uint32, GetSimpleHouseCallback >
static void AnimateTile (const HouseSpec *spec, Town *obj, TileIndex tile, bool random_animation, uint32extra_data=0)
 Animate a single tile.
static void ChangeAnimationFrame (CallbackID cb, const HouseSpec *spec, Town *obj, TileIndex tile, uint32 random_bits, uint32 trigger, uint32extra_data=0)
 Check a callback to determine what the next animation step is and execute that step.

Detailed Description

Helper class for animation control.

Definition at line 509 of file newgrf_house.cpp.


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