summaryrefslogtreecommitdiff
path: root/src/subsidy_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:51:52 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:51:52 +0000
commit5a620d1c6592057b500f0889eef8949dc1e95e4b (patch)
treedabae6247490fdea860bea292bb8eee49ce46fe4 /src/subsidy_type.h
parent1a515e6344028854c855671c19f49d8f869eb18f (diff)
downloadopenttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/subsidy_type.h')
-rw-r--r--src/subsidy_type.h1
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)