diff options
author | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
commit | a7d0cdf95fd8847ab76b35446e1c9b77f8ef1cb7 (patch) | |
tree | 1a1c59c13ddb1d152052f3a3a0bcffe4fb531173 /src/livery.h | |
parent | ce75f6549dd379b506c9f1e9383bd881aa7cf5c7 (diff) | |
download | openttd-a7d0cdf95fd8847ab76b35446e1c9b77f8ef1cb7.tar.xz |
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Diffstat (limited to 'src/livery.h')
-rw-r--r-- | src/livery.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/livery.h b/src/livery.h index 2655dcd48..76b5c7e28 100644 --- a/src/livery.h +++ b/src/livery.h @@ -3,10 +3,12 @@ #ifndef LIVERY_H #define LIVERY_H +#include "helpers.hpp" /* List of different livery schemes. */ typedef enum LiverySchemes { - LS_DEFAULT, + LS_BEGIN = 0, + LS_DEFAULT = 0, /* Rail vehicles */ LS_STEAM, @@ -37,6 +39,7 @@ typedef enum LiverySchemes { LS_END } LiveryScheme; +DECLARE_POSTFIX_INCREMENT(LiveryScheme); /* List of different livery classes, used only by the livery GUI. */ typedef enum LiveryClasses { |