Dialogue box: Dark mode

Legitimately curious if light mode will become an exe mod, AND if whoever does that treats it like a joke or seriously
This commit is contained in:
toaster 2024-03-15 21:45:30 +00:00
parent 4202d5bb71
commit f89124d7e1

View file

@ -331,7 +331,7 @@ void Dialogue::Draw(void)
return; return;
} }
const UINT8 bgcol = 1, darkcol = 235; const UINT8 bgcol = 235, speakerhilicol = 1;
const fixed_t height = 78 * FRACUNIT; const fixed_t height = 78 * FRACUNIT;
@ -344,7 +344,7 @@ void Dialogue::Draw(void)
// TODO -- hack, change when dialogue is made per-player/netsynced // TODO -- hack, change when dialogue is made per-player/netsynced
UINT32 speakerbgflags = (players[consoleplayer].nocontrol == 0 && P_LevelIsFrozen() == false) UINT32 speakerbgflags = (players[consoleplayer].nocontrol == 0 && P_LevelIsFrozen() == false)
? (V_ADD|V_30TRANS) ? V_30TRANS
: 0; : 0;
drawer drawer
@ -411,7 +411,7 @@ void Dialogue::Draw(void)
.width(speakernamewidth - existingborder) .width(speakernamewidth - existingborder)
.y(-38-11) .y(-38-11)
.height(11) .height(11)
.fill(darkcol); .fill(speakerhilicol);
} }
speakernameedge -= speakernamewidth; speakernameedge -= speakernamewidth;