~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/signal_type.h

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman, Jordi Mallach
  • Date: 2009-04-15 18:22:10 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090415182210-22ktb8kdbp2tf3bm
[ Matthijs Kooijman ]
* New upstream release.
* Remove Debian specific desktop file, upstream provides one now. 
* Add debian/watch file.

[ Jordi Mallach ]
* Bump Standards-Version to 3.8.1, with no changes required.
* Move to debhelper compat 7. Bump Build-Depends accordingly.
* Use dh_prep.
* Add "set -e" to config script.
* Remove a few extra doc files that get installed by upstream Makefile.
* Add more complete copyright information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: signal_type.h 13932 2008-08-02 22:48:43Z rubidium $ */
 
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
        SIGTYPE_PBS        = 4, ///< normal pbs signal
 
22
        SIGTYPE_PBS_ONEWAY = 5, ///< no-entry signal
 
23
        SIGTYPE_LAST       = SIGTYPE_PBS_ONEWAY,
 
24
        SIGTYPE_LAST_NOPBS = SIGTYPE_COMBO
 
25
};
 
26
 
 
27
 
 
28
#endif /* SIGNAL_TYPE_H */