diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-11-14 20:07:23 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-16 22:28:32 +0100 |
commit | 55170ae703dd2f55ae5c2151aa97dd12da1e917e (patch) | |
tree | a220d3c55c86c02f540828d99ead558b2c5498fb /src/signal_type.h | |
parent | 6fe445e6c0fa3163aba48b1ec6d810b6594777bd (diff) | |
download | openttd-55170ae703dd2f55ae5c2151aa97dd12da1e917e.tar.xz |
Codechange: Un-bitstuff rail commands.
Diffstat (limited to 'src/signal_type.h')
-rw-r--r-- | src/signal_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal_type.h b/src/signal_type.h index 5af2a2c94..ff5dd3b55 100644 --- a/src/signal_type.h +++ b/src/signal_type.h @@ -13,14 +13,14 @@ #include "core/enum_type.hpp" /** Variant of the signal, i.e. how does the signal look? */ -enum SignalVariant { +enum SignalVariant : byte { SIG_ELECTRIC = 0, ///< Light signal SIG_SEMAPHORE = 1, ///< Old-fashioned semaphore signal }; /** Type of signal, i.e. how does the signal behave? */ -enum SignalType { +enum SignalType : byte { SIGTYPE_NORMAL = 0, ///< normal signal SIGTYPE_ENTRY = 1, ///< presignal block entry SIGTYPE_EXIT = 2, ///< presignal block exit |