Add accessibility mode and respect FOV effect scale for FOV effects #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR focuses on accessibility related features. It adds a new accessibility mode to the settings, which, when turned on, will disable certain events that may contain flashing, jittery, or potentially nauseating images. Find a list of these events below. If you think any could be added, do let me know. This setting is independent on server and client, however if a server has it enabled, no players will receive these events no matter if they have accessibility mode on or not.

If a server has accessibility mode disabled, and sends affected events to players that have the mode enabled, the event will not be played and display crossed out in the event list. Example image:
The events configuration screen does not reflect this setting, and there is no notice next to affected events. I thought about adding it, but since the screen does not have access to an event instance, I didn't. For this to be properly implemented, a new event instance of each event would need to be created when this screen is opened. If you have no problem with that, I can go ahead and add that.
Accessibility mode also stops rendering the fire overlay for the fire trail event, since the overlay is flickering when running during this event. https://i.imgur.com/mWy7kcv.mp4
Another addition this PR makes is respecting the "FOV Effects" slider for all events affecting the FOV.
The following events are disabled if accessibility mode is enabled: