Commit Graph

2397 Commits

Author SHA1 Message Date
d32.wagic d93b44b894 Daddy32 -fixed small graphical (scrolling) issues in deck statistics. 2010-01-19 20:48:17 +00:00
d32.wagic 859319cef1 Daddy32: Fixed live/life spelling (guess this will require an update of translations?), tweaked conditions and rewards for 'defeat before/after turn x' type of tasks. 2010-01-19 20:22:50 +00:00
wagic.the.homebrew@gmail.com bd6c1a2407 Erwan
- fix compilation issues introduced in r1727
2010-01-18 12:43:30 +00:00
wagic.the.homebrew@gmail.com ffbcd3f2d0 ERwan
-fix issue 297
- also removed the "untapBlockers" system. The idea was nice but incorrectly implemented, and only 2 cards were using it so far.
2010-01-17 12:05:40 +00:00
wagic.the.homebrew@gmail.com fe6ec307d9 Erwan
-fix issue 300 (silver seraph)
2010-01-17 10:34:36 +00:00
wagic.the.homebrew@gmail.com 9d4e9ab5de Erwan
-fix issue 275
2010-01-16 06:26:22 +00:00
wagic.the.homebrew@gmail.com 3e8c11b29f Erwan
-"fix" issue 257
2010-01-16 03:16:35 +00:00
wagic.the.homebrew@gmail.com 11ed497ebb Erwan
-fix issue 209 (Clone loops AI)
2010-01-15 16:49:17 +00:00
wagic.the.homebrew@gmail.com 187e108cdb Erwan
-fix issue 192 (graphical issue when tapped card changes controller)
2010-01-15 15:09:41 +00:00
wagic.the.homebrew@gmail.com 866f1c3e1c Erwan
-fix issue 170 (testsuite + library shuffle)
2010-01-15 14:12:57 +00:00
wagic.the.homebrew@gmail.com 26f96c3443 Erwan
- cache system for Deck Meta Data. let's improve it as needs arise
2010-01-15 12:19:47 +00:00
jean.chalard ec1a7f73d4 J :
* Remove a useless debug line.
2010-01-12 01:30:44 +00:00
jean.chalard edad6a5c97 J :
* Fix a bug where the closest card to the old coordinates of a no more
  inplay card would be chosen regardless of whether it complies with the
  user's request.
