Erwan
-fixed a memory leak - Added P02 and PTK - New way to create tokens in the parser, much more flexible, see the Hive in RV. Tokens can now be written as other cards, with a rarity of "T". I suggest their id to be the negative value of the card that generates them when possible. Naming convention for images is the same as before: a negative id such as -1138 will need a [id]t.jpg image (1138t.jpg). Positive ids work as "normal" pictures
This commit is contained in:
@@ -530,10 +530,10 @@ OutputDebugString ("CHECKING INTERRUPTIBLE\n");
|
||||
}
|
||||
|
||||
|
||||
int TargetZoneChooser::targetsZone(MTGGameZone * z){
|
||||
bool TargetZoneChooser::targetsZone(MTGGameZone * z){
|
||||
for (int i = 0; i < nbzones; i++)
|
||||
if (MTGGameZone::intToZone(zones[i],source) == z) return 1;
|
||||
return 0;
|
||||
if (MTGGameZone::intToZone(zones[i],source) == z) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Player Target */
|
||||
|
||||
Reference in New Issue
Block a user