Commit Graph

  • 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
  • be723369ba Jeck - Restore proper deck stat save/loading. wagic.jeck 2009-09-20 05:42:06 +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
  • 00c5b8cd7d Jeck - CACHESIZE option does something again. wagic.jeck 2009-09-20 00:39:55 +00:00
  • 1689edc69b Jeck - Cleanup some debug messages, cache now clears unlocked items between states. wagic.jeck 2009-09-20 00:05:23 +00:00
  • 1ba7f108b0 Jeck - Cache is using map<> again. The implementation is cleaner and seems a little faster. wagic.jeck 2009-09-19 23:20:43 +00:00
  • 8cc9bff484 Jeck - Stricter cache limits. wagic.jeck 2009-09-19 22:34:48 +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
  • f1670f2394 Jeck - Revert to r867. r868 logic sucks. wagic.jeck 2009-09-19 04:17:42 +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
  • 5d57693d31 Erwan -adding dissension cards wagic.the.homebrew 2009-09-18 10:26:13 +00:00
  • 265d82c136 Erwan - card fix Stronghold wagic.the.homebrew 2009-09-18 09:21:46 +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
  • 6abd3cc160 Fixed Kindle (TMP) solo81@web.de 2009-09-17 17:32:20 +00:00
  • 074b7fc391 J0N4TH4N - minor fix leungclj 2009-09-17 16:21:44 +00:00
  • 09ed6d149d J0N4TH4N - few updates leungclj 2009-09-17 03:33:55 +00:00
  • 626e13f1ed J0N4TH4N - few fixes leungclj 2009-09-16 01:40:02 +00:00
  • 63504a00c4 JON4TH4N - sets update, "ueot" added to a few cards leungclj 2009-09-16 01:14:15 +00:00
  • 5fe68bc8a2 J : * Un-revert compiling fixes jean.chalard 2009-09-15 16:15:46 +00:00
  • 11ffebf29f Erwan -bug fix (credits cheat with empty deck evil twin mode) -bug fix ("combat ends" message instead of "Combat Damage(2)" in stack) wagic.the.homebrew@gmail.com 2009-09-15 13:35:08 +00:00
  • ce39961d78 J : * Fix the filename jean.chalard 2009-09-15 12:28:19 +00:00
  • 3d5a9caeca JON4TH4N - (ALA) updated, tested 100% working leungclj 2009-09-15 10:26:42 +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
  • 0eb79c23b9 Fixes, Clean Up, Reordering (LRW) solo81@web.de 2009-09-14 17:55:46 +00:00
  • 124354125e Removed Wall of Blood (MRD) solo81@web.de 2009-09-14 16:42:36 +00:00
  • 1f20520420 Fixes, Clean Up, Reordering (MRD) solo81@web.de 2009-09-14 16:41:13 +00:00
  • c80245b3e8 Erwan - daily build template.exe wagic.the.homebrew@gmail.com 2009-09-14 14:09:01 +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
  • a696b65ffb Erwan - fix compilation issues wagic.the.homebrew@gmail.com 2009-09-13 12:52:24 +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
  • 1f67998d7a J : * Some interface updates. jean.chalard 2009-09-13 10:57:55 +00:00
  • 7c4fbde7d3 Erwan -Fix farhaven elf wagic.the.homebrew@gmail.com 2009-09-12 14:03:22 +00:00
  • 34d973c60d J : * Create selection zones to remember the last card the cursor was on. jean.chalard 2009-09-12 12:57:50 +00:00
  • 23fb17e58e Erwan - Added deathtouch (TODO: update Combat rules for damage on multiple blockers) - Added intimidate (untested) wagic.the.homebrew@gmail.com 2009-09-12 12:40:14 +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
  • 5bbf9137ad Erwan -add missing file wagic.the.homebrew@gmail.com 2009-09-12 10:16:06 +00:00
  • f34ba20478 Erwan -fix Seedcradle Witch wagic.the.homebrew@gmail.com 2009-09-12 09:13:17 +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
  • 4b39301074 reverted & updated leungclj 2009-09-11 14:38:42 +00:00
  • ca5187d54f JON4TH4N - (TSP) fix Kher Keep leungclj 2009-09-11 14:15:10 +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
  • 421d2655ee JON4TH4N - (FUT) fix Akroma's Memorial leungclj 2009-09-10 22:40:41 +00:00
  • 7e70aadc1d JON4TH4N - (M10) hypnotic specter can now fly leungclj 2009-09-10 22:22:49 +00:00
  • ed20be6277 JON4TH4N - sets update leungclj 2009-09-10 12:56:39 +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
  • e3d86f0824 Jeck - Improved cache size tracking. wagic.jeck 2009-09-09 00:15:33 +00:00
  • a03c35e440 Jeck - Bugfix for createUsersFirstDeck and isDefault. wagic.jeck 2009-09-08 19:28:07 +00:00
  • 457266184d J : * Add a helper function. jean.chalard 2009-09-08 14:53:23 +00:00
  • 471da5d9d9 Erwan -better fix for psp compilation wagic.the.homebrew@gmail.com 2009-09-08 14:11:47 +00:00
  • bc74cea1aa Erwan - fix psp compilation wagic.the.homebrew@gmail.com 2009-09-08 13:23:22 +00:00
  • f9a2d8283a Erwan - A few card fixes wagic.the.homebrew@gmail.com 2009-09-08 13:07:19 +00:00
  • c76d8a3976 Jeck - Separated GameStateDeckViewer.h code into GameStateDeckViewer.cpp. wagic.jeck 2009-09-08 07:53:54 +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
  • a0b1da9810 J : * Remove an unused variable. jean.chalard 2009-09-08 01:32:30 +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
  • 8771ee7579 Erwan -Various card fixes wagic.the.homebrew@gmail.com 2009-09-06 09:55:11 +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
  • 1d4b8ef177 Erwan -Bug fix: Selesnya Guildmage ability ueot wagic.the.homebrew@gmail.com 2009-09-06 04:55:05 +00:00
  • 4e7db4423d Jeck - Oops. Adding unversioned alternate card images. wagic.jeck 2009-09-06 03:11:32 +00:00
  • f9dbfcf025 Jeck - Alternate card rendering for land and artifacts, minor graphical tweaking. wagic.jeck 2009-09-06 03:05:01 +00:00
  • d73951ecfc Erwan -some bug fixes (test suite) wagic.the.homebrew@gmail.com 2009-09-06 02:50:54 +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
  • 293d9af5a1 erwan -Update VisualC++ project with Trash.cpp wagic.the.homebrew@gmail.com 2009-09-05 13:11:55 +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
  • bf42825be8 Jeck - Fixed zipfile loading on PSP. wagic.jeck 2009-09-05 07:14:01 +00:00
  • 681122f018 Erwan - prevent a segfault in the test suite (does not fix the root cause) wagic.the.homebrew@gmail.com 2009-09-05 04:58:44 +00:00
  • 69a20f24c2 JON4TH4N - (ARB) fix leungclj 2009-09-05 01:20:19 +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
  • 01fe3b76f7 J : * Minor bugfixes (mostly graphical bugs) jean.chalard 2009-09-04 16:58:17 +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