From 86d274279894fe80fe987c6813512499cedc3656 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 26 Jul 2019 20:23:46 +0200 Subject: [PATCH] - allow switching the Strife conversation screen to the VGA font for all languages by a CVAR. This is for readability purposes because the styled SmallFont may be problematic for some players. --- src/p_conversation.cpp | 1 + wadsrc/static/zscript/ui/menu/conversationmenu.zs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_conversation.cpp b/src/p_conversation.cpp index a8cdf3f29..4a0a77e46 100644 --- a/src/p_conversation.cpp +++ b/src/p_conversation.cpp @@ -70,6 +70,7 @@ static bool DrawConversationMenu (); static void PickConversationReply (int replyindex); static void TerminalResponse (const char *str); +CVAR(Bool, dlg_vgafont, false, CVAR_ARCHIVE) //============================================================================ // diff --git a/wadsrc/static/zscript/ui/menu/conversationmenu.zs b/wadsrc/static/zscript/ui/menu/conversationmenu.zs index a51c01d78..3c939d380 100644 --- a/wadsrc/static/zscript/ui/menu/conversationmenu.zs +++ b/wadsrc/static/zscript/ui/menu/conversationmenu.zs @@ -112,7 +112,7 @@ class ConversationMenu : Menu mShowGold = false; ConversationPauseTic = gametic + 20; DontDim = true; - if (!generic_ui) + if (!generic_ui && !dlg_vgafont) { displayFont = SmallFont; displayWidth = CleanWidth;