Commit Graph

2266 Commits

Author SHA1 Message Date
solo81@web.de
0a484237b2 Fixed several card bugs.
Card list -> First comment.
2010-10-10 19:47:07 +00:00
omegablast2002@yahoo.com
93fe22d282 added a small fix to further reduce attacker phase exploiting. explaination in comments. 2010-10-10 15:11:30 +00:00
wrenczes@gmail.com
a08217ba53 Sorry, I keep modifying this line accidentally since I'm building with the newer pspsdk version. 2010-10-10 07:38:17 +00:00
wrenczes@gmail.com
33e45c9635 More incremental work of converting code to use DebugTrace(). 2010-10-10 07:30:18 +00:00
wrenczes@gmail.com
2d86e86603 Follow up on this comment from Xawotihs:
"It's currently unclear for me why several instances of the same hgeparticlesystem with the same .psi file are created..."

The GameApp::Create() call was initializing an array of particles, but it wasn't actually stashing them in the psi cache.  The MenuItems also create the particles, but these are stashed correctly in the cache at that point.  So, I simply removed the unused particle array loading code since it wasn't actually caching anything correctly & therefore simply adding redundant reading of the same particle files.
2010-10-10 05:10:25 +00:00
solo81@web.de
7cfd9d981a Fixed several card bugs reported in the bug section of the forum. 2010-10-09 17:48:10 +00:00
Xawotihs
241583df02 release 0.13.1meamo1 2010-10-09 10:45:02 +00:00
Xawotihs
318aee5aec Work around issue 457, not fully fixed. 2010-10-09 10:37:47 +00:00
wrenczes@gmail.com
62e0a789eb Fix for the Snap card not triggering the 2nd untap. Basically, stole the method from GrimmHatter's post:
http://www.wololo.net/forum/viewtopic.php?f=21&t=1430&start=40#p13465

Seems to work from my testing so far.  If this is the preferred route, we should probably sweep through & track down all the other cards that use the token counter hack, as that method used to work in 0.12.1 and broke some time after that.

(Somebody please sanity check this for me, as this is my first foray in messing with card rules.)
2010-10-09 04:07:31 +00:00
Xawotihs
d331b93e66 Removed X dependency when compiled with Qt 2010-10-07 21:44:04 +00:00
Xawotihs
f2a6a3e46e Fixed stripping 2010-10-07 21:42:52 +00:00
Xawotihs
996f665ae9 Complete build dependencies to make the autobuilder happy 2010-10-07 21:42:13 +00:00
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