From 229d2d4de573c4c0bac1cffb6b074620de4f7311 Mon Sep 17 00:00:00 2001 From: OmniTroid Date: Tue, 14 Feb 2017 01:44:08 +0100 Subject: added witness testimony blinking --- courtroom.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'courtroom.h') 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 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(); -- cgit