src/waypoint.cpp
branchgamebalance
changeset 9903 dc85aaa556ae
parent 9895 7bd07f43b0e3
child 9908 0fa543611bbe
equal deleted inserted replaced
9902:ed8f92929297 9903:dc85aaa556ae
   248 		UpdateWaypointSign(wp);
   248 		UpdateWaypointSign(wp);
   249 		RedrawWaypointSign(wp);
   249 		RedrawWaypointSign(wp);
   250 		YapfNotifyTrackLayoutChange(tile, AxisToTrack(axis));
   250 		YapfNotifyTrackLayoutChange(tile, AxisToTrack(axis));
   251 	}
   251 	}
   252 
   252 
   253 	return _price.build_train_depot;
   253 	return _eco->GetPrice(CEconomy::BUILD_TRAIN_DEPOT);
   254 }
   254 }
   255 
   255 
   256 /* Daily loop for waypoints */
   256 /* Daily loop for waypoints */
   257 void WaypointsDailyLoop()
   257 void WaypointsDailyLoop()
   258 {
   258 {
   292 			SetSignalsOnBothDir(tile, track);
   292 			SetSignalsOnBothDir(tile, track);
   293 		}
   293 		}
   294 		YapfNotifyTrackLayoutChange(tile, track);
   294 		YapfNotifyTrackLayoutChange(tile, track);
   295 	}
   295 	}
   296 
   296 
   297 	return _price.remove_train_depot;
   297 	return _eco->GetPrice(CEconomy::REMOVE_TRAIN_DEPOT);
   298 }
   298 }
   299 
   299 
   300 /** Delete a waypoint
   300 /** Delete a waypoint
   301  * @param tile tile where waypoint is to be deleted
   301  * @param tile tile where waypoint is to be deleted
   302  * @param p1 unused
   302  * @param p1 unused