Commit Graph

8 Commits

Author SHA1 Message Date
03b0e232e3
chore: remove unused import 2020-08-13 06:59:55 -04:00
40a40a0964
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
ec06557c27
refactor: fix warnings and code smells 2020-07-31 13:58:56 -04:00
f5a79ae081
feat: add clipboard export/import 2020-07-31 13:29:40 -04:00
1babe5147c
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
11c9d92f4e
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
3f229724bc
refactor: remove unused imports 2020-07-29 12:30:14 -04:00
de0168e5d0
chore: initial commit 2020-07-29 12:01:00 -04:00