J :
* Fix the names of the music files
This commit is contained in:
@@ -194,7 +194,7 @@ class GameStateDeckViewer: public GameState, public JGuiListener
|
|||||||
welcome_menu->Add(10, "Cancel");
|
welcome_menu->Add(10, "Cancel");
|
||||||
|
|
||||||
if (GameApp::HasMusic && GameOptions::GetInstance()->values[OPTIONS_MUSICVOLUME] > 0){
|
if (GameApp::HasMusic && GameOptions::GetInstance()->values[OPTIONS_MUSICVOLUME] > 0){
|
||||||
if (!bgMusic) bgMusic = JSoundSystem::GetInstance()->LoadMusic("sound/track1.mp3");
|
if (!bgMusic) bgMusic = JSoundSystem::GetInstance()->LoadMusic("sound/Track1.mp3");
|
||||||
if (bgMusic){
|
if (bgMusic){
|
||||||
JSoundSystem::GetInstance()->PlayMusic(bgMusic, true);
|
JSoundSystem::GetInstance()->PlayMusic(bgMusic, true);
|
||||||
}
|
}
|
||||||
@@ -265,13 +265,13 @@ class GameStateDeckViewer: public GameState, public JGuiListener
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (mStage == STAGE_WAITING || mStage == STAGE_ONSCREEN_MENU){
|
if (mStage == STAGE_WAITING || mStage == STAGE_ONSCREEN_MENU){
|
||||||
if (mEngine->GetButtonClick(PSP_CTRL_LEFT)){
|
if (mEngine->GetButtonState(PSP_CTRL_LEFT)){
|
||||||
last_user_activity = 0;
|
last_user_activity = 0;
|
||||||
currentCard = displayed_deck->getNext(currentCard,colorFilter);
|
currentCard = displayed_deck->getNext(currentCard,colorFilter);
|
||||||
mStage = STAGE_TRANSITION_LEFT;
|
mStage = STAGE_TRANSITION_LEFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (mEngine->GetButtonClick(PSP_CTRL_RIGHT))
|
else if (mEngine->GetButtonState(PSP_CTRL_RIGHT))
|
||||||
{
|
{
|
||||||
last_user_activity = 0;
|
last_user_activity = 0;
|
||||||
currentCard = displayed_deck->getPrevious(currentCard,colorFilter);
|
currentCard = displayed_deck->getPrevious(currentCard,colorFilter);
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class GameStateMenu: public GameState, public JGuiListener
|
|||||||
JRenderer::GetInstance()->EnableVSync(true);
|
JRenderer::GetInstance()->EnableVSync(true);
|
||||||
|
|
||||||
if (GameApp::HasMusic && !bgMusic && GameOptions::GetInstance()->values[OPTIONS_MUSICVOLUME] > 0){
|
if (GameApp::HasMusic && !bgMusic && GameOptions::GetInstance()->values[OPTIONS_MUSICVOLUME] > 0){
|
||||||
bgMusic = JSoundSystem::GetInstance()->LoadMusic("sound/track0.mp3");
|
bgMusic = JSoundSystem::GetInstance()->LoadMusic("sound/Track0.mp3");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bgMusic){
|
if (bgMusic){
|
||||||
|
|||||||
Reference in New Issue
Block a user