Commit Graph

523 Commits

Author SHA1 Message Date
solo81@web.de 0eb79c23b9 Fixes, Clean Up, Reordering (LRW) 2009-09-14 17:55:46 +00:00
solo81@web.de 124354125e Removed Wall of Blood (MRD) 2009-09-14 16:42:36 +00:00
solo81@web.de 1f20520420 Fixes, Clean Up, Reordering (MRD) 2009-09-14 16:41:13 +00:00
wagic.the.homebrew@gmail.com 67755a4428 Erwan
- fix prowess of the fair
- add "other " keyword to all targets. ex: @movedTo(other elf|graveyard)
2009-09-14 14:07:30 +00:00
wagic.jeck d55fc91112 Jeck - [Requires JGE rebuild] Extensive cache improvements.
* Numerous cache fixes, reduced filesystem access.
 * Cache fails very gracefully. 
 * Cache is now a templated class, with individual caches per data-type.
 * Much easier to extend.
 * Extensively debugged. Try compiling with -DDEBUG_CACHE.
 * Caches limits can be set on a per-item basis.
 * hgeParticleSystemInfo are now cached, mana particles now fall back to defaults.
 * Samples are not cached, but track filesystem misses using the cache backbone. 
 * Avatars are cached. Default baka avatar is now baka.jpg, to prevent collision with player.

A note on the retrieval types: 
  RETRIEVE_MANAGE puts a resource into a seperate, managed resource list.
    Managed resources are guarenteed valid for the lifetime of the program. 
    Retrieving a managed quad promotes the associated texture to managed. Don't do that by mistake.
    Calls to Resources.Refresh() will attempt to reload managed resources in place.

  RETRIVE_LOCK (and by extension, RETRIEVE_VRAM), returns a resource after locking it.
    A resource may have many locks, and remains in cache until they are all released. 
    If the resource is managed, it returns it unmodified.

A note on quads:
Unlike all other RetrieveWhatever() functions, the default behavior for RetrieveQuad is RETRIEVE_LOCK. Worse, Release(JQuad*) is slow, and will /always/ release one lock from the associated texture.   

There's a long and complicated explanation for this, involving support for live relinking of textures to existing quads, but basically what it means is that we only use RetrieveQuad for quads we intend to store and later Release(). If a temporary quad is needed, the preferred method is to use NEW JQuad* and SAFE_DELETE with RetrieveTexture(). RetrieveTempQuad is also provided, but is only guaranteed until the next call to the cache.

Note that RetrieveCard has none of these problems.
2009-09-14 08:28:49 +00:00
wagic.the.homebrew@gmail.com 7ce2c563e1 Erwan
- Fixed empty ActionStack "interrupt" messages
- If no attackers are declared, go straight to Combat end phase
- Once First strike damage is declared, attacking player needs to "actively" request a next phase event to go to the next damage step
- Second Damage step is called "Combat Damage (2)"
- UserRequestNextPhase is to be used knowing that it might not succeed
- Step change for GuiCombat is now computed at GameObserver::nextGamePhase

Note: Combat damage to creatures is not assigned when AI attacks. As this seems to be a problem with the previous SVN version, I4m still committing this change
2009-09-13 12:42:18 +00:00
wagic.the.homebrew@gmail.com 7c4fbde7d3 Erwan
-Fix farhaven elf
2009-09-12 14:03:22 +00:00
wagic.the.homebrew@gmail.com 23fb17e58e Erwan
- Added deathtouch (TODO: update Combat rules for damage on multiple blockers)
- Added intimidate (untested)
2009-09-12 12:40:14 +00:00
wagic.the.homebrew@gmail.com baf49c9ebf Erwan
-fixed problem with lifelink+wither, although combat damages are not entirely correct. Once combat damages actually deal the correct amount of damage, let's put test "armadillo_cloak" back in the suite
2009-09-12 11:40:48 +00:00
wagic.the.homebrew@gmail.com 5bbf9137ad Erwan
-add missing file
2009-09-12 10:16:06 +00:00
wagic.the.homebrew@gmail.com f34ba20478 Erwan
-fix Seedcradle Witch
2009-09-12 09:13:17 +00:00
solo81@web.de 8a8ab2f2c1 Fixed Survival of the Fittest (EXO) 2009-09-12 06:57:25 +00:00
wagic.the.homebrew@gmail.com 40f2fab205 Erwan
- Reverted Rockslide Elemental to fix test issue
- Removed old gatherer scripts
- Added "daily_build" directory for people who can't compile
2009-09-12 06:44:36 +00:00
leungclj 4b39301074 reverted & updated 2009-09-11 14:38:42 +00:00
leungclj ca5187d54f JON4TH4N - (TSP) fix Kher Keep 2009-09-11 14:15:10 +00:00
leungclj dd6d317dbb JON4TH4N - updated permanents with "lord" abilities which requires either cost or other conditions to trigger, they all requires "ueot".
Example: all creature gets +1/+1
auto=lord(creature) 1/1

Example2: pay {2} all other creatures get +2/+2 and flying until end of turn.

auto={2}:lord(creature) 2/2 other ueot && lord(creature) flying other ueot.

Example3: Whenever a player put a creature onto the battlefield, all creature that player controllers attack this turn if able.

