diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-01-27 01:17:33 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-01-27 01:17:33 +0100 |
| commit | 9682087667e2de26e14406efde960b8c7f0c3c98 (patch) | |
| tree | a2b2dbee3b1a3102499b3cb5c6529e6f01655f74 /courtroom.h | |
| parent | 5e2ea2b24c2c0151ff8b0354632aa00148e0e6d6 (diff) | |
implemented ooc chat and cleaned up some old headers
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/courtroom.h b/courtroom.h index 5b2a1115..9f25387e 100644 --- a/courtroom.h +++ b/courtroom.h @@ -35,6 +35,11 @@ public: void set_taken(int n_char, bool p_taken); void set_char_select_page(); + void enter_courtroom(int p_cid); + + void append_ms_chatmessage(QString f_message); + void append_server_chatmessage(QString f_message); + ~Courtroom(); private: @@ -59,6 +64,12 @@ private: //makes char arithmetic easier int current_char_page = 0; + //character id, which index of the char_list the player is + int m_cid = 0; + + //wether the ooc chat is server or master chat, true is server + bool server_ooc = true; + AOImage *ui_background; //T0D0: add viewport elements like background, desk, etc. @@ -143,16 +154,19 @@ private: AOButton *ui_spectator; private slots: + void on_ooc_return_pressed(); + void on_ooc_toggle_clicked(); + void on_change_character_clicked(); void on_reload_theme_clicked(); void on_back_to_lobby_clicked(); - void on_spectator_clicked(); - void on_char_select_left_clicked(); void on_char_select_right_clicked(); + void on_spectator_clicked(); + void char_clicked(int n_char); }; |
