Improved in-game menu (now the Cancel choice is on top and it's possibile to open/close the taskboard during game), improved add/remove "counter" keyword in order to avoid the trigger if needed (e.g. loop avoidance), fixed Italian and Spanish languages.
This commit is contained in:
@@ -1165,8 +1165,9 @@ public:
|
||||
int toughness;
|
||||
string name;
|
||||
string menu;
|
||||
bool noevent;
|
||||
|
||||
AACounter(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target,string counterstring, const char * _name, int power, int toughness, int nb,int maxNb = 0,
|
||||
AACounter(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target,string counterstring, const char * _name, int power, int toughness, int nb, int maxNb = 0, bool noevent = false,
|
||||
ManaCost * cost = NULL);
|
||||
|
||||
int resolve();
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "SimpleMenu.h"
|
||||
#include "SimplePopup.h"
|
||||
#include "DeckMenu.h"
|
||||
#include "Tasks.h"
|
||||
#include "MTGDeck.h"
|
||||
#include "GameObserver.h"
|
||||
#ifdef AI_CHANGE_TESTING
|
||||
@@ -186,6 +187,7 @@ private:
|
||||
DeckMenu * deckmenu;
|
||||
DeckMenu * opponentMenu;
|
||||
SimpleMenu * menu;
|
||||
TaskList * taskList;
|
||||
SimplePopup * popupScreen; // used for informational screens, modal
|
||||
static int selectedPlayerDeckId;
|
||||
static int selectedAIDeckId;
|
||||
@@ -280,6 +282,7 @@ public:
|
||||
MENUITEM_FILL_NEXT_STAGE = -31,
|
||||
/////// End Tournament Mod ///////////
|
||||
MENUITEM_TOGGLEATTACK_ALL_CREATURES = -32,
|
||||
MENUITEM_TASKBOARD = -33,
|
||||
MENUITEM_MORE_INFO = kInfoMenuID
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user