Commit Graph

14 Commits

Author SHA1 Message Date
Anna 5935df195d
refactor: clean up old code 2020-12-29 11:08:21 -05:00
Anna b3db144885
fix: remove examine option for now 2020-12-08 03:27:18 -05:00
Anna 1ed1bde02b
fix: alter volume of stream, not device 2020-08-25 14:06:18 -04:00
Anna 0071f81cd2
feat: allow volume control and more audio types
Also allow choosing audio output device.
2020-08-24 13:14:16 -04:00
Anna 6a09f0e72c
fix: update offsets for 5.3 2020-08-11 08:13:19 -04:00
Anna 5ada83b8b3
refactor: make status checkers one line 2020-08-08 22:18:20 -04:00
Anna 62e10ce40c
fix: replace PartyList with status check 2020-08-08 22:15:04 -04:00
Anna 832b929cfd
refactor: use stopwatch elapsed time 2020-08-08 18:29:32 -04:00
Anna c3dfe31b9e
feat: use a thread to scan for targeters
Also make the poll interval configurable.

For the case of one targeter, the UI scans through the ActorTable to
find the relevant Actor, achieving either a partial or full scan. In
the case of more than one targeter, the UI constructs a Dictionary
mapping ActorId to Actor, then indexes that dictionary for each
targeter. This achieves one full scan, which may or may not be more
efficient than multiple partial scans, depending on where the actors
are located in the table.

The UI must do this because current targeters are no longer guaranteed
to be spawned anymore, especially with a high polling frequency, and
the UI needs accurate information about the targeters' address in
memory.
2020-08-08 16:59:06 -04:00
Anna 0a87da8591
fix: clear history when logging out 2020-08-08 06:21:57 -04:00
Anna 69517f10d1
fix: lock on history when modifying it 2020-08-08 06:21:44 -04:00
Anna 02099dd46b
refactor: make mutexes private 2020-08-08 06:21:35 -04:00
Anna 11032ada01
feat: add options for behaviour when closed 2020-08-08 06:05:23 -04:00
Anna 02dd910d86
refactor: pull targeting code out of ui
This has some consequences. First, LocalPlayer is no longer necessary
for rendering the UI, meaning the UI stays open even during loading
screens and other situations where there is no player.

Secondly, the sound effect will play even when the window is closed.

Thirdly, the history will update even when the window is closed.

The last two points will become config options in future.

I would also like to make TargetWatcher run in a task and run perhaps
every 100ms instead of every framework update.
2020-08-08 05:20:48 -04:00