diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-02-14 02:09:56 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-02-14 02:09:56 +0100 |
| commit | 0da10f73d87205b6ca4f1932d995f4048b657069 (patch) | |
| tree | 8659a0805397126f70934eec2691bbc04e90a826 /courtroom.h | |
| parent | 2c6d011d66e739a0dce68aa938d81263702b8f4a (diff) | |
| parent | 6f9329efac5c00c1e5226b44b23e8ed2a149d3c7 (diff) | |
Merge branch 'master' of https://github.com/Attorney-Online-Engineering-Task-Force/Attorney-Online-Client-Remake
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/courtroom.h b/courtroom.h index 3ffbf54..d1a77d0 100644 --- a/courtroom.h +++ b/courtroom.h @@ -122,6 +122,9 @@ private: QTimer *realization_timer; + QTimer *testimony_show_timer; + QTimer *testimony_hide_timer; + //every time point in char.inis times this equals the final time const int time_mod = 40; @@ -131,6 +134,11 @@ private: QString previous_ic_message = ""; + bool testimony_in_progress = false; + + const int testimony_show_time = 1500; + const int testimony_hide_time = 500; + QMap<QString, bool> mute_map; bool is_muted = false; @@ -278,6 +286,9 @@ public slots: void realization_done(); + void show_testimony(); + void hide_testimony(); + private slots: void start_chat_ticking(); void play_sfx(); |
