- Some cleanup in JGE
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-02 14:33:05 +00:00
parent 998de6c247
commit 924574b0a1
12 changed files with 21 additions and 405 deletions

View File

@@ -127,6 +127,7 @@ void GameStateMenu::Destroy()
}
void GameStateMenu::Start(){
JRenderer::GetInstance()->EnableVSync(true);
subMenuController = NULL;
if (GameApp::HasMusic && !GameApp::music && options[Options::MUSICVOLUME].number > 0){
@@ -150,8 +151,7 @@ void GameStateMenu::Start(){
mBg->SetHotSpot(105,50);
mMovingW->SetHotSpot(72,16);
JRenderer::GetInstance()->ResetPrivateVRAM();
JRenderer::GetInstance()->EnableVSync(true);
//How many cards total ?
PlayerData * playerdata = NEW PlayerData(mParent->collection);