Commit Graph

11 Commits (3738a94f98eadf6ab8ef0c47bbff8936e73f992b)

Author SHA1 Message Date
rubidium f09a74a996 (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 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz 8771fdd5f1 (svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter 15 years ago
smatz d59b687f65 (svn r17124) -Codechange: store subsidies in a pool (instead of an array) 15 years ago
smatz 0f1a07d185 (svn r17119) -Codechange: replace constants in subsidy.cpp by enum values 15 years ago
smatz 0502a6df42 (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 738d7fde53 (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 fb24991366 (svn r17104) -Codechange: move code related to subsidy awarding to separate procedure 15 years ago
smatz 3564579dc4 (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age 15 years ago
smatz fd48f3cc5c (svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium) 15 years ago
smatz 93557ba4e9 (svn r16714) -Codechange: use pool-like accessors for Subsidy 15 years ago