OpenTTD Source 20241224-master-gf74b0cf984
|
basic types related to subsidies More...
#include "core/enum_type.hpp"
Go to the source code of this file.
Typedefs | |
typedef uint16_t | SubsidyID |
ID of a subsidy. | |
Enumerations | |
enum | PartOfSubsidy : uint8_t { POS_NONE = 0 , POS_SRC = 1 << 0 , POS_DST = 1 << 1 } |
What part of a subsidy is something? More... | |
basic types related to subsidies
Definition in file subsidy_type.h.
typedef uint16_t SubsidyID |
ID of a subsidy.
Definition at line 23 of file subsidy_type.h.
enum PartOfSubsidy : uint8_t |
What part of a subsidy is something?
Enumerator | |
---|---|
POS_NONE | nothing |
POS_SRC | bit 0 set -> town/industry is source of subsidised path |
POS_DST | bit 1 set -> town/industry is destination of subsidised path |
Definition at line 16 of file subsidy_type.h.