X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frangecondition.h;h=7d85125b6dae6392be187bf4932bf14b54f57867;hb=HEAD;hp=811a1aa48ffba85371d04249ef0ce0eef0f4cb36;hpb=7d7eaf754af04f81bb1e7a8872272ea15e01d0c4;p=poefilter.git diff --git a/source/rangecondition.h b/source/rangecondition.h index 811a1aa..7d85125 100644 --- a/source/rangecondition.h +++ b/source/rangecondition.h @@ -72,6 +72,17 @@ struct DropLevelTraits typedef RangeCondition DropLevelCondition; +struct MapTierTraits +{ + typedef unsigned Type; + static unsigned get_min() { return 1; } + static unsigned get_max() { return 17; } + static const char *get_keyword() { return "MapTier"; } +}; + +typedef RangeCondition MapTierCondition; + + struct WidthTraits { typedef unsigned Type;