aboutsummaryrefslogtreecommitdiff
path: root/include/courtroom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/courtroom.h')
-rw-r--r--include/courtroom.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 3b56c77..bf688b5 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -73,6 +73,7 @@ public:
void append_evidence(evi_type p_evi) { evidence_list.append(p_evi); }
void append_music(QString f_music) { music_list.append(f_music); }
void append_area(QString f_area) { area_list.append(f_area); }
+ void clear_chars() { char_list.clear(); }
void clear_music() { music_list.clear(); }
void clear_areas() { area_list.clear(); }
@@ -278,14 +279,14 @@ public:
int default_color = 0);
void log_ic_text(QString p_name, QString p_showname, QString p_message,
- QString p_action = "", int p_color = 0);
+ QString p_action = "", int p_color = 0, bool p_selfname = false);
// adds text to the IC chatlog. p_name first as bold then p_text then a newlin
// this function keeps the chatlog scrolled to the top unless there's text
// selected
// or the user isn't already scrolled to the top
void append_ic_text(QString p_text, QString p_name = "", QString action = "",
- int color = 0, QDateTime timestamp = QDateTime::currentDateTime());
+ int color = 0, bool selfname = false, QDateTime timestamp = QDateTime::currentDateTime());
// prints who played the song to IC chat and plays said song(if found on local
// filesystem) takes in a list where the first element is the song name and