summaryrefslogtreecommitdiff
path: root/ttd.h
diff options
context:
space:
mode:
authormiham <miham@openttd.org>2005-01-14 00:14:13 +0000
committermiham <miham@openttd.org>2005-01-14 00:14:13 +0000
commit9e10458209fb9eaabb9192383614d950b572083c (patch)
tree779ccfd6e070c8b4fd2e910f54f0b3daba60b08a /ttd.h
parent352cf002b26013f79d16d2d3afa2ab8d3f5eb0d9 (diff)
downloadopenttd-9e10458209fb9eaabb9192383614d950b572083c.tar.xz
(svn r1503) Added feature:
o allows users to setup the production values of the rawmaterial producing industries in the editor Modified: o ttd.h - added CT_INVALID for 0xFF cargo type o english.txt - added 1 string o industry_gui.c - the feature itself o window.h - added compile asserts to the structs which checks whether their sizes are smaller than WINDOW_CUSTOM_SIZE Thanks: o Darkvater to bother me to constantly improve the patch o Various users at #openttd for testing
Diffstat (limited to 'ttd.h')
-rw-r--r--ttd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttd.h b/ttd.h
index e6f9c4bd1..3dcf52bc4 100644
--- a/ttd.h
+++ b/ttd.h
@@ -268,6 +268,8 @@ enum {
CT_FIZZY_DRINKS = 11,
NUM_CARGO = 12,
+
+ CT_INVALID = 0xFF
};
typedef uint AcceptedCargo[NUM_CARGO];