Commit Graph

12 Commits (a057b8c6349cf03f8d38acf56697d2e72cdc2380)

Author SHA1 Message Date
truebrain 1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz e2c404958d (svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter 15 years ago
smatz 13e23141b4 (svn r17124) -Codechange: store subsidies in a pool (instead of an array) 15 years ago
smatz 046be0a199 (svn r17119) -Codechange: replace constants in subsidy.cpp by enum values 15 years ago
smatz 2a430d981f (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when 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
15 years ago
smatz 74d3382b94 (svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed 15 years ago
smatz 3532592e7d (svn r17104) -Codechange: move code related to subsidy awarding to separate procedure 15 years ago
smatz af13707e00 (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age 15 years ago
smatz 1e6a12b75b (svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium) 15 years ago
smatz 76a50ce94d (svn r16714) -Codechange: use pool-like accessors for Subsidy 15 years ago