aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h7
-rw-r--r--include/aooptionsdialog.h5
-rw-r--r--include/aopacket.h2
-rw-r--r--include/courtroom.h3
4 files changed, 16 insertions, 1 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index c217dad..9667b26 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -222,6 +222,10 @@ public:
// for settings.
bool is_customchat_enabled();
+ // Returns the value of whether continuous playback should be used
+ // from the config.ini.
+ bool is_continuous_enabled();
+
// Returns the value of the maximum amount of lines the IC chatlog
// may contain, from config.ini.
int get_max_log_size();
@@ -229,6 +233,9 @@ public:
// Current wait time between messages for the queue system
int stay_time();
+ // Returns the letter display speed during text crawl in in-character messages
+ int get_text_crawl();
+
// Returns Minimum amount of time (in miliseconds) that must pass before the next Enter key press will send your IC message. (new behaviour)
int get_chat_ratelimit();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 74fc9af..340a9f0 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -58,6 +58,8 @@ private:
QCheckBox *ui_desync_logs_cb;
QLabel *ui_instant_objection_lbl;
QCheckBox *ui_instant_objection_cb;
+ QLabel *ui_text_crawl_lbl;
+ QSpinBox *ui_text_crawl_spinbox;
QLabel *ui_chat_ratelimit_lbl;
QSpinBox *ui_chat_ratelimit_spinbox;
QLabel *ui_log_ic_actions_lbl;
@@ -97,6 +99,9 @@ private:
QLabel *ui_customchat_lbl;
QCheckBox *ui_customchat_cb;
+ QLabel *ui_continuous_lbl;
+ QCheckBox *ui_continuous_cb;
+
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;
QVBoxLayout *ui_callwords_layout;
diff --git a/include/aopacket.h b/include/aopacket.h
index 794025c..a325103 100644
--- a/include/aopacket.h
+++ b/include/aopacket.h
@@ -17,6 +17,8 @@ public:
void net_encode();
void net_decode();
+ static void escape(QStringList &contents);
+ static void unescape(QStringList &contents);
private:
QString m_header;
diff --git a/include/courtroom.h b/include/courtroom.h
index bf33581..fe3a171 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -336,7 +336,8 @@ private:
bool message_is_centered = false;
int current_display_speed = 3;
- int message_display_speed[7] = {5, 10, 25, 40, 50, 70, 90};
+ int text_crawl = 40;
+ double message_display_mult[7] = {0.125, 0.25, 0.65, 1, 1.25, 1.75, 2.25};
// The character ID of the character this user wants to appear alongside with.
int other_charid = -1;