equal
deleted
inserted
replaced
775 if (~cp->town_or_string & 0xC000) DeleteName(cp->town_or_string); |
775 if (~cp->town_or_string & 0xC000) DeleteName(cp->town_or_string); |
776 RedrawWaypointSign(cp); |
776 RedrawWaypointSign(cp); |
777 } |
777 } |
778 |
778 |
779 // delete waypoints after a while |
779 // delete waypoints after a while |
780 void WaypointsDailyLoop() |
780 void WaypointsDailyLoop(void) |
781 { |
781 { |
782 Waypoint *cp; |
782 Waypoint *cp; |
783 for(cp = _waypoints; cp != endof(_waypoints); cp++) { |
783 for(cp = _waypoints; cp != endof(_waypoints); cp++) { |
784 if (cp->deleted && !--cp->deleted) { |
784 if (cp->deleted && !--cp->deleted) { |
785 DoDeleteWaypoint(cp); |
785 DoDeleteWaypoint(cp); |
2274 } |
2274 } |
2275 |
2275 |
2276 return 0; |
2276 return 0; |
2277 } |
2277 } |
2278 |
2278 |
2279 void InitializeRail() |
2279 void InitializeRail(void) |
2280 { |
2280 { |
2281 _last_built_train_depot_tile = 0; |
2281 _last_built_train_depot_tile = 0; |
2282 } |
2282 } |
2283 |
2283 |
2284 const TileTypeProcs _tile_type_rail_procs = { |
2284 const TileTypeProcs _tile_type_rail_procs = { |