Commit Graph

2254 Commits

Author SHA1 Message Date
solo81@web.de
038f9c2ba0 Fixed Gempalm Incinerator and Eldrazi Monument.
Removed Armament Master (never supported!).
2010-10-07 20:13:14 +00:00
wrenczes@gmail.com
e45735267b More work on cleaning up debug trace logs. Added getDisplayName() overrides to the Ability & NextGamePhase interrupts so that there's now more contextual info in the output log. You'll now see what game phase is being added/resolved on the stack, and instead of a generic 'StackAbility' entry, it'll tell you what source it's coming from.
Also deleted a few debug output traces that were truly uninformative.
2010-10-07 08:13:22 +00:00
wrenczes@gmail.com
6109fe1912 Fix a compile error on the psp. 2010-10-07 08:10:08 +00:00
wrenczes@gmail.com
df2b145a42 Minor project changes - use a vsprops file to locate the extra includes instead of requiring folks to manually copy dirent.h & stdint.h into your VC include dir. 2010-10-07 04:06:16 +00:00
wrenczes@gmail.com
69a5c52ea8 Revert out a file that wasn't meant to be part of that last submit. 2010-10-07 03:49:42 +00:00
wrenczes@gmail.com
def3293fac Fixed my trace - removed the spurious addressof(). 2010-10-07 03:45:57 +00:00
techdragon.nguyen@gmail.com
34027bcabc adding DebugRoutines.h and mtg.txt to solution. 2010-10-07 03:03:04 +00:00
techdragon.nguyen@gmail.com
be11b96775 adding trim to card loading. if player deck has multiple spaces separating card name from set name, the parser fails. Trimming ensures that there are no problems with trailing and leading spaces concerning card and set names.
previously:
[card name]         ([set name]) *d

would fail because when the parser when looking for the card name, it would use 
[[card name]        ]
and not 
[[card name]]
since the card lookup is case insensitive but not whitespace insensitive the lookup would fail.
2010-10-07 03:01:05 +00:00
techdragon.nguyen@gmail.com
652358b8c4 commented out last check in as "addressof" is not defined in current code set. Is it possibly out of the boost library? 2010-10-06 16:05:58 +00:00
wrenczes@gmail.com
78f8ff98bb more OutputDebugString() conversions, and removed a useless trace in the base WResource destructor - instead, moved it up to WCachedResource so that we can output the filename of the resource that is being destroyed. 2010-10-06 11:46:10 +00:00
wrenczes@gmail.com
5595c0d3d8 More OutputDebugString() -> DebugTrace changes. 2010-10-06 10:45:29 +00:00
wrenczes@gmail.com
291a0d0312 1) swap out the pattern of
CODE: SELECT ALL
#if defined (WIN32) || defined (LINUX)
  char    buf[4096], *p = buf;
  sprintf(buf, "Some debug message showing  variables %i and %i\n", variableA, variableB);
  OutputDebugString(buf);
#endif


new paradigm:
CODE: SELECT ALL
DebugTrace("Some debug message showing variables " << variableA <<" and " << variableB);


No more dealing with formatting sprintf crap, just stream out variables. Also, DebugTrace washes out in release automatically. (TODO, need to sweep through the rest of the app to apply the changes to all the cases where OutputDebugString() is being called)

2) added two traces to follow adding/resolving things on the stack;

3) changed the uninformative "stack object" string that was the default for base class interrupts to use typeinfo(*this).name() so that you can actually see the derived class in the trace output. Here's a sample of what my trace output looks like now:
Action added to stack: Devoted Hero
Resolving Action on stack: Devoted Hero
Action added to stack: class NextGamePhase
Resolving Action on stack: class NextGamePhase
Action added to stack: class NextGamePhase
Resolving Action on stack: class NextGamePhase
Action added to stack: class StackAbility
Resolving Action on stack: class StackAbility
Action added to stack: class DrawAction
Resolving Action on stack: class DrawAction

