aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
-rw-r--r--include/aooptionsdialog.h5
-rw-r--r--include/courtroom.h7
3 files changed, 10 insertions, 6 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index a07bf74..5646dde 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -188,8 +188,10 @@ public:
int get_max_log_size();
// Gets the punctuation delay modifier
- int get_pundelay();
+ bool get_pundelay();
+ //Gets whether slower text speed is enabled
+ bool get_slower_blips();
// Returns whether the log should go upwards (new behaviour)
// or downwards (vanilla behaviour).
bool get_log_goes_downwards();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 8580c34..9a1429a 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -52,8 +52,9 @@ private:
QLabel *ui_length_lbl;
QSpinBox *ui_length_spinbox;
QLabel *ui_pun_delay;
- QSpinBox *ui_pun_delay_spinbox;
- QFrame *ui_log_names_divider;
+ QCheckBox *ui_pun_delay_cb;
+ QLabel *ui_slower_blips_lb;
+ QCheckBox *ui_slower_blips_cb;
QLineEdit *ui_username_textbox;
QLabel *ui_username_lbl;
QLabel *ui_showname_lbl;
diff --git a/include/courtroom.h b/include/courtroom.h
index 8b4b443..396c4d7 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -288,7 +288,8 @@ private:
bool message_is_centered = false;
int current_display_speed = 3;
- int message_display_speed[7] = {30, 40, 50, 60, 75, 100, 120};
+ int message_display_speed_slow[7] = {30, 40, 50, 60, 75, 100, 120};
+ int message_display_speed[7] = {10, 20, 30, 40, 50, 60, 75};
// This is for checking if the character should start talking again
// when an inline blue text ends.
@@ -388,8 +389,8 @@ private:
const QString punctuation_chars = ".,?!:;";
// amount by which we multiply the delay when we parse punctuation chars
- int punctuation_modifier = 2;
-
+ int punctuation_modifier = 0;
+ bool slower_blips = false;
// character id, which index of the char_list the player is
int m_cid = -1;
// cid and this may differ in cases of ini-editing