diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-12-12 13:05:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-12 13:05:27 -0600 |
| commit | d09269122408ee83c4fa20dfb90ed5aedd9fe85a (patch) | |
| tree | 57bb4ac47202158ac5062488151d3c83305ce424 /courtroom.h | |
| parent | 9270069e726d1f260e3c08ee5722f6d07067b770 (diff) | |
| parent | 171196885d88360c8c06def67ae398c8187dfd89 (diff) | |
Merge pull request #38 from Cerapter/mega-merge-fixes
CC-original related feature fixes.
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/courtroom.h b/courtroom.h index 85c454a..0b5c0ea 100644 --- a/courtroom.h +++ b/courtroom.h @@ -179,20 +179,20 @@ public: void handle_chatmessage_2(); void handle_chatmessage_3(); + //This function filters out the common CC inline text trickery, for appending to + //the IC chatlog. + QString filter_ic_text(QString p_text); + //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 = ""); - - // This is essentially the same as the above, but specifically for song changes. - void append_ic_songchange(QString p_songname, QString p_name = ""); + void append_ic_text(QString p_text, QString p_name = "", bool is_songchange = false); //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 the second is the char id of who played it void handle_song(QStringList *p_contents); - void play_preanim(); - void play_noninterrupting_preanim(); + void play_preanim(bool noninterrupting); //plays the witness testimony or cross examination animation based on argument void handle_wtce(QString p_wtce, int variant); |
