summaryrefslogtreecommitdiff
path: root/src/subsidy_func.h
AgeCommit message (Collapse)Author
2021-06-10Feature: Configurable subsidy durationTyler Trahan
2021-04-21Cleanup: Replace single-use Pair struct with std::pair.Peter Nelson
This struct is defined in geometry_type but not used by any geometry-related code, only for subsidy code where both parameters are cast from int to NewsReferenceType.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2010-08-28(svn r20674) -Codechange: Remove declared functions that do not exist ↵alberth
(anymore) otherwise.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
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
2009-08-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-07-01(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.rubidium
2009-05-23(svn r16406) -Codechange: constify parameters of CheckSubsidised()smatz
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz