From b040449f7fd6ddf404e81d4b44c1726827959aa9 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Wed, 27 Jan 2021 18:20:56 +0300 Subject: Redesign the text display speed delay to be more modular by introducing a "base display speed" variable --- include/courtroom.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/courtroom.h') 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; -- cgit