Revamped Deck Selection Screen using abrasax's design as a template.
TODO:
change literals to use constants,
refactor the rendering code for the menu to have be leaner.
add text scroller to list all the tasks.
* 1st implementation will list all the tasks.dat
* 2nd round will try to get the scroller to only display relevant tasks to ai
Special thanks to wololo and MootPoint for helping me hammer this out. To abrasax, for the initial design of the layout.
This commit is contained in:
@@ -22,6 +22,7 @@ private:
|
||||
string _desc;
|
||||
string _name;
|
||||
int _deckid;
|
||||
string _avatarFilename;
|
||||
|
||||
// statistical information
|
||||
|
||||
@@ -37,11 +38,15 @@ public:
|
||||
string getFilename();
|
||||
string getDescription();
|
||||
string getName();
|
||||
string getAvatarFilename();
|
||||
string getStatsSummary();
|
||||
|
||||
int getDeckId();
|
||||
int getGamesPlayed();
|
||||
int getVictories();
|
||||
int getVictoryPercentage();
|
||||
int getDifficulty();
|
||||
string getDifficultyString();
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user