diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
commit | 5a620d1c6592057b500f0889eef8949dc1e95e4b (patch) | |
tree | dabae6247490fdea860bea292bb8eee49ce46fe4 /src/subsidy_type.h | |
parent | 1a515e6344028854c855671c19f49d8f869eb18f (diff) | |
download | openttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz |
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/subsidy_type.h')
-rw-r--r-- | src/subsidy_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/subsidy_type.h b/src/subsidy_type.h index 734d72103..83c33a00a 100644 --- a/src/subsidy_type.h +++ b/src/subsidy_type.h @@ -20,6 +20,7 @@ enum PartOfSubsidy { 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 }; +/** Helper to store the PartOfSubsidy data in a single byte. */ typedef SimpleTinyEnumT<PartOfSubsidy, byte> PartOfSubsidyByte; DECLARE_ENUM_AS_BIT_SET(PartOfSubsidy) |