summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-11-05 16:07:26 +0000
committerpeter1138 <peter1138@openttd.org>2005-11-05 16:07:26 +0000
commit267314b4d0a28ac8a9d5b0d44a7c6dcd7ef88ac1 (patch)
treead0c24edec46ec7170c414961c2eda4185970ae0 /engine.h
parentd86829d0e09fd981cc65c85d65f75129f9299b8f (diff)
downloadopenttd-267314b4d0a28ac8a9d5b0d44a7c6dcd7ef88ac1.tar.xz
(svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
Diffstat (limited to 'engine.h')
-rw-r--r--engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine.h b/engine.h
index 7ec4304cb..77ac8c216 100644
--- a/engine.h
+++ b/engine.h
@@ -153,6 +153,8 @@ enum CallbackID {
// Refit capacity, the passed vehicle needs to have its ->cargo_type set to
// the cargo we are refitting to, returns the new cargo capacity
CBID_REFIT_CAP = 0x15,
+
+ CBID_ARTIC_ENGINE = 0x16,
};
// bit positions for rvi->callbackmask, indicates which callbacks are used by an engine
@@ -161,6 +163,7 @@ enum CallbackMask {
CBM_WAGON_POWER = 0,
CBM_VEH_LENGTH = 1,
CBM_REFIT_CAP = 3,
+ CBM_ARTIC_ENGINE = 4,
};
enum {