(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
This commit is contained in:
@@ -12,9 +12,7 @@
|
||||
#include "company_type.h"
|
||||
|
||||
Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
|
||||
void DeleteSubsidyWithTown(TownID index);
|
||||
void DeleteSubsidyWithIndustry(IndustryID index);
|
||||
void DeleteSubsidyWithStation(StationID index);
|
||||
void DeleteSubsidyWith(SourceType type, SourceID index);
|
||||
bool CheckSubsidised(const Station *from, const Station *to, CargoID cargo_type, CompanyID company);
|
||||
void SubsidyMonthlyHandler();
|
||||
|
||||
|
Reference in New Issue
Block a user