Commit Graph

88 Commits

Author SHA1 Message Date
Anna 803938564a fix: clean up the new swap system 2020-09-02 22:24:34 -04:00
Anna 315f617ead chore: make braces a requirement 2020-09-02 22:23:46 -04:00
Zacharie Day 3c75021fc4 Fix possible ambiguity in migration code 2020-09-02 20:31:02 -04:00
Zacharie Day 4687bdc7d4 Save plugin config when deleting condition 2020-09-02 20:31:01 -04:00
Zacharie Day 450bca76b5 Change match struct to a class
There was no reason for it to be a value type.
2020-09-02 20:31:01 -04:00
Zacharie Day e24b9649c7 Mark old conditions as obsolete and add migration 2020-09-02 20:31:01 -04:00
Zacharie Day 819ba7cf45 Prevent adding conditions when no layouts exist
Also externalized the condition table draw logic for the sake of
readability.
2020-09-02 20:31:01 -04:00
Zacharie Day a3d65ec43b Implement dynamic condition UI
This allows the user to add conditions of whatever combination of
job and state criteria they choose.
2020-09-02 20:31:01 -04:00
Anna 3f35b5e0d3 chore: bump version to 1.4.0 2020-08-13 07:02:48 -04:00
Anna dd8c3e180b fix: update offset for 5.3 2020-08-13 07:00:09 -04:00
Anna 521a41151e chore: remove unused import 2020-08-13 06:59:55 -04:00
Anna 2de1d50e64 fix: use uuid of layouts in label 2020-08-06 14:44:09 -04:00
Anna 2655671682 fix: run swap logic in framework update handler 2020-08-06 12:04:47 -04:00
Anna 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
Anna 98931e1d3f chore: bump version to 1.3.1 2020-07-31 16:59:30 -04:00
Anna a003072599 fix: check that status layouts aren't unset 2020-07-31 16:59:15 -04:00
Anna 58de3e9a9e chore: bump version to 1.3.0 2020-07-31 13:59:20 -04:00
Anna cd08d08e5c refactor: fix warnings and code smells 2020-07-31 13:58:56 -04:00
Anna b69de5653a feat: add clipboard export/import 2020-07-31 13:29:40 -04:00
Anna 7226458785 refactor: pull layouts into a dictionary 2020-07-31 12:46:40 -04:00
Anna c793cfc613 feat: add job layouts and roleplaying layout 2020-07-31 00:15:07 -04:00
Anna 77d527a161 fix: clear rename field after deleting 2020-07-30 18:50:50 -04:00
Anna 47cb699c09 chore: bump version to 1.2.0 2020-07-30 15:40:28 -04:00
Anna 3bea865b90 feat: add ability to rename layouts 2020-07-30 15:40:18 -04:00
Anna 63b9daaa30 feat: add risk understanding gate 2020-07-30 14:41:10 -04:00
Anna c761d4b07c fix: don't crash on using delete layout 2020-07-30 13:55:07 -04:00
Anna 3c49f8d3d0 fix: only set layout when configuring if enabled 2020-07-30 13:54:45 -04:00
Anna bc2187144f feat: allow configuring staging slot 2020-07-30 13:54:13 -04:00
Anna 3b3a14e7b1 feat: automatically import HUD slots on first run 2020-07-30 13:53:13 -04:00
Anna 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
Anna d2d352b435 fix: make message for enable checkbox clearer 2020-07-30 13:20:30 -04:00
Anna d5083de3f2 chore: bump version to 1.1.0 2020-07-29 22:43:36 -04:00
Anna 356c9854a3 feat: add error window for bad configs 2020-07-29 22:42:57 -04:00
Anna 1f51eb9ce4 refactor: handle checking condition better 2020-07-29 21:54:04 -04:00
Anna 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
Anna 79de60b449 chore: add plugin manifest 2020-07-29 12:30:44 -04:00
Anna 8ba7416d89 refactor: remove unused imports 2020-07-29 12:30:14 -04:00
Anna e50d187702 chore: initial commit 2020-07-29 12:01:00 -04:00