aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-09-15 21:39:39 +0300
committerCrystalwarrior <varsash@gmail.com>2019-09-15 21:39:39 +0300
commit1b36be9dbc0cc665ddb69e1e1ee70267612b5d6c (patch)
tree360f72835b675df1b12bfb5485d0cb43492f2f16 /include
parent6afce056618d17aa770b6aa51eea477468aad8ab (diff)
Add an option for networking frame-specific effects
I'm starting to realize the options menu/system needs a complete overhaul at this point. (Auto-generating options menu, anyone?)
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
-rw-r--r--include/aooptionsdialog.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 6bc86e6d..e63ab8e7 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -174,6 +174,10 @@ public:
// from the config.ini.
bool is_shake_flash_enabled();
+ // Returns the value of whether frame-specific effects defined in char.ini should be sent/received over the network.
+ // from the config.ini.
+ bool is_frame_network_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 0deb0a82..03226619 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -66,6 +66,8 @@ private:
QLabel *ui_epilepsy_lbl;
QCheckBox *ui_epilepsy_cb;
+ QLabel *ui_framenetwork_lbl;
+ QCheckBox *ui_framenetwork_cb;
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;