Age | Commit message (Collapse) | Author |
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
cargo.
|
|
Eagle_rainbow)
|
|
|
|
NewsFlag instead.
|
|
|
|
passenger subsidies.
|
|
(Emmeran)
|
|
|
|
|
|
|
|
|
|
|
|
source and destination types.
-Change: Do not rely in TownEffects for awarding subsidies.
|
|
|
|
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
|
used by small functions that compute there value on-the-fly when necessary
|
|
|
|
awarding subsidies; it's not quite valid there
|
|
|
|
so use a bool when calling the function
|
|
consisted of unrelated values use static const (u)int
|
|
if a header require a header make it include that header
|
|
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|
|
|
|
|
|
of 'just' showing a scroll bar.
|
|
|
|
|
|
|
|
|
|
destination town, has good service
|
|
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
|
|
up cargo subsidy.
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
procedure
|
|
codes and group them logically
|
|
subsidy's age
|
|
|
|
|
|
all subsidies
|
|
|
|
Town::GetRandom() and Industry::GetRandom()
|
|
the news are triggered, so it stays valid when the company bankrupts or is taken over.
|
|
vehicles/stations/industries are deleted.
|
|
|
|
|