2010-01-11 16:36:58 +00:00
wagic.the.homebrew@gmail.com 53bf185473 Erwan
- fix one bug with Aladdin's Lamp
- fix Drain life MIR
2010-01-10 14:42:47 +00:00
wagic.the.homebrew@gmail.com cee2da600d Erwan
- fix a bug where the AI would crash when playing cards with cycling or any other "autohand" ability
2010-01-10 09:48:26 +00:00
wagic.the.homebrew@gmail.com b3dc2bcda2 Erwan
- fixed issue 267 (hope charm)
- fixed an issue in which the core Rules where not correctly loaded for the test suite
2010-01-10 03:32:18 +00:00
wagic.jeck 0913954268 Jeck - Small edit to credits screen, now displays total turns taken... so players know how far they missed their task deadline by :P. 2010-01-06 16:08:34 +00:00
wagic.the.homebrew@gmail.com da07370243 Erwan
- (Finally) adding "must" abilities. Usage is as natural as possible, check Aven cloudchaser in 10E.
2010-01-06 14:22:41 +00:00
wagic.jeck bd0e139e6d Jeck - Minor update to trophy room, moved metadata into cards.dat
* updated daily build
* Card spoiler now sorts by collector's number.
* Metadata looks for "[m" (for speed reasons), I've been using "[meta]" in files. No sets currently use metadata.
2010-01-05 23:32:31 +00:00
wagic.the.homebrew@gmail.com 2285821d36 Erwan
-fix issue 252 (equipment goes to graveyard)
2010-01-05 13:48:17 +00:00
wagic.the.homebrew@gmail.com 2ea7de5a3a Erwan
- removed Channel and Shield of the ages, which technically solves issues 174 and 178...
2010-01-05 12:56:43 +00:00
wagic.the.homebrew@gmail.com 3e33e2b756 Erwan
-fix issue 270
2010-01-04 13:51:39 +00:00
wagic.jeck 4ea8234f79 Jeck - quick fix to issue 285. Meant to do this later today with some other stuff, but had it ready now, so...
Eventually, the WDataSource stuff will need to be analyzed more in depth. WSrcMTGSet is very similar (though simplified) in functionality to the deck data wrapper stuff.
2010-01-04 12:59:57 +00:00
wagic.the.homebrew@gmail.com 23fe54ae6f Erwan
- fix issue 153 (Tokens should go to graveyard)
- "token" keyword can now be used in the parser with things such as Creature[-token] for "noncreature token"
- Let's stop using "token" as a type
2010-01-03 10:08:36 +00:00
wagic.the.homebrew@gmail.com 69c5dee979 Erwan
- IMPORTANT: Legendary is not an ability anymore, creating cards with super types should be much more natural. You can now say "type=Snow Land", and stuff like that. No backward compatibility!!!
2010-01-03 03:11:30 +00:00
wagic.the.homebrew@gmail.com 0494e3eb33 Erwan
- Fixed language loading (previously broken with primitives code)
2010-01-02 07:05:39 +00:00
wagic.jeck 2dcf55c45d Jeck - Quick fix to issue 279. Requires testing, see issue for details. 2009-12-31 05:12:35 +00:00
Psyyringe 1125a2aeaf Psyringe - fixed a typo in "mountainhome" that prevented it from working. This is probably the bugfix of the century considering that the number of cards with Mountainhome in Wagic (and actually in the whole Magic universe) is exactly zero. ;) 2009-12-30 01:11:23 +00:00
Psyyringe 1f2a5bd4bd Psyringe - softcoded Great Defender (LEG), provided test script. 2009-12-29 00:39:16 +00:00
Psyyringe 49536fce44 Psyringe - introducing new ability: cantBeBlockedBy(T). T can be any targez specification, like "wall", "creature[flying]", etc. See added cards for examples. Note: This ability currently has the same restrictions as "protection from(T)", i.e. it can't be used in activated abilities or instants/sorceries. It *can* be used for creatures,auras, and other continuous abilities (e.g. an enchantment which grants "unblockable by walls" to all rats should be possible, although I didn't test that). There are 47 cards which use the phrase "can't be blocked by", so we should be able to get another fair mount of cards out of that.
Notes to programmers:
1. This feature uses an awful lot of copy-pasta, using "protetcion from()" as a base. While I'm learning the architecture, it's easier for me to have a dedicated single-purpose piece of code to work with, than trying to create multi-purpose code. I'm aware that this isn't a very elegant approach though, and I hope to be able to refactor additions like this into multi-purpose code once I have a better understanding of the architecture as a whole.

2. Please check the questions I'll add in my next code comments, specifically about AI integration and activated abilities / instants / sorceries.

