aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscatterflower <2956568+scatterflower@users.noreply.github.com>2020-08-16 14:26:06 -0500
committerGitHub <noreply@github.com>2020-08-16 14:26:06 -0500
commit89aa821d36a65ae604f4ec425c483890fd957db2 (patch)
tree7a5bde39811795ceef26c6435a54c47cee414b7e /include
parenta31693323cbebc74fe2657df6dce07943e1bfdb2 (diff)
parent4b7efc8536f4ea518eb43483e3805255f36ada75 (diff)
Merge pull request #251 from scatterflower/2.8
Simplify parts of the IC handler, and fix some bugs
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index f1cb026..ca271a4 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -348,8 +348,10 @@ private:
// amount by which we multiply the delay when we parse punctuation chars
const int punctuation_modifier = 3;
- static const int chatmessage_size = 30;
- QString m_chatmessage[chatmessage_size];
+ // Minumum and maximum number of parameters in the MS packet
+ static const int MS_MINIMUM = 15;
+ static const int MS_MAXIMUM = 30;
+ QString m_chatmessage[MS_MAXIMUM];
bool chatmessage_is_empty = false;
QString previous_ic_message = "";
@@ -646,6 +648,8 @@ private:
void refresh_evidence();
void set_evidence_page();
+ void reset_ic();
+ void reset_ui();
public slots:
void objection_done();
void preanim_done();