summaryrefslogtreecommitdiff
path: root/src/subsidy_base.h
AgeCommit message (Collapse)Author
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2012-01-01(svn r23700) -Fix: the size of the Subsidies pool used a random macro, which ↵truebrain
didn't really make sense in the grand scheme of things
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
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