Age | Commit message (Collapse) | Author |
|
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
|
|
make the help show how it works and how it doesn't work
|
|
relatives
|
|
|
|
correctly set when loading 'old' games.
|
|
|
|
and waypoints
|
|
|
|
trainst_h.
|
|
offset of items within a struct that are within a struct
|
|
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.
|
|
|
|
|
|
allocation for waypoints too
|
|
subsidy's age
|
|
|
|
station spec lists.
|
|
Waypoints
|
|
|
|
struct and make it more similar to Station.
|
|
town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess.
|
|
|
|
and stations.
|
|
|
|
|
|
UpdateAll[Type]VirtCoords.
|
|
|
|
SelectCompanyLiveryWindow wasn't working as expected
|
|
references
|
|
|
|
that bit 7... but it was a word wasting space etc.
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
|
|
warn when used inside function
|
|
|
|
all subsidies
|
|
when converting older savegames
|
|
duplicates (only for old savegames) and tiles that weren't animated
|