Remove the Edit Saved Item Rectangles menu item in favour of a toolbar button.

The limit of 3 saved item rectangles has been removed - you can now add as many as you want.
However, the 1 per town limit is now strictly enforced.

The saved item rectangle is now shown with a cyan border when editing town.
This commit is contained in:
2025-03-02 15:19:56 -05:00
committed by Celtic Minstrel
parent c60d151ed3
commit a1bc923de8
30 changed files with 103 additions and 205 deletions

View File

@@ -70,8 +70,7 @@ public:
std::string get_feature_flag(std::string flag);
std::array<spec_loc_t,10> town_mods;
std::array<rectangle,3> store_item_rects;
std::array<short,3> store_item_towns;
std::map<short, rectangle> store_item_rects;
std::vector<cSpecItem> special_items;
std::vector<cQuest> quests;
std::vector<cShop> shops;