mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
highlight game type
This commit is contained in:
parent
e47f54d168
commit
85485d23ce
|
@ -409,7 +409,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
||||||
hsl = ColorHSLA(0.525f, 1.0f, 0.75f);
|
hsl = ColorHSLA(0.525f, 1.0f, 0.75f);
|
||||||
else if(str_find_nocase(pItem->m_aGameType, "BW"))
|
else if(str_find_nocase(pItem->m_aGameType, "BW"))
|
||||||
hsl = ColorHSLA(0.050f, 1.0f, 0.75f);
|
hsl = ColorHSLA(0.050f, 1.0f, 0.75f);
|
||||||
else if(str_find_nocase(pItem->m_aGameType, "ddracenet") || str_find_nocase(pItem->m_aGameType, "ddnet"))
|
else if(str_find_nocase(pItem->m_aGameType, "ddracenet") || str_find_nocase(pItem->m_aGameType, "ddnet") || str_find_nocase(pItem->m_aGameType, "0xf"))
|
||||||
hsl = ColorHSLA(0.58f, 1.0f, 0.75f);
|
hsl = ColorHSLA(0.58f, 1.0f, 0.75f);
|
||||||
else if(str_find_nocase(pItem->m_aGameType, "ddrace") || str_find_nocase(pItem->m_aGameType, "mkrace"))
|
else if(str_find_nocase(pItem->m_aGameType, "ddrace") || str_find_nocase(pItem->m_aGameType, "mkrace"))
|
||||||
hsl = ColorHSLA(0.75f, 1.0f, 0.75f);
|
hsl = ColorHSLA(0.75f, 1.0f, 0.75f);
|
||||||
|
|
Loading…
Reference in a new issue