summaryrefslogtreecommitdiff
path: root/src/subsidy_base.h
AgeCommit message (Collapse)Author
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17127) -Fix (r17124): destructor has to be defined else operator ↵smatz
delete might be called with NULL parameter
2009-08-08(svn r17124) -Codechange: store subsidies in a pool (instead of an array)smatz
2009-08-08(svn r17119) -Codechange: replace constants in subsidy.cpp by enum valuessmatz
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-08-07(svn r17104) -Codechange: move code related to subsidy awarding to separate ↵smatz
procedure
2009-07-18(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing ↵smatz
subsidy's age
2009-07-02(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)smatz
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz