view src/subsidy_func.h @ 12122:d530190c9171 draft

(svn r16536) -Fix (r16535): W != S
author frosch <frosch@openttd.org>
date Mon, 08 Jun 2009 15:44:11 +0000
parents 432a32fa1746
children ff677ab3d0c4
line wrap: on
line source

/* $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"
#include "subsidy_type.h"

Pair SetupSubsidyDecodeParam(const 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);
void SubsidyMonthlyHandler();

#endif /* SUBSIDY_FUNC_H */