aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoriamgoofball <iamgoofball@gmail.com>2019-01-23 07:35:29 -0800
committeriamgoofball <iamgoofball@gmail.com>2019-01-23 07:35:29 -0800
commit0649e7b28e16a054072d8656a5046c7cc3cfefb6 (patch)
treeae5a5e0bf48a6b588314e337f36d8c1e9164a316 /include
parentf9406d0a7f2363843d9d7c09a9e8d3422c967a64 (diff)
Case Announcer: Witness Support also some other shit
Diffstat (limited to 'include')
-rw-r--r--include/aocaseannouncerdialog.h1
-rw-r--r--include/courtroom.h8
2 files changed, 7 insertions, 2 deletions
diff --git a/include/aocaseannouncerdialog.h b/include/aocaseannouncerdialog.h
index a238c3f2..da26fab0 100644
--- a/include/aocaseannouncerdialog.h
+++ b/include/aocaseannouncerdialog.h
@@ -36,6 +36,7 @@ private:
QCheckBox *ui_judge_needed;
QCheckBox *ui_juror_needed;
QCheckBox *ui_steno_needed;
+ QCheckBox *ui_witness_needed;
public slots:
void ok_pressed();
diff --git a/include/courtroom.h b/include/courtroom.h
index be37869a..e00e454c 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -59,6 +59,7 @@
#include <QThreadPool>
#include <QFuture>
#include <QMetaObject>
+#include <QLayout>
#include <stack>
class AOApplication;
@@ -194,6 +195,9 @@ public:
//properly sets up some varibles: resets user state
void enter_courtroom(int p_cid);
+ // mfw this didnt fucking exist yet
+ void set_character(int char_id);
+
//helper function that populates ui_music_list with the contents of music_list
void list_music();
void list_areas();
@@ -234,7 +238,7 @@ public:
//Toggles the judge buttons, whether they should appear or not.
void toggle_judge_buttons(bool is_on);
- void announce_case(QString title, bool def, bool pro, bool jud, bool jur, bool steno);
+ void announce_case(QString title, bool def, bool pro, bool jud, bool jur, bool steno, bool wit);
void check_connection_received();
void doScreenShake();
@@ -575,7 +579,7 @@ public slots:
void mod_called(QString p_ip);
- void case_called(QString msg, bool def, bool pro, bool jud, bool jur, bool steno);
+ void case_called(QString msg, bool def, bool pro, bool jud, bool jur, bool steno, bool witness);
private slots:
void start_chat_ticking();