aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-13 23:18:51 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-13 23:18:51 +0800
commit543e4f570be9b279ba558ca61cc02cda251af384 (patch)
tree47d27a17e8d23fef389c7d318b04d155f0804ca1 /src/ui
parent9b5621bda033c2e6b7c622c7494c56a172543554 (diff)
downloadbullet-lab-remix-543e4f570be9b279ba558ca61cc02cda251af384.tar.xz
Make BLR 16:9.
Port Junko's final spell card to BLR... make it the default testing level.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/mainmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/mainmenu.cpp b/src/ui/mainmenu.cpp
index 7bb62b8..a83630c 100644
--- a/src/ui/mainmenu.cpp
+++ b/src/ui/mainmenu.cpp
@@ -28,9 +28,9 @@ mainMenuScene::mainMenuScene()
sm=smGetInterface(SMELT_APILEVEL);
menubg.loadAnmFromMemory(blrdtp.getFilePtr("menu.anm"),blrdtp.getFileSize("menu.anm"));
menubEnt=new smEntity2D(menubg.getTextureInfo("menubg")->tex,menubg.getTextureInfo("menubg")->rect);
- whitexf=new smEntity2D(0,0,0,960,720);whitea=0xFF;whitexf->setZ(1);
+ whitexf=new smEntity2D(0,0,0,1280,720);whitea=0xFF;whitexf->setZ(1);
sceneMgr->registerScene(this,"MainMenu",990);
- menu=new menuLCD(43,20,7,360,370,&lcdfont);
+ menu=new menuLCD(43,20,7,520,370,&lcdfont);
menu->addCtrl(new menuCtrlLCD(0,20,&lcdfont));
menu->getCtrl(0)->setText(NULL,"START");
menu->getCtrl(0)->onKeyPressed(startPressed);
@@ -58,10 +58,10 @@ mainMenuScene::~mainMenuScene()
bool mainMenuScene::sceneUpdate(){return menu->update();}
bool mainMenuScene::sceneRender()
{
- sm->smClrscr(0xFF000000);
+ sm->smClrscr(0xFF102848);
if(whitea>6)whitea-=6;else whitea=0;
whitexf->setColor(SETA(0x00FFFFFF,whitea));
- menubEnt->render(0,0);
+ menubEnt->render(160,0);
menu->render();
whitexf->render(0,0);
return false;