Add new signal type: no-entry signal

This is only passable in one direction, but does not have a signal
or show an aspect in the opposite direction

Add a setting for whether this is shown in the signal UI.
Off by default.
This commit is contained in:
Jonathan G Rennison
2021-09-04 03:14:09 +01:00
parent b3aa59c85d
commit 5d351a14d2
31 changed files with 256 additions and 31 deletions

View File

@@ -29,11 +29,12 @@ enum SignalType {
SIGTYPE_EXIT = 2, ///< presignal block exit
SIGTYPE_COMBO = 3, ///< presignal inter-block
SIGTYPE_PBS = 4, ///< normal pbs signal
SIGTYPE_PBS_ONEWAY = 5, ///< no-entry signal
SIGTYPE_PBS_ONEWAY = 5, ///< one-way PBS signal
SIGTYPE_PROG = 6, ///< programmable presignal
SIGTYPE_NO_ENTRY = 7, ///< no-entry signal
SIGTYPE_END,
SIGTYPE_LAST = SIGTYPE_PROG,
SIGTYPE_LAST = SIGTYPE_NO_ENTRY,
SIGTYPE_FIRST_PBS_SPRITE = SIGTYPE_PBS,
};
/** Helper information for extract tool. */