Files @ r12693:ab8bb85f5e0b
Branch filter:

Location: cpp/openttd-patchpack/source/src/subsidy_type.h

translators
(svn r17166) -Update from WebTranslator v3.0:
bulgarian - 29 changes by Tvel
simplified_chinese - 2 changes by ww9980
traditional_chinese - 5 changes by Kwokfu
greek - 146 changes by fumantsu
indonesian - 10 changes by prof
polish - 11 changes by amateja
/* $Id$ */

/** @file subsidy_type.h basic types related to subsidies */

#ifndef SUBSIDY_TYPE_H
#define SUBSIDY_TYPE_H

#include "core/enum_type.hpp"

enum PartOfSubsidy {
	POS_NONE =     0,
	POS_SRC = 1 << 0, ///< bit 0 set -> town/industry is source of subsidised path
	POS_DST = 1 << 1, ///< bit 1 set -> town/industry is destination of subsidised path
};
typedef SimpleTinyEnumT<PartOfSubsidy, byte> PartOfSubsidyByte;

DECLARE_ENUM_AS_BIT_SET(PartOfSubsidy);

typedef uint16 SubsidyID; ///< ID of a subsidy
struct Subsidy;

#endif /* SUBSIDY_TYPE_H */