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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user