4284e685e6
Laurent - Small addition CFX tested and working. Blood Tyrant is not technically 100% but in current wagic is 100% correct since there is no real "loose life" protection and no multiplayer option.
wagic.laurent
2009-09-20 12:15:50 +00:00
e0b225bad9
Jeck - TEMPORARY enabling of exceptions. (~6hrs) Sorry, I've been an idiot lately and coded myself into a corner with stuff that "should only take a minute" to fine tune. I honestly shouldn't have committed r871+, but I'd sworn to high heaven that the damn thing was fixed. In reality getting the cache 100% needs a bit more time, so I'm committing this in the hopes that it'll prevent sloppy cache work from interrupting other people's coding.
wagic.jeck
2009-09-20 03:10:34 +00:00
0d3686e65a
Jeck - Cache fix, booster duplicate fix. * Restored OptionItem saving fix. * Booster duplicate replacement was picking random cards from the wrong set. My fault, but I've fixed it :) * The problem with cache had nothing to do with memory fragmentation, but I've switched to an array rather than map<> just in case. The actual issue was that in GameStateDeckViewer, I'd given the cache unlimited space, thinking that AttemptNew would recover from any bad_allocs. Unfortunately, the image loading routines and similar stuff called by various implementations of WResource::Attempt() could fail halfway through, leaking memory.
wagic.jeck
2009-09-19 21:11:35 +00:00
e0f5a81dad
Erwan - Minor cleanup
wagic.the.homebrew@gmail.com
2009-09-19 10:51:45 +00:00
a5ded3e836
Jeck - Cleaned up logic a little in Cache::Get()
wagic.jeck
2009-09-19 04:11:07 +00:00
3ea5ab9b88
Jeck - Minor fix to r866, quads are now invalidated before being recycled.
wagic.jeck
2009-09-19 02:03:49 +00:00
4b8d344bcd
Jeck - Card ID collisions, cache fixes, cache deleted pooling. * mtgid now defaults to 0. * TextScroller will not update when empty. * Cache now moves WCachedResources we're finished with to a garbage pool for later use (to reduce memory fragmentation). * Demo still crashes... but I'm thinking that has to do with fragmentation, not a leak?
wagic.jeck
2009-09-19 01:48:42 +00:00
8cb3daa3ad
Erwan -Adding a few sets, please add/correct/remove cards, have fun :)
wagic.the.homebrew
2009-09-18 08:13:16 +00:00
8ba34dafca
Jeck - WResourceManager / Cache should now be leak free. Demo mode still crashes around EnstackBlocker.
wagic.jeck
2009-09-18 01:20:46 +00:00
505ee8d1eb
Jeck - I somehow managed to break the test suite. Rolled back my changes to r843, won't commit until they're properly debugged.
wagic.jeck
2009-09-15 01:53:02 +00:00
1b468bde14
Jeck - Replaced ok_quad with ok_tex, which won't expire until the duel is over.
wagic.jeck
2009-09-14 21:09:58 +00:00
a84ed94954
Jeck - Cache Leakfix. Quads now individually lock/unlock. Demo still crashes PSP.
wagic.jeck
2009-09-14 20:54:49 +00:00
5467fd379f
Jeck - Signed/unsigned fix in resource manager, options save fix.
wagic.jeck
2009-09-14 18:30:47 +00:00
67755a4428
Erwan - fix prowess of the fair - add "other " keyword to all targets. ex: @movedTo(other elf|graveyard)
wagic.the.homebrew@gmail.com
2009-09-14 14:07:30 +00:00
ce31194358
Jeck - Daily build recompile as release version. Is this or the debug version preferred?
wagic.jeck
2009-09-14 09:10:54 +00:00
0a38623746
Jeck - Minor fixes to cache: Splash.jpg releases properly, pspicons no longer use the same quad.
wagic.jeck
2009-09-14 08:46:18 +00:00
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.
wagic.jeck
2009-09-14 08:28:49 +00:00
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
wagic.the.homebrew@gmail.com
2009-09-13 12:42:18 +00:00
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
wagic.the.homebrew@gmail.com
2009-09-12 11:40:48 +00:00
8a8ab2f2c1
Fixed Survival of the Fittest (EXO)
solo81@web.de
2009-09-12 06:57:25 +00:00
40f2fab205
Erwan - Reverted Rockslide Elemental to fix test issue - Removed old gatherer scripts - Added "daily_build" directory for people who can't compile
wagic.the.homebrew@gmail.com
2009-09-12 06:44:36 +00:00
dd6d317dbb
JON4TH4N - updated permanents with "lord" abilities which requires either cost or other conditions to trigger, they all requires "ueot".
leungclj
2009-09-11 10:57:56 +00:00
9d203619aa
Jeck - Extremely minor speedup for cache access in GameStateDeckViewer, minor fix to WResourceManager::cleanup().
wagic.jeck
2009-09-11 08:17:05 +00:00
5aa654d8fd
JON4TH4N - (ALA) fixes, removed cards explanations are now included in the todo, much better the future references.
leungclj
2009-09-10 07:08:25 +00:00
85f6f15947
JON4TH4N - removed cards that "destroy target when comes into play" "may" is required, but that is incorrect.
leungclj
2009-09-10 04:12:12 +00:00
c0be024093
Erwan - Put back delayed loading functionality for the Deck editor
wagic.the.homebrew@gmail.com
2009-09-09 13:51:29 +00:00
91a9387e33
Jeck - Profile loading fix, minor options menu improvements, minor cleanup.
wagic.jeck
2009-09-09 11:11:17 +00:00
4993cc5dea
Jeck - Cache now pretty damn near guarantees successful retrieval. * The only fail condition is if all resources are locked, or the file doesn't exist at all.
wagic.jeck
2009-09-09 05:02:08 +00:00
ad7006e2de
Jeck - Profile and cache improvements, booster duplicate likelihood reduced. * Cache now tracks missing textures for RetrieveQuad, not just RetrieveCard/RetrieveTexture. * Profile options are no longer overwritten when switching profiles. * Main menu notifies of alternate profile- "Database: X" becomes "Profile: Y of X cards." * Boosters iterates through cards, replacing duplicates. Stops after 15 tries to prevent infinite loops on small sets. * Very simplistic theme switcher, only displays when alternate themes are present.
wagic.jeck
2009-09-08 03:23:19 +00:00
6f183fd8ec
J : * Temporarily remove the PIC1 option that prevents compilation. * Fix the carriage returns.
jean.chalard
2009-09-07 17:30:16 +00:00
ea92876d7b
J : * Fix a little memory leak.
jean.chalard
2009-09-07 17:18:46 +00:00
e7fb9282ce
J : * Fix the last tests that didn't work, Rampage ability.
jean.chalard
2009-09-07 16:40:03 +00:00
5b473a1505
J : * Fix almost all tests. * This version "nearly" works.
jean.chalard
2009-09-07 14:37:32 +00:00
635c87202a
Jeck - More f3 fiddling.
wagic.jeck
2009-09-06 21:35:53 +00:00
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.
wagic.jeck
2009-09-06 21:22:23 +00:00
5a2a4a7617
Erwan - display name of cards in the shop, when it loads, and any time by pressing triangle
wagic.the.homebrew@gmail.com
2009-09-06 06:35:29 +00:00
c1accf5c6e
Erwan - fix global effect cards (wrath of god) VS protection - Removed/updated a few debug outputs
wagic.the.homebrew@gmail.com
2009-09-06 01:11:51 +00:00
74bd57cb55
J : * Fix a bug where a creature dying would not leave the battlefield.
jean.chalard
2009-09-05 15:38:01 +00:00
e5b09cf5ec
J : * Fix a bug where combat damage would be wrongly assigned.
jean.chalard
2009-09-05 15:05:16 +00:00
b6781e82f1
J : * Add the Trash facility and use it for CardViews. * Fix a graphical bug with card shadows. * Fix a graphical bug with limitors. * Enhance the graphical appearance of cards going to graveyard.
jean.chalard
2009-09-05 11:44:34 +00:00
44738399dc
J : * Make the SAFE_DELETE syntactically safe.
jean.chalard
2009-09-05 11:34:51 +00:00
380014b2a6
Erwan -removed memory leak introduced in r.789 -added "blocked" bool in MTGCardInstance
wagic.the.homebrew@gmail.com
2009-09-05 09:17:30 +00:00
62be1e1c72
Jeck — Cache refresh functionality, forcing in situ reload of textures. * Changing profiles will now reload graphics, in case the profile has a different theme/mode/whatever.
wagic.jeck
2009-09-04 22:33:39 +00:00
78b9d61baf
Jeck - Crashfix for cache, proposed replacement for icon.png * Please comment on new icon.png with any suggestions. * Prevents RemoveOldestTexture from deleting things it shouldn't
wagic.jeck
2009-09-04 20:41:31 +00:00
c8af1836a0
J : * Fix a bug where some event chains could result in reading from a freed memory space.
jean.chalard
2009-09-04 17:21:34 +00:00
2e7570fdea
J : * Add some pretty printers to help debugging.
jean.chalard
2009-09-04 13:22:15 +00:00
2a7d6819bb
Jeck - More minor WResourceManager fixes. * Locked resources are now guaranteed, though they currently share memory limits with the cache, so be certain to release them when you're done. * RetrieveQuad now returns different quads for different resource names, regardless of if they share size and position.
wagic.jeck
2009-09-03 22:41:25 +00:00
0689b01536
Jeck - WResourceManager now tracks filesystem misses for cards (up to MAX_CACHE_OBJECTS) and sfx, so disk use is much reduced.
wagic.jeck
2009-09-03 21:52:41 +00:00
805a78e39d
Jeck - Some logic fixes, reducing number of filesys calls when loading graphics. (Cards still check filesys way too often, but I'm working on that)
wagic.jeck
2009-09-03 21:10:04 +00:00