diff options
| author | Crystalwarrior <varsash@gmail.com> | 2021-01-27 18:20:56 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2021-01-27 18:20:56 +0300 |
| commit | b040449f7fd6ddf404e81d4b44c1726827959aa9 (patch) | |
| tree | 4428eabbf8004d70cca0038697ae8233b10bc83c /include/courtroom.h | |
| parent | e3f11ebed3f84fc91b8fa982b10ef5ea68082d44 (diff) | |
Redesign the text display speed delay to be more modular by introducing a "base display speed" variable
Diffstat (limited to 'include/courtroom.h')
| -rw-r--r-- | include/courtroom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index bf335814..d20c580b 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -336,7 +336,8 @@ private: bool message_is_centered = false; int current_display_speed = 3; - int message_display_speed[7] = {5, 10, 25, 40, 50, 70, 90}; + int base_display_speed = 40; + double message_display_mult[7] = {0.125, 0.25, 0.65, 1, 1.25, 1.75, 2.25}; // The character ID of the character this user wants to appear alongside with. int other_charid = -1; |
