Commit Graph

8 Commits

Author SHA1 Message Date
521a41151e chore: remove unused import 2020-08-13 06:59:55 -04:00
8614c19835 feat: add window position handling
Also add /phud for swapping between saved layouts.

Currently only the map and chat box have saved positions, although the
implementation supports additional windows. There is a checkbox when
importing to turn on or off window position saving.
2020-08-03 22:13:29 -04:00
cd08d08e5c refactor: fix warnings and code smells 2020-07-31 13:58:56 -04:00
b69de5653a feat: add clipboard export/import 2020-07-31 13:29:40 -04:00
d1b122576d fix: back up the hotswap slot
The game checks if the slot being switched to is already selected and
does nothing if so. (For what it's worth, I did try changing the code
in memory to ignore these checks, but it didn't seem to work.) In
order to get the game to change slot, we write a different slot number
to the "current" slot in memory and then ask the game to change slot.

This doesn't swap the slot on screen and still works, which is
ideal. However, the game seems to overwrite the slot that is marked as
current when we do this. To remedy this issue, back up the slot before
telling the game to swap, then restore the slot afterwards.
2020-07-30 13:21:08 -04:00
3fde80aed1 feat: infinite layout slots
Add a system to save layout slots and restore them, effectively
increasing the number of slots to an infinite amount.

Also add crafting and gathering layout swaps and make the UI more
reasonable.

Refactor out the combo boxes.
2020-07-29 21:01:22 -04:00
8ba7416d89 refactor: remove unused imports 2020-07-29 12:30:14 -04:00
e50d187702 chore: initial commit 2020-07-29 12:01:00 -04:00