This commit is contained in:
Paul 2001-03-07 15:50:17 +00:00
parent 85500b2ff8
commit c7cda76335
4 changed files with 10 additions and 9 deletions

View File

@ -42,7 +42,7 @@ eng=
; ---------------------------------------------------------------
[STR__FRONTEND__GAME_TITLE]
eng=SpongeBob SquarePants: SuperSponge
eng=SpongeBob SquarePants:\nSuperSponge
[STR__FRONTEND__PRESS_START]
eng=PRESS START

View File

@ -112,10 +112,10 @@ CFrontEndMode *CFrontEndScene::s_modeCodes[]=
CFrontEndScene FrontEndScene;
int rsx=4096;
int rsy=4096;
int rsr=0;
int rspeed=0;
//int rsx=4096;
//int rsy=4096;
//int rsr=0;
//int rspeed=0;
SpriteBank *m_sprites;
FontBank *m_font;
@ -226,7 +226,8 @@ void CFrontEndScene::renderLogo()
sFrameHdr *fh;
fh=m_sprites->getFrameHeader(FRM__SBLOGO);
m_sprites->printRotatedScaledSprite(fh,256,LOGO_CENTRE_Y,rsx,rsy,rsr,20);
// m_sprites->printRotatedScaledSprite(fh,256,LOGO_CENTRE_Y,rsx,rsy,rsr,20);
m_sprites->printFT4(fh,256-(fh->W/2),LOGO_CENTRE_Y-(fh->H/2),0,0,20);
m_font->setColour(GAME_TITLE_TEXT_R,GAME_TITLE_TEXT_G,GAME_TITLE_TEXT_B);
m_font->print(256,GAME_TITLE_TEXT_CENTRE_Y,STR__FRONTEND__GAME_TITLE);
m_font->setColour(0,0,0);
@ -242,7 +243,7 @@ void CFrontEndScene::renderLogo()
---------------------------------------------------------------------- */
void CFrontEndScene::thinkLogo(int _frames)
{
rsr=(rsr+(_frames*rspeed))&4095;
// rsr=(rsr+(_frames*rspeed))&4095;
}

View File

@ -53,7 +53,7 @@ public:
enum
{
LOGO_CENTRE_Y=74,
GAME_TITLE_TEXT_CENTRE_Y=100,
GAME_TITLE_TEXT_CENTRE_Y=110,
GAME_TITLE_TEXT_R=128,
GAME_TITLE_TEXT_G=128,
GAME_TITLE_TEXT_B=128,

View File

@ -123,7 +123,7 @@ void CFrontEndMainTitles::init()
// Create the main menu ( START GAME/OPTIONS/CREDITS )
m_mainMenu=new ("Main Menu GUI") CGUIControlFrame();
m_mainMenu->init(NULL);
m_mainMenu->setObjectXYWH(106,140,300,60);
m_mainMenu->setObjectXYWH(106,145,300,60);
m_mainMenu->clearFlags(CGUIObject::FLAG_DRAWBORDER);
CGUIFactory::createValueButtonFrame(m_mainMenu,