Age | Commit message (Collapse) | Author |
|
get removed to CargoPacket.
|
|
|
|
|
|
when stations were removed from the pool
|
|
GetIndustryByTile()
|
|
|
|
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
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
to separate function
|
|
often, clearing is enough
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
station joiner code.
|
|
|
|
trainst_h.
|
|
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
|
|
it's written.
|
|
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.
|
|
with some extra checks.
|
|
|
|
(to be shared with waypoints)
|
|
can be reused for Waypoints.
|
|
|
|
meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
|
|
explaining names
|
|
|
|
|
|
item from the pool
|
|
instead of 'byte'.
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
header files
|
|
|
|
|
|
instead of searching them everytime payment is made
|
|
|
|
|
|
functions to header file
|
|
zero in station and rs constructors, remove debug output
|
|
|
|
Vehicle::last_station_visited to more logical place
|
|
for all vehicle types
|
|
source station is deleted
|
|
|
|
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
sources too
|
|
|