TeamSurvivalXtreme / SXCollection

SXC (SurvivalXtreme map Collection) add-on for Wesnoth
GNU General Public License v2.0
5 stars 2 forks source link

Redesign the shop UI's cancel options as a transaction-based thing #36

Open stevecotton opened 6 years ago

stevecotton commented 6 years ago

Many of the shopping options also give an option to cancel them, for example after buying +50 hp you get an extra option to cancel that purchase. This is implemented by having a separate cancel option, and separate code for handling it, for each of these options.

I think it would be better UI to have a "cancel all" option at the bottom of each shop section, so you're selecting all the upgrades that you want to buy, and then either buying the complete set, or discarding the changes but keeping the gold.

This issue is just for the UI, how the underlying code would handle it will be the next issue logged.