Erwan
- fix issue 57 - needs verification when one of the quads is not here /both - target is player/card - ability/spell
This commit is contained in:
@@ -58,6 +58,7 @@ class Interruptible: public PlayGuiObject, public Targetable{
|
||||
int typeAsTarget(){return TARGET_STACKACTION;};
|
||||
Interruptible(bool hasFocus = false):PlayGuiObject(40,x,y,hasFocus){state=NOT_RESOLVED;display=0;source=NULL;};
|
||||
virtual const string getDisplayName() const {return "stack object";};
|
||||
void Render(MTGCardInstance * source, JQuad * targetQuad, string alt1, string alt2, string action, bool bigQuad = false);
|
||||
#if defined (WIN32) || defined (LINUX)
|
||||
virtual void Dump();
|
||||
#endif
|
||||
|
||||
@@ -27,6 +27,7 @@ struct CardGui : public PlayGuiObject {
|
||||
CardGui(MTGCardInstance* card, const Pos& ref);
|
||||
virtual void Render();
|
||||
void RenderBig(const Pos&); //Tries to render the Big version of a card picture, backups to text version in case of failure
|
||||
static void RenderBig(MTGCard * card, const Pos& pos);
|
||||
void alternateRenderBig(const Pos&); //Renders Text Version of a card
|
||||
virtual void Update(float dt);
|
||||
static void alternateRender(MTGCard * card, const Pos& pos);
|
||||
|
||||
@@ -128,6 +128,8 @@ class MTGCardInstance: public MTGCard, public Damageable {
|
||||
void resetAllDamage();
|
||||
JSample * getSample();
|
||||
|
||||
JQuad * getIcon();
|
||||
|
||||
ostream& toString(ostream&) const;
|
||||
|
||||
static MTGCardInstance AnyCard;
|
||||
|
||||
Reference in New Issue
Block a user