diff options
| author | Cerapter <cerap@protonmail.com> | 2018-07-26 23:51:47 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-07-26 23:51:47 +0200 |
| commit | 3295e5a78e55e1cc11b6ee705fff3ca54c2a02f6 (patch) | |
| tree | fdb83ee5347d28f7ad24254d21841d7dc028402f /courtroom.h | |
| parent | a8205986a4592056f2445f3b104e45a84f674ba9 (diff) | |
Text speed modifier.
- 7 different speeds.
- `{` turns the speed down.
- `}` turns the speed up!
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/courtroom.h b/courtroom.h index e1a32f0f..35171b47 100644 --- a/courtroom.h +++ b/courtroom.h @@ -170,6 +170,9 @@ private: bool message_is_centered = false; + int current_display_speed = 3; + int message_display_speed[7] = {30, 40, 50, 60, 75, 100, 120}; + QVector<char_type> char_list; QVector<evi_type> evidence_list; QVector<QString> music_list; @@ -181,7 +184,7 @@ private: //determines how fast messages tick onto screen QTimer *chat_tick_timer; - int chat_tick_interval = 60; + //int chat_tick_interval = 60; //which tick position(character in chat message) we are at int tick_pos = 0; //used to determine how often blips sound |
