-replaced the old ImageCache class with ImageCache2
-extracted the card picture- and detail code from GuiDisplay/DeckEditor into separate classes (in forge.gui.game). therefore, CardDetailUtil and forge.CardPanel were deleted. GuiDisplayUtil is no longer used to create the card panels.
TESTS:
-confirmed all changed GUIs (but the quest deck editor - changes are the same as normal deck editor) to show details and pictures.
-I played a game with reduced heap size (-Xmx200M). Occasionally the image cache size shrinked along with the used memory.
-In a game without reduced heap size (memory usage ~500M, over 1000 cached images), i noticed slowdown when some images were missing.
-I noticed the stack elements now having a border with the card's color; this doesn't hurt IMO.
NOT WORKING
I wasn't able to adapt one thing: GUI_PictureHQ, i just didn't know what it does. for everything else to work, some code sections were commented out and tagged with "TODO reenable"
- Added several of the new abDamageTgt cards. These several cards displays the mana/tap cost. Cards added include: Flamewave Invoker; Granite Shard; Storm Spirit; Telim'Tor's Darts; Thornscape Master.
- Added Flying to Storm Spirit.
- Fixed the card name for Telim'Tor's Darts.
- Added the LQ pic urls for these new 15 cards.
- Fixed a bug with Nicol Bolas, Planeswalker sacrificing the player's Mana Pools.
- Added Anowon, the Ruin Sage, Ruthless Cullblade, Celestial Colonnade, Stirring Wildwood, Creeping Tar Pit and Raging Ravine ("Whenever this creature attacks, put a
- Disabled blurred image and multipass resizing, should be faster to display images on slower computers
- Fix images download progress bar not updating
- Automatic date and revision in main.properties via SVN keywords $Date$ and $Revision$
- Made a fix on Kiki-Jiki, Mirror Breaker: if it uses its ability on a stolen creature (Control Magic, Sower etc.), "leavesPlay triggers" should affect the correct player now (e.g. Meadowboon).
- Fixed Sower of Temptation: its ability will now trigger as it enters the battlefield. This allows for comboing with cards like Kiki-Jiki, Mirror Breaker.
- Added some new Worldwake cards: Avenger of Zendikar and Bestial Menace.
- Sparkspitter tokens should have trample and haste now.
- Vanishing uses Time counters instead of Age counters now (not sure why they were age counters).
- Mass destroy effects (WoG, ...) will try to take out cards like Timber Protector LAST.
- Finished makeToken() in CardFactory_Creatures.java.
- Converted all token creation code in CardFactory_Lands.java and CardFactory_Planeswalker.java, and half of CardFactory_Creatures.java.
- Creatures that have "This creature attacks each turn if able" won't be forced to attack until the planeswalker attack phase (if one is in play on the AI's side).
- Added Doubling Season (won't work yet for all cases, still have to convert all token creation code).
- Moved the HQ snow-covered lands from card-pictures_s.txt to card-pictures_other.txt and added additional lines to cover lands numbered 1 through 3. The url replaces "CS" with "IA" to get the additional art.
The keywords would look like this: "tap: add {ManaSymbol} to your mana pool for each {Type} {on the battlefield / you control}."
- Face down cards should show "morph.jpg" on the full-size picture now (hiding its true identity).
- Right-clicking on an attacker during the Declare Attackers phase will untap and remove the attacker from combat.
- Added Golem creature type to Darksteel Colossus.
- Fixed Maelstrom Pulse (should whipe out tokens with the same name now).
- Fixed a bunch of Cascade issues (some cards where not cascadable, hopefully I got all of them now).
- Added a couple of new cards from the new set: Loam Lion and Hada Freeblade.