summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-03-03 19:07:34 +0000
committerpeter1138 <peter1138@openttd.org>2010-03-03 19:07:34 +0000
commit1025d003b30f6ce0be320a9ed3b53e2e85565325 (patch)
tree1bc4dd9a07b562969cf906a3c9112b13cd27bfc1 /src/rail.h
parentc3d3e7d3831f288120d3bc90d7dba6add01b1e7c (diff)
downloadopenttd-1025d003b30f6ce0be320a9ed3b53e2e85565325.tar.xz
(svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet.
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rail.h b/src/rail.h
index 049e4286e..aaa592da9 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -204,6 +204,11 @@ struct RailtypeInfo {
RailTypeLabel label;
/**
+ * Colour on mini-map
+ */
+ byte map_colour;
+
+ /**
* Sprite groups for resolving sprites
*/
const SpriteGroup *group[RTSG_END];