summaryrefslogtreecommitdiff
path: root/src/livery.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-02 17:42:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-02 17:42:12 +0000
commitfb5ecb94992e7febf4bc059cb6ec4a51f50c66b0 (patch)
tree87956636c318baa8d5d8d62f13263c4f64dbe881 /src/livery.h
parent4d5dbf51707c42c24eeafdb65016b079c54adcf2 (diff)
downloadopenttd-fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0.tar.xz
(svn r22411) -Document: another bunch of bits
Diffstat (limited to 'src/livery.h')
-rw-r--r--src/livery.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/livery.h b/src/livery.h
index 7ffa4a644..5845ffabb 100644
--- a/src/livery.h
+++ b/src/livery.h
@@ -59,6 +59,7 @@ enum LiveryScheme {
};
DECLARE_POSTFIX_INCREMENT(LiveryScheme)
+/** Helper information for extract tool. */
template <> struct EnumPropsT<LiveryScheme> : MakeEnumPropsT<LiveryScheme, byte, LS_BEGIN, LS_END, LS_END, 8> {};
/** List of different livery classes, used only by the livery GUI. */
@@ -71,7 +72,7 @@ enum LiveryClass {
LC_END
};
-
+/** Information about a particular livery. */
struct Livery {
bool in_use; ///< Set if this livery should be used instead of the default livery.
byte colour1; ///< First colour, for all vehicles.