summaryrefslogtreecommitdiff
path: root/newgrf_callbacks.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-02 16:56:32 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-02 16:56:32 +0000
commit039794e83ca40717e0a5aff927f20e7a560ac7c5 (patch)
tree5e7abf3b12a62b206a4e2ea934e86e51e08cb91e /newgrf_callbacks.h
parent6a4d8fdd33de84ef691caa29ea77c21ff2b8d6c4 (diff)
downloadopenttd-039794e83ca40717e0a5aff927f20e7a560ac7c5.tar.xz
(svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros)
Diffstat (limited to 'newgrf_callbacks.h')
-rw-r--r--newgrf_callbacks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newgrf_callbacks.h b/newgrf_callbacks.h
index bdbb0e359..9d0a7a3da 100644
--- a/newgrf_callbacks.h
+++ b/newgrf_callbacks.h
@@ -19,6 +19,10 @@ enum CallbackID {
// only for train vehicles
CBID_TRAIN_VEHICLE_LENGTH = 0x11,
+ /* Called to determine the amount of cargo to load per unit of time when
+ * using gradual loading. */
+ CBID_VEHICLE_LOAD_AMOUNT = 0x12,
+
/* Called (if appropriate bit in callback mask is set) to determine if a
* newstation should be made available to build */
CBID_STATION_AVAILABILITY = 0x13,