Introduce a shop type enum and a shop class

- Shop scrollbar now only visible when needed
- Outdoor shop special node now supports junk shops
- Outdoor shop special node now uses correct title string
- Fix minor issue with framing rects
This commit is contained in:
2014-12-27 14:58:31 -05:00
parent d5575ee8fa
commit d00e44f650
14 changed files with 468 additions and 406 deletions

View File

@@ -1035,4 +1035,18 @@ inline bool isPriest(eSpell spell) {
return code >= 100 && code < 162;
}
enum class eShopType {
ITEMS = 0,
MAGE = 1,
PRIEST = 2,
ALCHEMY = 3,
HEALING = 4,
MAGIC_JUNK = 5,
MAGIC_LOUSY = 6,
MAGIC_SO_SO = 7,
MAGIC_GOOD = 8,
MAGIC_GREAT = 9,
FOOD = 10,
};
#endif