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
|
|
Two values used intead of just one, as it gives more possibilities to those who dare...
|
|
windows.
|
|
table/pricebase.h.
|
|
they had nothing to unload and gradual loading was disabled.
|
|
waypoint_func.h
|
|
the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
|
|
subsidy's age
|
|
valid CargoSpecs
|
|
|
|
|
|
|
|
instead of 'byte'.
|
|
|
|
all subsidies
|
|
would skip loading as they thought nothing could be unloaded or loaded.
|
|
|
|
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.
|
|
vehicle's profit.
|
|
class. Based on ideas of fonso/fonsinchen.
|
|
industries' production compile unit static instead of passing it around as pointer
|
|
instead of each time a cargo packet is delivered
|
|
when there is no vehicle at the station
|
|
instead of searching them everytime payment is made
|
|
|
|
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
code style.
|
|
after deleting it
|
|
vehicles/stations/industries are deleted.
|
|
source station is deleted
|
|
|
|
|
|
_local_company, but only as a storage location for the company you want to join in MP.
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
sources too
|
|
|
|
merging companies or when a company benkrupts
|
|
unload at the station where you received the cargo
|
|
v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs.
|
|
|
|
color and colour.
|