signal_type.h File Reference

Types and classes related to signals. More...

Go to the source code of this file.

Enumerations

enum  SignalVariant { SIG_ELECTRIC = 0, SIG_SEMAPHORE = 1 }
 Variant of the signal, i.e. More...
enum  SignalType {
  SIGTYPE_NORMAL = 0, SIGTYPE_ENTRY = 1, SIGTYPE_EXIT = 2, SIGTYPE_COMBO = 3,
  SIGTYPE_PBS = 4, SIGTYPE_PBS_ONEWAY = 5, SIGTYPE_LAST = SIGTYPE_PBS_ONEWAY, SIGTYPE_LAST_NOPBS = SIGTYPE_COMBO
}
 Type of signal, i.e. More...


Detailed Description

Types and classes related to signals.

Definition in file signal_type.h.


Enumeration Type Documentation

enum SignalType

Type of signal, i.e.

how does the signal behave?

Enumerator:
SIGTYPE_NORMAL  normal signal
SIGTYPE_ENTRY  presignal block entry
SIGTYPE_EXIT  presignal block exit
SIGTYPE_COMBO  presignal inter-block
SIGTYPE_PBS  normal pbs signal
SIGTYPE_PBS_ONEWAY  no-entry signal

Definition at line 23 of file signal_type.h.

Variant of the signal, i.e.

how does the signal look?

Enumerator:
SIG_ELECTRIC  Light signal.
SIG_SEMAPHORE  Old-fashioned semaphore signal.

Definition at line 16 of file signal_type.h.


Generated on Thu Feb 4 17:20:37 2010 for OpenTTD by  doxygen 1.5.6