10#ifndef NEWGRF_BADGE_TYPE_H
11#define NEWGRF_BADGE_TYPE_H
20 std::size_t operator()(
const BadgeClassID &badge_class_index)
const noexcept
22 return std::hash<BadgeClassID::BaseType>{}(badge_class_index.base());
36using BadgeFilterChoices = std::unordered_map<BadgeClassID, BadgeID>;
Type (helpers) for enums.
@ NameListStop
Stop adding names to the name list after this badge.
@ UseCompanyColour
Apply company colour palette to this badge.
@ NameListFirstOnly
Don't add this name to the name list if not first.
@ Copy
Copy badge to related things.
@ HasText
Internal flag set if the badge has text.
Type (helpers) for making a strong typedef that is a distinct type.