Minor code tweaks for the new feature unlocked scene
This commit is contained in:
parent
55df48d3e6
commit
a3dbb53540
@ -493,7 +493,7 @@ void FeatureUnlockedCutScene::onUpdate(float dt)
|
||||
|
||||
if (m_global_time > GIFT_EXIT_TO)
|
||||
{
|
||||
const irr::video::SColor color2(255, 255, 126, 21);
|
||||
const irr::video::SColor color2(255, 0, 0, 0);
|
||||
const int fontH = GUIEngine::getFontHeight();
|
||||
const int MARGIN = 10;
|
||||
|
||||
|
@ -302,7 +302,7 @@ void MainMenuScreen::eventCallback(Widget* widget, const std::string& name,
|
||||
const_cast<KartProperties*>(
|
||||
kart_properties_manager->getKart("tux")
|
||||
),
|
||||
L"Unlocked"
|
||||
L"You unlocked <actual text would go here...>"
|
||||
);
|
||||
scene->addUnlockedTrack(track_manager->getTrack("lighthouse"));
|
||||
StateManager::get()->pushScreen(scene);
|
||||
@ -323,7 +323,7 @@ void MainMenuScreen::eventCallback(Widget* widget, const std::string& name,
|
||||
track_manager->getTrack("snowmountain")
|
||||
->getScreenshotFile().c_str()));
|
||||
|
||||
scene->addUnlockedPictures(textures, 4.0, 3.0, L"You did it");
|
||||
scene->addUnlockedPictures(textures, 4.0, 3.0, L"You unlocked <actual text would go here...>");
|
||||
|
||||
StateManager::get()->pushScreen(scene);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user