Files
@ r12405:ba094e765533
Branch filter:
Location: cpp/openttd-patchpack/source/src/subsidy_func.h - annotation
r12405:ba094e765533
623 B
text/x-c
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r12287:e460d5b47431 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r12279:1653fc3a5444 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 | /* $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 */
|