From c0d333ee56034118f00e07ba0ab0b6c6cdd95c8a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 11 Mar 2019 22:44:28 +0100 Subject: [PATCH] - adjusted the script-side MidPrint calls to honor the con_midconsolefont CVAR. --- wadsrc/static/zscript/actors/inventory/inv_misc.zs | 2 +- wadsrc/static/zscript/actors/strife/alienspectres.zs | 8 ++++---- wadsrc/static/zscript/actors/strife/strifeitems.zs | 6 +++--- wadsrc/static/zscript/actors/strife/thingstoblowup.zs | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wadsrc/static/zscript/actors/inventory/inv_misc.zs b/wadsrc/static/zscript/actors/inventory/inv_misc.zs index f401a3e2db..af4bc8e1dc 100644 --- a/wadsrc/static/zscript/actors/inventory/inv_misc.zs +++ b/wadsrc/static/zscript/actors/inventory/inv_misc.zs @@ -127,7 +127,7 @@ class PuzzleItem : Inventory Owner.A_PlaySound ("*puzzfail", CHAN_VOICE); if (Owner.CheckLocalView()) { - Console.MidPrint ("SmallFont", PuzzFailMessage, true); + Console.MidPrint (null, PuzzFailMessage, true); } return false; } diff --git a/wadsrc/static/zscript/actors/strife/alienspectres.zs b/wadsrc/static/zscript/actors/strife/alienspectres.zs index 726c8a05e8..306c55c391 100644 --- a/wadsrc/static/zscript/actors/strife/alienspectres.zs +++ b/wadsrc/static/zscript/actors/strife/alienspectres.zs @@ -108,13 +108,13 @@ class AlienSpectre1 : SpectralMonster } else if (cls == "AlienSpectre2") { - Console.MidPrint("SmallFont", "$TXT_KILLED_BISHOP"); + Console.MidPrint(null, "$TXT_KILLED_BISHOP"); log = 74; player.GiveInventoryType ("QuestItem21"); } else if (cls == "AlienSpectre3") { - Console.MidPrint("SmallFont", "$TXT_KILLED_ORACLE"); + Console.MidPrint(null, "$TXT_KILLED_ORACLE"); // If there are any Oracles still alive, kill them. ThinkerIterator it = ThinkerIterator.Create("Oracle"); Actor oracle; @@ -144,7 +144,7 @@ class AlienSpectre1 : SpectralMonster } else if (cls == "AlienSpectre4") { - Console.MidPrint("SmallFont", "$TXT_KILLED_MACIL"); + Console.MidPrint(null, "$TXT_KILLED_MACIL"); player.GiveInventoryType ("QuestItem24"); if (player.FindInventory ("QuestItem25") == null) { // Richter has taken over. Macil is a snake. @@ -157,7 +157,7 @@ class AlienSpectre1 : SpectralMonster } else if (cls == "AlienSpectre5") { - Console.MidPrint("SmallFont", "$TXT_KILLED_LOREMASTER"); + Console.MidPrint(null, "$TXT_KILLED_LOREMASTER"); player.GiveInventoryType ("QuestItem26"); if (!multiplayer) diff --git a/wadsrc/static/zscript/actors/strife/strifeitems.zs b/wadsrc/static/zscript/actors/strife/strifeitems.zs index 9b6935566c..f87749315a 100644 --- a/wadsrc/static/zscript/actors/strife/strifeitems.zs +++ b/wadsrc/static/zscript/actors/strife/strifeitems.zs @@ -531,7 +531,7 @@ class Scanner : PowerupGiver { if (Owner.CheckLocalView()) { - Console.MidPrint("SmallFont", "$TXT_NEEDMAP"); + Console.MidPrint(null, "$TXT_NEEDMAP"); } return false; } @@ -632,7 +632,7 @@ class RaiseAlarm : DummyStrifeItem dropper.target.SoundAlert(dropper.target); if (dropper.target.CheckLocalView()) { - Console.MidPrint(SmallFont, "$TXT_YOUFOOL"); + Console.MidPrint(null, "$TXT_YOUFOOL"); } } Destroy (); @@ -672,7 +672,7 @@ class CloseDoor222 : DummyStrifeItem { if (dropper.target.CheckLocalView()) { - Console.MidPrint(SmallFont, "$TXT_YOUREDEAD"); + Console.MidPrint(null, "$TXT_YOUREDEAD"); } dropper.target.SoundAlert(dropper.target); } diff --git a/wadsrc/static/zscript/actors/strife/thingstoblowup.zs b/wadsrc/static/zscript/actors/strife/thingstoblowup.zs index b3c6d636c7..83369ae050 100644 --- a/wadsrc/static/zscript/actors/strife/thingstoblowup.zs +++ b/wadsrc/static/zscript/actors/strife/thingstoblowup.zs @@ -32,7 +32,7 @@ extend class Actor if (msg != msgid) // if both are identical there was no message of this name in the stringtable. { - Console.MidPrint ("SmallFont", msg); + Console.MidPrint (null, msg); } }