diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoapplication.h | 3 | ||||
| -rw-r--r-- | include/aooptionsdialog.h | 2 | ||||
| -rw-r--r-- | include/courtroom.h | 8 |
3 files changed, 13 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 790b445a..3465202b 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -220,6 +220,9 @@ public: // Returns whether the log should have a timestamp. bool get_log_timestamp(); + // Returns whether to log IC actions. + bool get_log_ic_actions(); + // Returns the username the user may have set in config.ini. QString get_default_username(); diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h index fe99626a..2e2d7b8a 100644 --- a/include/aooptionsdialog.h +++ b/include/aooptionsdialog.h @@ -52,6 +52,8 @@ private: QSpinBox *ui_log_margin_spinbox; QLabel *ui_log_timestamp_lbl; QCheckBox *ui_log_timestamp_cb; + QLabel *ui_log_ic_actions_lbl; + QCheckBox *ui_log_ic_actions_cb; QFrame *ui_log_names_divider; QLineEdit *ui_username_textbox; QLabel *ui_username_lbl; diff --git a/include/courtroom.h b/include/courtroom.h index 6a00bdce..a35d8301 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -332,6 +332,9 @@ private: // True, if the log should display the message like name<br>text instead of name: text bool log_newline = false; + // True, if the log should include RP actions like interjections, showing evidence, etc. + bool log_ic_actions = true; + // Margin in pixels between log entries for the IC log. int log_margin = 0; @@ -398,6 +401,11 @@ private: int objection_state = 0; QString objection_custom = ""; + struct CustomObjection { + QString name; + QString filename; + }; + QList<CustomObjection> custom_objections_list; int realization_state = 0; int screenshake_state = 0; int text_color = 0; |
