summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-22 14:16:57 +0000
committeryexo <yexo@openttd.org>2010-02-22 14:16:57 +0000
commit7ca4c31cf558ff29b3cbe14cd348bcf649445dfc (patch)
tree7577f2eda50659c477bdfd9bfbc8068bb47261e5 /src/newgrf_callbacks.h
parent61fe40ba73e84931d22f015783ce3c1817293b96 (diff)
downloadopenttd-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.h9
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
};
/**