auto=@movedTo(creature|battlefield):lord(creature|XYZ player) mustattack ueot
2009-09-11 10:57:56 +00:00
leungclj 421d2655ee JON4TH4N - (FUT) fix Akroma's Memorial 2009-09-10 22:40:41 +00:00
leungclj 7e70aadc1d JON4TH4N - (M10) hypnotic specter can now fly 2009-09-10 22:22:49 +00:00
leungclj ed20be6277 JON4TH4N - sets update 2009-09-10 12:56:39 +00:00
leungclj 5aa654d8fd JON4TH4N - (ALA) fixes, removed cards explanations are now included in the todo, much better the future references. 2009-09-10 07:08:25 +00:00
leungclj 85f6f15947 JON4TH4N - removed cards that "destroy target when comes into play" "may" is required, but that is incorrect. 2009-09-10 04:12:12 +00:00
wagic.the.homebrew@gmail.com f9a2d8283a Erwan
- A few card fixes
2009-09-08 13:07:19 +00:00
jean.chalard 5b473a1505 J :
* Fix almost all tests.
* This version "nearly" works.
2009-09-07 14:37:32 +00:00
wagic.jeck 635c87202a Jeck - More f3 fiddling. 2009-09-06 21:35:53 +00:00
wagic.jeck eef4be363e Jeck - Restored credits to all tabs, fixed f3 graphic alignment issues.
* F3 font had an issue where the j and y dangled into the characters below them. I fixed this by shifting all characters one pixel up, but this does change the way f3 fits when rendered. The alternative would be just to clip the dangling pixels off entirely.
2009-09-06 21:22:23 +00:00
wagic.the.homebrew@gmail.com 8771ee7579 Erwan
-Various card fixes
2009-09-06 09:55:11 +00:00
wagic.the.homebrew@gmail.com 1d4b8ef177 Erwan
-Bug fix: Selesnya Guildmage ability ueot
2009-09-06 04:55:05 +00:00
wagic.jeck 4e7db4423d Jeck - Oops. Adding unversioned alternate card images. 2009-09-06 03:11:32 +00:00
wagic.jeck f9dbfcf025 Jeck - Alternate card rendering for land and artifacts, minor graphical tweaking. 2009-09-06 03:05:01 +00:00
wagic.the.homebrew@gmail.com d73951ecfc Erwan
-some bug fixes (test suite)
2009-09-06 02:50:54 +00:00
leungclj 69a20f24c2 JON4TH4N - (ARB) fix 2009-09-05 01:20:19 +00:00
solo81@web.de 65731051ab fixes, clean up, new wordings (TMP) 2009-09-01 14:38:56 +00:00
wagic.the.homebrew@gmail.com cc550cf7b9 Erwan
-fix righteous avengers cost
2009-08-31 12:53:18 +00:00
wagic.the.homebrew@gmail.com 0454fb20ec Erwan
- fixed textures cache bug
- fixed one card in TMP
2009-08-31 12:22:43 +00:00
jean.chalard ca337ad653 J :
* Add missing resource
2009-08-31 11:59:22 +00:00
wagic.the.homebrew@gmail.com 794eec8bb8 Erwan
-code cleanup
-fix one card in TSP
2009-08-31 10:17:28 +00:00
solo81@web.de 368dfb94dc try to fix Dauntless Escort (ARB) 2009-08-31 08:00:30 +00:00
solo81@web.de 7601834803 Removed Merrow Reejerey and Judge of Currents (LRW) 2009-08-31 07:55:58 +00:00
jean.chalard 6dab048a9e J :
* Interface for damage assignment.
2009-08-31 02:00:33 +00:00
solo81@web.de c9f5519ba6 clean up, fixes (USG) 2009-08-30 16:23:10 +00:00
leungclj cd5acb8125 JON4TH4N - fix r737 2009-08-28 15:36:42 +00:00
jean.chalard 2ff279fad8 J :
* Order blocker interface.
2009-08-28 13:57:12 +00:00
wagic.the.homebrew@gmail.com 163d296bb5 Erwan
- removed useless "color=" lines
- Added color override for cards such as crimson kobolds (note: color should be after the "mana" line to avoid side effects)
2009-08-28 13:40:14 +00:00
solo81@web.de bbccb9f238 Added Collapsing Borders 2009-08-28 13:37:49 +00:00
solo81@web.de 9396b6dff9 Clean up, wording update, big fixes (ONS) 2009-08-28 13:19:22 +00:00
solo81@web.de 2fdb669b27 Fixed some cards (EVE) 2009-08-28 12:39:14 +00:00
solo81@web.de 32204e8c37 Removed Crazed Armodon (TMP).
3 "&&" in one auto-line does not seem to work right now.
2009-08-28 09:40:33 +00:00
leungclj b02dc11f0d JON4TH4N - reverted 2009-08-27 08:49:02 +00:00
wagic.jeck 5e14efed3c Jeck - CommonRes transparently finds themed versions of files. Use JRenderer::LoadTexture for unthemed files, and CommonRes::LoadTexture for themed files. Res/graphics/back.jpg renamed to Res/graphics/backdrop.jpg due to collision with sets/back.jpg. 2009-08-27 05:58:26 +00:00
wagic.the.homebrew c6406737c5 Erwan
-fixed a few cards
2009-08-27 04:56:32 +00:00