summaryrefslogtreecommitdiff
path: root/rail.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-17 19:09:30 +0000
committercelestar <celestar@openttd.org>2006-04-17 19:09:30 +0000
commit6935fb6455aed5a688e27cf528ee4bf3875698ae (patch)
treefb2c3b2221e130d8bc622ad2f50fbbddbb0d8574 /rail.h
parent3b6cbf62d423a7dde0c3dc6adfebdbc5e62c57d5 (diff)
downloadopenttd-6935fb6455aed5a688e27cf528ee4bf3875698ae.tar.xz
(svn r4461) -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions
Diffstat (limited to 'rail.h')
-rw-r--r--rail.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/rail.h b/rail.h
index 36b9f00e9..5e9089614 100644
--- a/rail.h
+++ b/rail.h
@@ -50,15 +50,6 @@ typedef enum TrackdirBits {
INVALID_TRACKDIR_BIT = 0xFFFF,
} TrackdirBits;
-/** These are states in which a signal can be. Currently these are only two, so
- * simple boolean logic will do. But do try to compare to this enum instead of
- * normal boolean evaluation, since that will make future additions easier.
- */
-typedef enum SignalStates {
- SIGNAL_STATE_RED = 0,
- SIGNAL_STATE_GREEN = 1,
-} SignalState;
-
/** This struct contains all the info that is needed to draw and construct tracks.
*/
typedef struct RailtypeInfo {