Codechange: Un-bitstuff rail commands.

This commit is contained in:
Michael Lutz
2021-11-14 20:07:23 +01:00
parent 6fe445e6c0
commit 55170ae703
7 changed files with 153 additions and 258 deletions

View File

@@ -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