Age | Commit message (Collapse) | Author |
|
|
|
|
|
AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management
-Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
|
|
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
|
|
|
|
|
|
deprecated function is used
|
|
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
|
|
relatives
|
|
|
|
|
|
changelog
|
|
|
|
|
|
|
|
|
|
AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
|
|
|
|
|
|
|
|
rectangle on the map
|
|
|
|
|
|
favour of their Station variants
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
|
|
trainst_h.
|
|
it's written.
|
|
is either a rail station or rail waypoint tile
|
|
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
|
|
|
|
|
waypoint_func.h
|
|
all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
|
codes and group them logically
|
|
subsidy's age
|
|
|
|
ones and fix a type in the noai documentation (patch by Chruker)
|
|
valid CargoSpecs
|
|
|
|
reliability of vehicles
|
|
|
|
needs gawk.
|
|
around road vehicles and flipping parts of trains in the depot
|
|
were uint; doesn't matter much as int was converted to uint and then back.
|
|
didn't accept a radius of 0 anymore
|
|
st->xy != st->airport_tile.
|
|
|