3 /** @file overlay_cmd.h Functions related to overlays. */
10 #include "station_base.h"
11 #include "logic_signals.h"
16 std::set
<const Station
*> catchmentOverlay
;
17 const SignalProgram
* logic_signal_program
;
20 static Overlays
* instance
;
23 static Overlays
* Instance();
25 void AddStation(const Station
* st
);
27 void RemoveStation(const Station
*st
);
29 void ToggleStation(const Station
* st
);
31 void SetLogicSignalOverlay(const SignalProgram
* program
);
33 void ClearLogicSignalOverlay();
35 void RefreshLogicSignalOverlay() const;
37 void HandleSignalProgramDeletion(const SignalProgram
* program
);
41 bool IsTileLogicSignalInput(const TileInfo
* ti
);
42 bool IsTileLogicSignalOutput(const TileInfo
* ti
) const;
44 bool IsTileInCatchmentArea(const TileInfo
* ti
, CatchmentType type
);
46 bool HasStation(const Station
* st
);
51 #endif // OVERLAY_CMD_H