src/signal_type.h
branchNewGRF_ports
changeset 10184 fcf5fb2548eb
equal deleted inserted replaced
10179:eec5a7dcbf61 10184:fcf5fb2548eb
       
     1 /* $Id$ */
       
     2 
       
     3 /** @file signal_type.h Types and classes related to signals. */
       
     4 
       
     5 #ifndef SIGNAL_TYPE_H
       
     6 #define SIGNAL_TYPE_H
       
     7 
       
     8 /** Variant of the signal, i.e. how does the signal look? */
       
     9 enum SignalVariant {
       
    10 	SIG_ELECTRIC  = 0, ///< Light signal
       
    11 	SIG_SEMAPHORE = 1  ///< Old-fashioned semaphore signal
       
    12 };
       
    13 
       
    14 
       
    15 /** Type of signal, i.e. how does the signal behave? */
       
    16 enum SignalType {
       
    17 	SIGTYPE_NORMAL  = 0, ///< normal signal
       
    18 	SIGTYPE_ENTRY   = 1, ///< presignal block entry
       
    19 	SIGTYPE_EXIT    = 2, ///< presignal block exit
       
    20 	SIGTYPE_COMBO   = 3  ///< presignal inter-block
       
    21 };
       
    22 
       
    23 
       
    24 #endif /* SIGNAL_TYPE_H */