|
@@ -13,24 +13,25 @@
|
|
|
#include "company_func.h"
|
|
|
#include "industry.h"
|
|
|
#include "town.h"
|
|
|
#include "news_func.h"
|
|
|
#include "ai/ai.hpp"
|
|
|
#include "station_base.h"
|
|
|
#include "cargotype.h"
|
|
|
#include "strings_func.h"
|
|
|
#include "window_func.h"
|
|
|
#include "subsidy_base.h"
|
|
|
#include "subsidy_func.h"
|
|
|
#include "core/pool_func.hpp"
|
|
|
#include "core/random_func.hpp"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
|
|
|
SubsidyPool _subsidy_pool("Subsidy");
|
|
|
INSTANTIATE_POOL_METHODS(Subsidy)
|
|
|
|
|
|
/**
|
|
|
* Marks subsidy as awarded, creates news and AI event
|
|
|
* @param company awarded company
|
|
|
*/
|
|
|
void Subsidy::AwardTo(CompanyID company)
|
|
|
{
|