summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-10-25 23:24:28 +0000
committerglx <glx@openttd.org>2007-10-25 23:24:28 +0000
commit287a4a8049121c65288899a82dca08856b116dc5 (patch)
treee0d1e0046943cae3e69f0e392f5d57347cedd7f9 /src/newgrf_callbacks.h
parent2739ab082e985c43a6fc3a2840df52714ca14277 (diff)
downloadopenttd-287a4a8049121c65288899a82dca08856b116dc5.tar.xz
(svn r11341) -Codechange: add missing callback ID enums, add stub for house property 20 and reorder unimplemented action 0 properties
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index 0d5de6feb..417cfb02e 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -170,7 +170,16 @@ enum CallbackID {
/** Called to determine if the industry can still accept or refuse more cargo arrival */
CBID_INDUSTRY_REFUSE_CARGO = 0x3D,
- /* There are no callbacks 0x3E - 0x142. */
+ /* There are no callbacks 0x3E - 0x13F */
+
+ /** Called for periodically starting or stopping the animation. */
+ CBID_STATION_ANIM_START_STOP = 0x140, // not implemented
+
+ /** Called to determine station tile next animation frame. */
+ CBID_STATION_ANIM_NEXT_FRAME = 0x141, // not implemented
+
+ /** Called to indicate how long the current animation frame should last. */
+ CBID_STATION_ANIMATION_SPEED = 0x142, // not implemented
/** Called to determine whether a town building can be destroyed. */
CBID_HOUSE_DENY_DESTRUCTION = 0x143,
@@ -187,7 +196,8 @@ enum CallbackID {
/** Add an offset to the default sprite numbers to show another sprite. */
CBID_CANALS_SPRITE_OFFSET = 0x147, // not implemented
- /* There is no callback 0x148.*/
+ /** Called when a cargo type specified in property 20 is accepted. */
+ CBID_HOUSE_WATCHED_CARGO_ACCEPTED = 0x148, // not implemented
/** Callback done for each tile of a station to check the slope. */
CBID_STATION_LAND_SLOPE_CHECK = 0x149, // not implemented