summaryrefslogtreecommitdiff
path: root/newgrf_callbacks.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-09-27 18:17:01 +0000
committerpeter1138 <peter1138@openttd.org>2006-09-27 18:17:01 +0000
commit8b2e4e970ad3379fb294934e7720128986220d0e (patch)
tree89f67db5c4825d95a0c5687363b43db1311ffae7 /newgrf_callbacks.h
parentdef6a391a0cca03132a4cdfea2f7bd53a3a25bdf (diff)
downloadopenttd-8b2e4e970ad3379fb294934e7720128986220d0e.tar.xz
(svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported.
Diffstat (limited to 'newgrf_callbacks.h')
-rw-r--r--newgrf_callbacks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/newgrf_callbacks.h b/newgrf_callbacks.h
index d7a91c04b..a52455a7c 100644
--- a/newgrf_callbacks.h
+++ b/newgrf_callbacks.h
@@ -45,6 +45,9 @@ enum CallbackID {
/* Called when the player (or AI) tries to start or stop a vehicle. Mainly
* used for preventing a vehicle from leaving the depot. */
CBID_VEHICLE_START_STOP_CHECK = 0x31,
+
+ /* Called to play a special sound effect */
+ CBID_VEHICLE_SOUND_EFFECT = 0x33,
};
/**