aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-09-15 21:15:40 +0300
committerCrystalwarrior <varsash@gmail.com>2019-09-15 21:15:40 +0300
commitba28c244aa7591892abb2699cdc547ec431543a7 (patch)
tree9436e04a913d237a69ebe835fb3c7fe92f5dace8 /include
parent661ec87646fe57a0081d49e428267b0dfe3f0d65 (diff)
Add an opton to enable/disable screenshake + flashing
Fix moderation guard button not doing what it's supposed to (enable/disable modcalls) Fix moderation guard button appearing with failed logins Fix the option to toggle looping sfx not doing anything
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
-rw-r--r--include/aooptionsdialog.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index eb12b0c1..6bc86e6d 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -170,6 +170,10 @@ public:
// from the config.ini.
bool is_discord_enabled();
+ // Returns the value of whether shaking and flashing should be enabled.
+ // from the config.ini.
+ bool is_shake_flash_enabled();
+
// Returns the value of the maximum amount of lines the IC chatlog
// may contain, from config.ini.
int get_max_log_size();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 34ae2b77..0deb0a82 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -64,6 +64,9 @@ private:
QLabel *ui_language_label;
QComboBox *ui_language_combobox;
+ QLabel *ui_epilepsy_lbl;
+ QCheckBox *ui_epilepsy_cb;
+
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;
QVBoxLayout *ui_callwords_layout;
@@ -88,6 +91,8 @@ private:
QLabel *ui_bliprate_lbl;
QCheckBox *ui_blank_blips_cb;
QLabel *ui_blank_blips_lbl;
+ QLabel *ui_loopsfx_lbl;
+ QCheckBox *ui_loopsfx_cb;
QLabel *ui_objectmusic_lbl;
QCheckBox *ui_objectmusic_cb;
QDialogButtonBox *ui_settings_buttons;