- Added new bonus system for victories. Unlock and bonuses need to be tested :/
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-04-11 09:43:29 +00:00
parent fab150414b
commit e9cb57dbb1
9 changed files with 265 additions and 106 deletions

View File

@@ -11,6 +11,7 @@
#ifdef TESTSUITE
class TestSuite;
#endif
class Credits;
class GameStateDuel: public GameState, public JGuiListener
{
@@ -18,7 +19,7 @@ class GameStateDuel: public GameState, public JGuiListener
#ifdef TESTSUITE
TestSuite * testSuite;
#endif
int showMsg;
Credits * credits;
int mGamePhase;
Player * mCurrentPlayer;
Player * mPlayers[2];
@@ -29,11 +30,8 @@ class GameStateDuel: public GameState, public JGuiListener
SimpleMenu * menu;
JLBFont* mFont, *opponentMenuFont;
int nbAIDecks;
int unlocked;
JQuad * unlockedQuad;
JTexture * unlockedTex;
int isDifficultyUnlocked();
int isMomirUnlocked();
void loadPlayer(int playerId, int decknb = 0, int isAI = 0);
void loadPlayerMomir(int playerId, int isAI);
public: