summaryrefslogtreecommitdiff
path: root/src/signal_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-02 22:48:43 +0000
committerrubidium <rubidium@openttd.org>2008-08-02 22:48:43 +0000
commitfe4f23dba23ba7553304961773a74bc1037e12a7 (patch)
tree579def525f3daf00a22a8597e6be680ed28fd831 /src/signal_type.h
parentad4fdb76fc51d6af87d79c734a94407dca501de3 (diff)
downloadopenttd-fe4f23dba23ba7553304961773a74bc1037e12a7.tar.xz
(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc)
Diffstat (limited to 'src/signal_type.h')
-rw-r--r--src/signal_type.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/signal_type.h b/src/signal_type.h
index 5dccff621..0bcd107ef 100644
--- a/src/signal_type.h
+++ b/src/signal_type.h
@@ -14,10 +14,14 @@ enum SignalVariant {
/** Type of signal, i.e. how does the signal behave? */
enum SignalType {
- SIGTYPE_NORMAL = 0, ///< normal signal
- SIGTYPE_ENTRY = 1, ///< presignal block entry
- SIGTYPE_EXIT = 2, ///< presignal block exit
- SIGTYPE_COMBO = 3 ///< presignal inter-block
+ SIGTYPE_NORMAL = 0, ///< normal signal
+ SIGTYPE_ENTRY = 1, ///< presignal block entry
+ 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_LAST = SIGTYPE_PBS_ONEWAY,
+ SIGTYPE_LAST_NOPBS = SIGTYPE_COMBO
};