- Reward system in Story mode (currently, either credits or random set)
- Rules now accept for player 2 to start (see story mode "block" stage)
- Story mode now has an autosave/autoload mechanism. This is for convenience but also to prevent people from abusing the reward mechanism too easily.
- possibility to choose an avatar for both players through the rules (see example in story mode)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-05-09 08:14:01 +00:00
parent 11a259d786
commit b1079942af
21 changed files with 326 additions and 53 deletions

View File

@@ -25,6 +25,7 @@ class RulesPlayerData{
public:
vector <string> extraRules;
int life;
string avatar;
ManaCost * manapool;
RulesPlayerZone zones[5];
RulesPlayerData();
@@ -36,6 +37,7 @@ class RulesPlayerData{
class RulesState{
public:
int phase;
int player;
void parsePlayerState(int playerId, string s);
RulesState();
RulesPlayerData playerData[2];