mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 00:12:27 +00:00
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:
parent
4202d5bb71
commit
f89124d7e1
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue