diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2020-03-14 22:58:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-14 22:58:47 -0500 |
| commit | a411568676cfa1f447baea9c57f3f82f0eadf077 (patch) | |
| tree | 9252ffd0fc3538e49b1b5d51a50e69323ad49f6b /include | |
| parent | 5f69d4e6493475e41fdad34f5041d1a8bdc8176c (diff) | |
| parent | 1b0930b977b5e7ee1b7bd1c7eeb9625702d928e3 (diff) | |
Merge pull request #8 from AttorneyOnline/master
bring up to date
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoapplication.h | 2 | ||||
| -rw-r--r-- | include/courtroom.h | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index e4f2ee68..03aa01a1 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -58,6 +58,8 @@ public: void construct_courtroom(); void destruct_courtroom(); + bool is_music_track(QString trackname); + void ms_packet_received(AOPacket *p_packet); void server_packet_received(AOPacket *p_packet); diff --git a/include/courtroom.h b/include/courtroom.h index 41e88e74..30c3b948 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -209,6 +209,9 @@ public: void append_ms_chatmessage(QString f_name, QString f_message); void append_server_chatmessage(QString p_name, QString p_message, QString p_colour); + //check whether or not current theme has images for buttons with fallback text + void detect_fallback_text(); + //these functions handle chatmessages sequentially. //The process itself is very convoluted and merits separate documentation //But the general idea is objection animation->pre animation->talking->idle @@ -412,6 +415,15 @@ private: //is set to true if the bg folder contains defensedesk.png, prosecutiondesk.png and stand.png bool is_ao2_bg = false; + // whether or not to use text for buttons instead of images, true is text + bool change_char_fallback = true; + bool reload_theme_fallback = true; + bool settings_fallback = true; + bool call_mod_fallback = true; + bool casing_fallback = true; + bool amswap_fallback = true; + bool ooc_toggle_fallback = true; + //whether the ooc chat is server or master chat, true is server bool server_ooc = true; |
