diff options
author | smatz <smatz@openttd.org> | 2009-08-07 20:24:33 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-07 20:24:33 +0000 |
commit | 3532592e7d026fb077f584946e48010e4a5b65a1 (patch) | |
tree | 4c8a5a0f9d938fac1f32c56a28f8ef3cd9d1974a /src/subsidy_base.h | |
parent | c2a3e28d9dfdca865749dd979464f589364446b7 (diff) | |
download | openttd-3532592e7d026fb077f584946e48010e4a5b65a1.tar.xz |
(svn r17104) -Codechange: move code related to subsidy awarding to separate procedure
Diffstat (limited to 'src/subsidy_base.h')
-rw-r--r-- | src/subsidy_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subsidy_base.h b/src/subsidy_base.h index adb03f83b..790be8c6d 100644 --- a/src/subsidy_base.h +++ b/src/subsidy_base.h @@ -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) |