(svn r17104) -Codechange: move code related to subsidy awarding to separate procedure
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "cargo_type.h"
|
||||
#include "company_type.h"
|
||||
#include "station_type.h"
|
||||
|
||||
typedef uint16 SubsidyID; ///< ID of a subsidy
|
||||
|
||||
@@ -26,6 +27,8 @@ struct Subsidy {
|
||||
return this->age >= 12;
|
||||
}
|
||||
|
||||
void AwardTo(StationID from, StationID to, CompanyID company);
|
||||
|
||||
/**
|
||||
* Determines index of this subsidy
|
||||
* @return index (in the Subsidy::array array)
|
||||
|
||||
Reference in New Issue
Block a user