summaryrefslogtreecommitdiff
path: root/newgrf_callbacks.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-23 22:33:10 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-23 22:33:10 +0000
commitefd0d2d2b73a0e207fcf77179c944e404081d8e6 (patch)
tree5087c67a9969ba6e2e98949a2c2f1283b1a40d9d /newgrf_callbacks.h
parenta665462cc1b8b504dd7f3338583f2d8f8f80c094 (diff)
downloadopenttd-efd0d2d2b73a0e207fcf77179c944e404081d8e6.tar.xz
(svn r4561) - NewGRF: implement most of callback 0x23: additional text in vehicle purchase windows.
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 228b46af2..0d591067b 100644
--- a/newgrf_callbacks.h
+++ b/newgrf_callbacks.h
@@ -24,6 +24,10 @@ enum CallbackID {
CBID_VEHICLE_REFIT_CAPACITY = 0x15,
CBID_TRAIN_ARTIC_ENGINE = 0x16,
+
+ /* This callback is called from vehicle purchase lists. It returns a value to be
+ * used as a custom string ID in the 0xD000 range. */
+ CBID_VEHICLE_ADDITIONAL_TEXT = 0x23,
};
/**