aboutsummaryrefslogtreecommitdiff
path: root/include/aoapplication.h
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2022-07-30 15:55:58 +0300
committerGitHub <noreply@github.com>2022-07-30 14:55:58 +0200
commitcf91cc03f849bba498cd8d91505bf8db04f8b1f9 (patch)
tree9be4fcd65a824bdd95cd9d884957a12f99b60e22 /include/aoapplication.h
parentd9bdb7e6bca8c5168d1b280fce4ee60c894a9a7e (diff)
Add settings option for "sfx_on_idle" which allows you to play a custom SFX alongside an Idle emote (#744)
* Add an "sfx_on_idle" FL packet flag, UNFORTUNATELY servers have to go out of their way to support this feature due to clients below 2.10 fucking spamming sfx for 2.10 otherwise * Revert feature flag, implement a method that works regardless of server instead * Revert "Revert feature flag, implement a method that works regardless of server instead" This reverts commit c14b4fb2a1bbf2796db4a26e83609ba743826655. * Stop using FL packet, but make SFX on Idle a client-side setting to reduce confusion and reliance on servers for a client feature to a minimum. This reverts commit 687e64e37839b77923c93d13f971ee6750bd4330. * Update src/aooptionsdialog.cpp Co-authored-by: stonedDiscord <Tukz@gmx.de> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'include/aoapplication.h')
-rw-r--r--include/aoapplication.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 53674005..ce742151 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -535,6 +535,9 @@ public:
// Get whether to opt out of player count metrics sent to the master server
bool get_player_count_optout();
+ // Get if sfx can be sent to play on idle
+ bool get_sfx_on_idle();
+
// Whether opening evidence requires a single or double click
bool get_evidence_double_click();