- cleanup ingame music patch. Let's not use this patch until we fix issue 144 maybe?
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-29 06:11:02 +00:00
parent ec553ddfb8
commit 5af8d83c03
2 changed files with 44 additions and 41 deletions

View File

@@ -34,17 +34,7 @@ class GameStateDuel: public GameState, public JGuiListener
int OpponentsDeckid;
string musictrack;
bool MusicExist(string FileName){
string filepath = RESPATH;
filepath = filepath + "/" + resources.musicFile(FileName);
std::ifstream file(filepath.c_str());
if (file) {
file.close();
return true;
}
else
return false;
}
bool MusicExist(string FileName);
void loadPlayer(int playerId, int decknb = 0, int isAI = 0);
void loadPlayerMomir(int playerId, int isAI);
void loadPlayerRandom(int playerId, int isAI, int mode);