Commit Graph

5 Commits

Author SHA1 Message Date
f5378f5c9d fix: clear history when logging out 2020-08-08 06:21:57 -04:00
6beca446fc fix: lock on history when modifying it 2020-08-08 06:21:44 -04:00
9f44f7b3a9 refactor: make mutexes private 2020-08-08 06:21:35 -04:00
cc9b66c216 feat: add options for behaviour when closed 2020-08-08 06:05:23 -04:00
1c31f19b89 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