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
|
|
relatives
|
|
|
|
|
|
trainst_h.
|
|
it's written.
|
|
is either a rail station or rail waypoint tile
|
|
|
|
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
|
|
|
|
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
|
|
|
|
functions
|
|
|
|
|
|
|
|
all subsidies
|
|
when converting older savegames
|
|
duplicates (only for old savegames) and tiles that weren't animated
|
|
whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
|
|
town_type.h to separate files
|
|
instead of searching them everytime payment is made
|
|
|
|
|
|
missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing.
|
|
as bitmasks
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
they can head for somewhere else instead of stumbling over a ghost.
|
|
|
|
for all vehicle types
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
source station is deleted
|
|
from VehicleRail to Train
|
|
|