mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
22 lines
623 B
C
22 lines
623 B
C
/* $Id$ */
|
|
|
|
/** @file subsidy_func.h Functions related to subsidies. */
|
|
|
|
#ifndef SUBSIDY_FUNC_H
|
|
#define SUBSIDY_FUNC_H
|
|
|
|
#include "core/geometry_type.hpp"
|
|
#include "station_type.h"
|
|
#include "town_type.h"
|
|
#include "industry_type.h"
|
|
#include "company_type.h"
|
|
|
|
Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
|
|
void DeleteSubsidyWithTown(TownID index);
|
|
void DeleteSubsidyWithIndustry(IndustryID index);
|
|
void DeleteSubsidyWithStation(StationID index);
|
|
bool CheckSubsidised(const Station *from, const Station *to, CargoID cargo_type, CompanyID company);
|
|
void SubsidyMonthlyHandler();
|
|
|
|
#endif /* SUBSIDY_FUNC_H */
|