3. I did have a crash (with the debugger complaining about stack corruption around the cd variable) during testing. I wasn't able to reproduce it though. I did have to clean the solution in-between when I updated to the primitives system, so perhaps there was this cleaning solved whatever corruption was in my files. I'm mentioning the issue in case someone has an idea on where my code might be risky (I'm still probne to making beginners mistakes).
2009-12-28 18:19:17 +00:00
wagic.the.homebrew@gmail.com 05a72de5bc Erwan
- Card Primitives system. Check Royal Assassin in RV, 10E, M10
- Please review, is sets/primitives a good directory? Should we rename MTGCard into "CardPrint"? 
- Unfortunately for now it is not possible to "override" a Primitive. A card that links to a primitive but also defines new "values" will create its own data and ignore the data in the "linked" primitive for the time being. I hope to solve that at some point...
2009-12-27 12:14:36 +00:00
wagic.the.homebrew@gmail.com 98b6f914df Erwan
- splash screen issue fix
2009-12-26 06:41:58 +00:00
Psyyringe 5c3b3f1d03 Psyringe - added quantifiable target restrictions. Whenever you use square brackets [] to specify attributes of a target, you can use the operators <=, >= and = to specify quantities for power, toughness, and/or converted manacost. See added cards for examples.
Limitations:
- Operators for "greater than", "less than", "unequal" have not been implemented, but if a card actually needs them, you can use a preceding minus sign to negate a comparison. Example: -power=3 means "power not equal to 3", -toughness<=3 means "toughness>3".
- You can't use spaces when specifying such restrictions. Write "power<=3" instead of "power <= 3"
- You now need to use a space before the "<" and ">" commands that count the matches for lord(), foreach(), all() and aslongas(). So far we always did use spaces in front of them without actually needing to, now we need to.
- manacost restrictions don't take "X" costs into account. Example: Mistmeadow Skulkin (FUT) has protection from manacost>=3. Blaze has a converted manacost of 1, but when you cast it with an X of 2, then it actually has a converted manacost of 3 while on the stack, and Mistmeadow Skulkin would be protected from it, but currently it isn't.

Please review the code, I'll add a few remarks/questions of my own.
2009-12-26 01:50:33 +00:00
wagic.the.homebrew@gmail.com a821f67cbf Erwan
- Adding Christmas theme by Lakeesha
2009-12-23 14:46:16 +00:00
wagic.the.homebrew@gmail.com 4be7d5ebd3 Erwan
- pumped version up to 0.10.1
- Added fleshformer, so that conflux gets 80 cards :)
2009-12-23 06:21:30 +00:00
wagic.the.homebrew@gmail.com d80e72e8c7 Erwan
- fix psp compilation
2009-12-22 15:24:30 +00:00
wagic.the.homebrew@gmail.com 2984bb7405 Erwan
- fix issue 265
2009-12-22 15:04:56 +00:00
wagic.the.homebrew@gmail.com 54142cc816 Erwan
- fix a segfault with Shivan Gorge
- Fix a memory leak in the AI
- Commit a test for issue 265
2009-12-22 13:11:08 +00:00
wagic.the.homebrew@gmail.com 1b91bbdff7 Erwan
- Adding option to interrupt AI after main phase 2
2009-12-20 02:48:25 +00:00
wagic.jeck a80035e2a0 Jeck - Removed set metadata loading. We're in feature-freeze, and this feature wasn't fully implemented in time for release. I've removed the partial-implementation to prevent use of the outdated format... next release will feature set metadata integrated with _cards.dat. 2009-12-19 20:52:37 +00:00
wagic.the.homebrew@gmail.com d58b0ffac5 Erwan
- fix issue 263
2009-12-18 15:16:38 +00:00
jean.chalard d6ad963f68 J :
* Remove a useless debug print
2009-12-18 10:20:25 +00:00
jean.chalard 6af5563103 J :
* Re-input a close that had been deleted by mistake.
2009-12-18 10:12:07 +00:00
jean.chalard 1d67773097 J :
* Use the adaptative size system for hand representations.
2009-12-17 18:15:59 +00:00
jean.chalard a89458bca8 J :
* Remove a useless debug print.
2009-12-17 18:15:36 +00:00
jean.chalard 54791762b1 J :
* Fix a bug where valid directories would be ignored and invalid ones
  would be accepted for profiles and themes.
* Fix a compilation fault when compiling in debug mode.
2009-12-17 17:29:24 +00:00
wagic.the.homebrew@gmail.com 92e7d8831b Erwan
- Adding credits back
2009-12-17 13:43:53 +00:00
wagic.the.homebrew@gmail.com 35745a55ef Erwan
- Loading the "awardback.jpg" file in 16bits instead of 32. This should extremely reduce the probability of crashes (issue 247)
- Added some error debug message for the test suite when a card cannot be found
2009-12-17 13:09:47 +00:00
jean.chalard 82ac1add24 J :
* Fix a bug where a char* would be passed instead of a String to _()
2009-12-17 03:12:35 +00:00
Psyyringe af10c4d0e9 Psyringe - updated German translation. Also sent "Days left" and "Reward" from task board screen to translation function. I did check the results, but not as thorough as I'd like to, so there may still be rough edges.
Note: If you design the layout of a screen, please keep in mind that translators usually need more space than the English terms do, English is a very space-efficient language. I found that I sometimes have to resort to suboptimal translations because the better ones don't fit into the space reserved for them.

Note 2: I've heard about problems with characters taking up a different amount of screen space on Windows and the PSP, so could someone check whether the German texts are inside their boundaries on the PSP? I can only test on Windows.
2009-12-16 23:08:36 +00:00