4) replaced some hardcoded 0 / -1 values with their proper enums.
2010-10-06 09:28:45 +00:00
wrenczes@gmail.com
9c982475fe Some minor casting issues that trip up the 0.9.6 pspsdk when compiling. 2010-10-06 09:22:44 +00:00
wrenczes@gmail.com
1e7f2507f0 Removed an extra vector allocation from the previous card loading optimization. 2010-10-06 08:53:05 +00:00
wrenczes@gmail.com
88ac1dd9a6 2010-10-06 08:45:55 +00:00
Xawotihs
1d57d517ed Update to have the garage autobuilder complain a bit less 2010-10-05 23:46:17 +00:00
Xawotihs
4fc54f63d9 Update to have the garage autobuilder complain a bit less 2010-10-05 23:45:42 +00:00
Xawotihs
5bbee0eed9 Avoid failing during application reinstallation 2010-10-05 21:32:44 +00:00
techdragon.nguyen@gmail.com
b485690968 fixed card issues pointed out by user Toben:
http://wololo.net/forum/viewtopic.php?f=4&t=2264&p=17263#p17263
2010-10-05 21:28:00 +00:00
Xawotihs
9ea77bda6e Added icon, desktop description and updated .pro for maemo packaging instruction 2010-10-05 20:01:26 +00:00
Xawotihs
f4a9730525 Added Maemo packaging files 2010-10-05 19:48:22 +00:00
techdragon.nguyen@gmail.com
94961d350d made fixes found in debugging session with "Lovisa Coldeyes" and "Lotus Cobra" 2010-10-05 13:19:58 +00:00
solo81@web.de
4d9fd35c55 Fixed issue452, issue471 and issue476 2010-10-04 18:26:11 +00:00
techdragon.nguyen@gmail.com
703a9b7c6c Issue: 474
modified player status to recognize that test suite has been activated.  This is to allow deactivation of "phase skip automation" game setting during test suite.  
TODO: fix "Phase Skip Automation" such that if turned on the test suite does not break.  This fix should be considered temporary
2010-10-04 16:27:39 +00:00
techdragon.nguyen@gmail.com
8e83e0d632 Issue: 474
modified player status to recognize that test suite has been activated.  This is to allow deactivation of "phase skip automation" game setting during test suite.  
TODO: fix "Phase Skip Automation" such that if turned on the test suite does not break.  This fix should be considered temporary
2010-10-04 16:26:55 +00:00
techdragon.nguyen@gmail.com
154ccc2555 issue 475.
two cards coded incorrectly, "Shelter" and "Sejiri Steppe" they are to use protection from and not fog from
2010-10-04 15:38:45 +00:00
wagic.the.homebrew@gmail.com
4fe3156ff2 Erwan
- downsized mp3 quality (people who want the best quality can still get it from jamendo) to reduce size of the final package
- removed unnecessary Jade them (Jeck already removed it a while ago, it was reintroduced by mistake). Jade is now part of "Gemstones"
2010-10-04 12:55:08 +00:00
techdragon.nguyen@gmail.com
5d2e948b05 fixed unearth cost for Extractor Demon. Was set to {B} should have been {2}{B} 2010-10-03 17:53:02 +00:00
omegablast2002@yahoo.com
cf63c83754 Fixed a bug/exploit with declaring attackers and @tapped triggers. 2010-10-03 14:19:52 +00:00
wagic.the.homebrew@gmail.com
31f58b1da5 Erwan
- Bump version number up
2010-10-03 12:15:10 +00:00
wagic.laurent
f21419cff9 Laurent - Changed Trade Caravan to UpkeepOnly since you cannot play this during opponentupkeep, this is not correct but needed for Brother's War Campaign 2010-10-03 10:57:46 +00:00
wagic.the.homebrew@gmail.com
c3c5d893d1 Erwan
- attempt at fixing some crashes in shop (related to bad usage of the cache)
- Fix typo reported with Qumulox
2010-10-03 07:36:01 +00:00
omegablast2002@yahoo.com
33d8ad5e9b trigon of mending coded incorrectly 2010-10-03 04:32:38 +00:00
omegablast2002@yahoo.com
08b762276b fix a bug where affinity wasnt triggering on card entering hand 2010-10-02 01:19:33 +00:00
wagic.the.homebrew@gmail.com
508040b3a7 Erwan
- fix for issue 467 (simultaneous triggers + "trigger" keyword)
- MootPoint's patch for some string parsing
- some random int/float compilation warning fixes
2010-10-01 16:33:07 +00:00
wagic.the.homebrew@gmail.com
f4e87b7daf Erwan
- adding test to repro issue 467
2010-10-01 14:18:05 +00:00
wagic.the.homebrew@gmail.com
65ae7039a7 Erwan
- collection load time speed increase by MootPoint
2010-09-30 10:34:38 +00:00
techdragon.nguyen@gmail.com
be6566361a fixed some card coding errors reported in forum by KF1 2010-09-29 16:38:02 +00:00
techdragon.nguyen@gmail.com
5d215c29a4 resolves issue 466 2010-09-29 16:28:36 +00:00
linshier
d8122e441e Tweaked translation codes for deck and opponents choosing menus. 2010-09-29 08:18:09 +00:00
linshier
2544700f38 Added Chinese translation for set SOM. 2010-09-29 07:12:16 +00:00
wagic.the.homebrew@gmail.com
5de20792fd Erwan
- revert a mistake with tests from r2342
2010-09-28 22:37:28 +00:00
wagic.the.homebrew@gmail.com
b79c7eea53 Erwan
- fix for issue 462 (graphical glitch when cards come back from graveyard)
- adding Kaioshin's wallpaper
- fixed minor issue in mtg.txt
2010-09-28 13:58:22 +00:00
techdragon.nguyen@gmail.com
3b0fad54e4 fixed typo for Carrion Call, Kuldotha Rebirth and Vedalken Certarch
the auto line had "Crature" inplace of "Creature", this caused tokens generated by those cards to be treated as "workaround" tokens instead of real playable tokens.
2010-09-28 07:05:03 +00:00
solo81@web.de
524ec5b962 Readded all cards which had to be removed once due to issue284.
"@damaged(creature)" is already safed by 2 test suite tests (Mirri & Mephidross Vampire).
2010-09-27 19:42:49 +00:00
omegablast2002@yahoo.com
aba3f784c5 attempt to fix an issue with prevent:1 on instants and sorceries. thanks for the tip wololo! :) 2010-09-27 02:07:11 +00:00
techdragon.nguyen@gmail.com
7ec7fe2577 modified debug string for card id collision 2010-09-26 16:05:19 +00:00
solo81@web.de
56a6c7b6f6 Readded Mephidross Vampire.
Added a few tests.
2010-09-26 13:53:25 +00:00
wagic.the.homebrew@gmail.com
82ab92a61f Erwan
-fix for issue 408 (issues with life + targetcontroller + targets on the stack)
2010-09-26 12:57:12 +00:00
Xawotihs
cc668e98b9 Adding Jade theme 2010-09-26 10:58:44 +00:00