Added buttons to display menus, new token macros.

Newer Android devices dont have phisical buttons, so added buttons to display menus that have the same behaviour of pressing the back button.
Bug fixes in primitives.
Created macros for Eldrazi Scion and Eldrazi Spawn tokens.
This commit is contained in:
Eduardo MG
2024-01-20 11:47:28 -06:00
parent 11352db948
commit f0cbff2f91
9 changed files with 71 additions and 54 deletions

View File

@@ -94,6 +94,7 @@ public:
COMMANDER_MODE_UNLOCKED,
LAST_NAMED, //Any option after this does not look up in optionNames.
SET_UNLOCKS = LAST_NAMED + 1, //For sets.
EXIT,
};
static int optionSet(int setID);

View File

@@ -78,7 +78,7 @@ private:
DeckViewerStages mStage;
JMusic * bgMusic;
InteractiveButton *toggleDeckButton, *sb_cmd_dng_Button, *sellCardButton, *statsPrevButton, *filterButton, *toggleViewButton, *toggleUpButton, *toggleDownButton, *toggleLeftButton, *toggleRightButton;
InteractiveButton *toggleDeckButton, *sb_cmd_dng_Button, *sellCardButton, *statsPrevButton, *filterButton, *menuButton, *toggleViewButton, *toggleUpButton, *toggleDownButton, *toggleLeftButton, *toggleRightButton;
WGuiFilters * filterMenu;
WSrcDeckViewer * source;

View File

@@ -72,7 +72,7 @@ private:
vector<MTGCardInstance*> subBooster;
MTGDeck * booster;
bool bListCards;
InteractiveButton *cycleCardsButton, *showCardListButton;
InteractiveButton *cycleCardsButton, *showCardListButton, *shopMenuButton;
bool disablePurchase, clearInput;
void beginFilters();