diff options
author | yexo <yexo@openttd.org> | 2010-02-22 14:16:57 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 14:16:57 +0000 |
commit | 7ca4c31cf558ff29b3cbe14cd348bcf649445dfc (patch) | |
tree | 7577f2eda50659c477bdfd9bfbc8068bb47261e5 /src/newgrf_callbacks.h | |
parent | 61fe40ba73e84931d22f015783ce3c1817293b96 (diff) | |
download | openttd-7ca4c31cf558ff29b3cbe14cd348bcf649445dfc.tar.xz |
(svn r19197) -Codechange: introduce animation callbacks for airport tiles
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r-- | src/newgrf_callbacks.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h index 661445017..ed8cb1029 100644 --- a/src/newgrf_callbacks.h +++ b/src/newgrf_callbacks.h @@ -223,6 +223,15 @@ enum CallbackID { /** Called to determine the type (if any) of foundation to draw for an airport tile. */ CBID_AIRPTILE_DRAW_FOUNDATIONS = 0x150, // 15 bit callback + + /** Called for periodically starting or stopping the animation. */ + CBID_AIRPTILE_ANIM_START_STOP = 0x152, // 15 bit callback + + /** Called to determine airport tile next animation frame. */ + CBID_AIRPTILE_ANIM_NEXT_FRAME = 0x153, // 15 bit callback + + /** Called to indicate how long the current animation frame should last. */ + CBID_AIRPTILE_ANIMATION_SPEED = 0x154, // 8 bit callback }; /** |