Updated 'feature unlocked' screen to use the new title font
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c1f2f85cc0
commit
1c623ec7b3
@ -136,11 +136,11 @@ void FeatureUnlockedCutScene::onUpdate(float dt, irr::video::IVideoDriver* drive
|
|||||||
|
|
||||||
static const int w = irr_driver->getFrameSize().Width;
|
static const int w = irr_driver->getFrameSize().Width;
|
||||||
static const int h = irr_driver->getFrameSize().Height;
|
static const int h = irr_driver->getFrameSize().Height;
|
||||||
const irr::video::SColor color(255, 255, 0 ,0);
|
const irr::video::SColor color(255, 255, 255, 255);
|
||||||
|
|
||||||
static int test_y = 0;
|
static int test_y = 0;
|
||||||
|
|
||||||
GUIEngine::getFont()->draw(_("Feature Unlocked"),
|
GUIEngine::getTitleFont()->draw(_("Feature Unlocked"),
|
||||||
core::rect< s32 >( 0, test_y, w, h/10 ),
|
core::rect< s32 >( 0, test_y, w, h/10 ),
|
||||||
color,
|
color,
|
||||||
true/* center h */, true /* center v */ );
|
true/* center h */, true /* center v */ );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user