Cosmetic changes, last lap colour and fastest lap wording.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk 2010-01-11 23:40:12 +00:00
parent 1cd161e7d9
commit 42c395fd5f

View File

@ -227,7 +227,7 @@ void LinearWorld::newLap(unsigned int kart_index)
if(kart_info.m_race_lap+1 == race_manager->getNumLaps())
{
m_race_gui->addMessage(_("Final lap!"), m_kart[kart_index],
3.0f, 40, video::SColor(255, 100, 100, 210));
3.0f, 40, video::SColor(255, 210, 100, 50));
}
// Race finished
if(kart_info.m_race_lap >= race_manager->getNumLaps() && raceHasLaps())
@ -259,7 +259,7 @@ void LinearWorld::newLap(unsigned int kart_index)
std::string s = StringUtils::timeToString(time_per_lap);
irr::core::stringw m_fastest_lap_message;
m_fastest_lap_message += (s + ": ").c_str();
m_fastest_lap_message += (s + " by ").c_str();
m_fastest_lap_message += kart->getName();
m_race_gui->addMessage(m_fastest_lap_message, NULL,