28 static uint32_t fromCategory(
int category)
30 return category == 0 ? 0 : (1 << (category - 1));
36 LAST_SPATIAL_ITEM = 1,
38 RELATION_MEMBER = 1 << 2,
40 MULTITILE_WEST = 1 << 6,
41 MULTITILE_NORTH = 1 << 7
54 WIDE_RELATION_TEX = 8,
58namespace FeatureConstants
60 static const Tip START_TIP(0x4000);
63 static const int MAX_COMMON_KEY = (1 << 13) - 2;
64 static const int MAX_COMMON_ROLE = (1 << 15) - 1;