mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- Use isRR()
in more places.
This commit is contained in:
parent
6894be4ad1
commit
aa13b50504
2 changed files with 2 additions and 2 deletions
|
@ -628,7 +628,7 @@ void SetDefaultMenuColors()
|
|||
OptionSettings.mFontColorSelection = CR_DARKGREEN;
|
||||
gameinfo.mSliderColor = "Green";
|
||||
}
|
||||
else if (g_gameType & GAMEFLAG_RRALL)
|
||||
else if (isRR())
|
||||
{
|
||||
OptionSettings.mFontColor = CR_BROWN;
|
||||
OptionSettings.mFontColorHeader = CR_DARKBROWN;
|
||||
|
|
|
@ -166,7 +166,7 @@ void drawMapTitle()
|
|||
double alpha = levelTextTime > 16? 1.0 : levelTextTime / 16.;
|
||||
if (alpha > 0)
|
||||
{
|
||||
double scale = (g_gameType & GAMEFLAG_RRALL)? 0.4 : isSWALL()? 0.7 : 1.0;
|
||||
double scale = isRR()? 0.4 : isSWALL()? 0.7 : 1.0;
|
||||
auto text = currentLevel->DisplayName();
|
||||
auto myfont = PickBigFont(text);
|
||||
double x = 160 - myfont->StringWidth(text) * scale / 2.;
|
||||
|
|
Loading…
Reference in a new issue