summaryrefslogtreecommitdiff
path: root/src/signal_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal_func.h')
-rw-r--r--src/signal_func.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/signal_func.h b/src/signal_func.h
index 1dff79429..cc70dcb08 100644
--- a/src/signal_func.h
+++ b/src/signal_func.h
@@ -6,6 +6,9 @@
#define SIGNAL_FUNC_H
#include "track_type.h"
+#include "tile_type.h"
+#include "direction_type.h"
+#include "track_type.h"
/**
* Maps a trackdir to the bit that stores its status in the map arrays, in the
@@ -37,4 +40,7 @@ static inline byte SignalOnTrack(Track track)
return _signal_on_track[track];
}
+bool UpdateSignalsOnSegment(TileIndex tile, DiagDirection side);
+void SetSignalsOnBothDir(TileIndex tile, Track track);
+
#endif /* SIGNAL_FUNC_H */