Commit Graph

1782 Commits

Author SHA1 Message Date
jean.chalard
2163bdbec5 J :
* Fix the way features are tested.
2010-02-02 09:38:22 +00:00
jean.chalard
64260f5787 J :
* Fix linux32 compilation.
* Wagic+JGE are now expected to compile on any unix that
  has an X and an OpenGL library. If fmod is correctly
  installed it will use it, else there won't be any sound.
2010-02-02 09:15:39 +00:00
jean.chalard
4f0a264146 J :
* Add a method to abstract the file size.
2010-02-02 09:11:44 +00:00
jean.chalard
02e3932017 J :
* Fix linux compilation that had been broken by the last update.
2010-02-02 08:34:54 +00:00
jean.chalard
18c18822c9 J :
* This update has Wagic compile and work under Darwin 64-bits.
  - Linux 64-bits is expected to compile and work from now on, but
    was not tested. As with before, Linux 64 bits can still run
    the 32 bits version.
  - Darwin version is not using Carbon but X emulation.
  - 64-bits versions have no sound because there is no 64-bits
    version of fmod.
  - Windows 64-bits probably does not compile. Windows 64-bits can
    still run the 32 bits version.
  - Darwin 32-bits probably does not work at the moment because the
    libfmod requires another name to work on Macs, but as 64-bits
    disables it it works.
  - Other unix flavors are expected to work as long as they have
    a working OpenGL library, X11, and *either* 64-bits *or* a
    working fmod. Thus in the practice Tru64, Irix and the like
    probably work, as should FreeBSD and other BSDs in 64 bits
    versions, but 32 bits versions will search for a non-existing
    fmod. All of this is pure conjecture and none was tested.
  - All 64-bits versions have no sound.
  - The mac version does not display the particles at the moment.
    This is not critical, but the cause is unknown yet. I would
    like to know if other 64 bits unices share the same bug or if
    it is mac-specific.
* Test is needed in particular to see whether the program still
  compiles and works in Linux and PSP. Windows is probably all
  right, but compiling PSP in windows may be broken by this
  update.
2010-02-02 08:27:10 +00:00
Psyyringe
c4043b08a3 Psyringe - removed some cards from mtg_todo.dat which had actually been coded in mtg.txt as well. This means that these cards must have been in some set's _cards.dat and in some set's todo.dat previously. 2010-02-02 03:43:54 +00:00
Psyyringe
aad27bd80d Psyringe - renamed mtg.todo to mtg_todo.dat. This makes the file easier to open. 2010-02-01 22:19:19 +00:00
wagic.jeck
fa57de0418 Jeck - Final fix for issue 258. Added missing NO_TRANSLATE flag. 2010-02-01 21:26:49 +00:00
Psyyringe
fb3fdf01f7 Psyringe - fixed a problem with Cinder Wall (SVN Merge gone wrong) 2010-02-01 21:21:25 +00:00
wagic.jeck
46215a2bc0 Jeck - Updated the WGui/OptionItem classes to all use ReadButton. Also updated daily build. 2010-02-01 20:58:52 +00:00
wagic.jeck
b9a4a819a9 Jeck - Minor fix to r1776. 2010-02-01 19:03:50 +00:00
wagic.jeck
79eb0818c2 Jeck - Tiny formatting fix to task board. Restored header font size when using image. 2010-02-01 18:40:21 +00:00
wagic.jeck
0a863bcbad Jeck - [JGE recompile needed] Shop cleanup, Interface enhancements.
Added basic transition system that works with GameApp's phases. Currently does a fade-out between elements, which works well in some places and not-so-well in others. We'll definitely want to think about where and where not to use it... they'd work a lot better if we could spawn a thread to handle loading the next state while transitioning.

Also cleaned up the shop a bit, so it uses ReadButton() instead of GetButtonClick()-- hence the slight change to JGE. Added a tiled image for the task board, which loads conservatively (I tried 128x128, but it didn't look as good).
2010-02-01 18:27:25 +00:00
jean.chalard
e999da6ef7 J :
* Fix a bug where "Deutsch" would get printed twice at the language
  selection menu at first run.
2010-02-01 09:31:43 +00:00
Psyyringe
9150a5b13c Psyringe - made all cards using the primitives system, added some sets. Important: This update changes the file where we store the card code, now all card code is in primitives/mtg.txt. We also have only one "todo" file now, it's mtg.todo. Note: mtg.todo had to be put out of the "primitives" folder for the being, since Wagic currently loads everthing in this folder, regardless of file extension. Once this is fixed, mtg.todo will be moved into the "primitives" folder.
More detailed instructions will follow shortly.
2010-02-01 07:40:39 +00:00
jean.chalard
e3e50c19a5 J :
* Have JGE compile on Darwin architecture.
* I'm not saying it works, just that it compiles.
* This needs testing on other macs than just mine.
2010-02-01 02:49:26 +00:00
wagic.jeck
aa5eb90299 Jeck - Fixes for set metadata. 2010-01-31 23:44:10 +00:00
wagic.jeck
cf2dfec105 Jeck - Changes to WGui, potential fix to issue 258 (please verify). 2010-01-31 21:38:07 +00:00
solo81@web.de
3dec7e0a00 Fixed Cinder Wall (WTH) 2010-01-31 21:18:51 +00:00
solo81@web.de
1e351fdcbd Some fixes from last revision. 2010-01-31 21:07:01 +00:00
solo81@web.de
de47b25866 Added 51 successfully tested cards based on rev1757. 2010-01-31 20:56:25 +00:00
wagic.jeck
c8cae60071 Jeck - Fix memory leak in collection stats page. Thanks, Psyringe! 2010-01-31 15:59:29 +00:00
wagic.the.homebrew@gmail.com
da7591288d Erwan
-removed an unnecessary translation step in card text rendering (see issue 258)
2010-01-31 11:50:25 +00:00
wagic.the.homebrew@gmail.com
25e9e05a43 Erwan
-removed Reverse Polarity (the card doesn't work anymore and was hardcoded). This closes issue 303
2010-01-31 09:49:09 +00:00
wagic.the.homebrew@gmail.com
1f88c30cfd Erwan
-code cleanup
2010-01-31 06:56:40 +00:00
wagic.the.homebrew@gmail.com
e3d98f23f9 Erwan
- fix issue 308
- daily build
2010-01-31 06:24:28 +00:00
wagic.the.homebrew@gmail.com
f863dca678 Erwan
- Adding Dr.Solomat's WorldWake initial set :)
2010-01-31 03:08:52 +00:00
wagic.jeck
5e477f89fb Jeck - SimplePad now uses ReadButton, rather than GetButtonClick.
I'll upload the changes for the OptionItem code in a bit-- I'm a little concerned with that side of things, as I think I recall the reason for using GetButtonClick had something to do with what point in the process the game "eats" the button press... OptionItem stuff relies a lot on button presses falling through to other UI items.
2010-01-30 17:11:37 +00:00
wagic.the.homebrew@gmail.com
1747f3af16 Erwan
- fixed test suite typo
- added test for issue 306
2010-01-30 14:31:05 +00:00
wagic.the.homebrew@gmail.com
536ca897bc Erwan
-adding test for error 305 (promise of bunrei). Can't reproduce the issue.
2010-01-30 14:19:15 +00:00
wagic.the.homebrew@gmail.com
ee3d7b6ffe 2010-01-30 14:03:57 +00:00
wagic.the.homebrew@gmail.com
54969a2179 Erwan
- Fix an issue with "becomes ueot". See blinkmoth nexus in DST
- Daily build
2010-01-30 12:58:49 +00:00
solo81@web.de
616e0d00bf Fixed Cursed Ronin (CHK) 2010-01-30 10:00:33 +00:00
wagic.the.homebrew@gmail.com
d0212ddfa8 Erwan
- Adding "turn" information when pressing start ingame. This closes issue 248
2010-01-30 09:19:57 +00:00
wagic.the.homebrew@gmail.com
abe66333d5 Erwan
- Spanish interface update by Inquisidor
- German Cards update by Funky H.
2010-01-30 07:46:55 +00:00
wagic.the.homebrew@gmail.com
00d06329b2 Erwan
-fix issue 307 (new decks don't appear)
2010-01-30 07:41:33 +00:00
wagic.the.homebrew@gmail.com
dd01706527 Erwan
- introducing "grade" system for cards
- Fixed a few typos in _cards.dat
2010-01-30 06:33:40 +00:00
jean.chalard
ccdda4e7a8 J :
* Fix some coding style misses.
2010-01-30 02:40:48 +00:00
solo81@web.de
c64c184903 Small fixes to last revision. 2010-01-29 18:14:08 +00:00
solo81@web.de
8ca821c284 Added 36 Cards.
All cards have been tested successfully.

This update contains 2 card groups:

1) Creatures which get a certain power- and or toughness bonus when blocking and/or being blocked. This includes

2) Creatures with "bushido". Works 100%!
2010-01-29 17:59:34 +00:00
solo81@web.de
84f5aea7d5 Small fix to rev1747 2010-01-29 13:19:31 +00:00
solo81@web.de
bec268df16 Added 38 successfully tested cards.
This update contents:

1. Creatures which get a certain power- and/or toughness-bonus when attacking or blocking.

2. Creatures which leave the battlefield at end of combat after having attacked or blocked.

3. Clockwork-"family" from Mirrodin.
2010-01-28 19:16:39 +00:00
jean.chalard
e31ddd96ae J :
* Change a printf for some architectures.
2010-01-27 14:59:21 +00:00
jean.chalard
f38dbf1746 J :
* Fix another set of 64-bits related problems.
* The code is now expected to compile on linux-64bits, but as I
  can't test, I can't be positive about it really compiling,
  much less working.
2010-01-27 07:25:48 +00:00
solo81@web.de
dc35b32dac Added Mox Diamond (STH). Tested and working.
The 3rd auto-line is necessary because without it Mox Diamond will give you the chance to add mana without discarding a land when the "action-choice-window" opens.
2010-01-25 14:49:30 +00:00
solo81@web.de
b5db708aac Small fixes from rev1740 2010-01-25 11:58:27 +00:00
jean.chalard
0a083f4385 J :
* Fixes for compilation on 64-bit architectures :
  string position-returning functions return size_t, not uint.
  Fix that.
* Fixes warnings with new gcc about non-fixed string AND no arguments.

NOTE : 64-bit architectures still do not compile. There are 2 different places
where printf is used with a specifier that is not large enough on 64-bit because
size_t is now a ulong and not a uint. The solution on GNU systems is the %zu
specifier, but as I'm not sure it is supported on windows I don't want to
introduce a huge hard-to-notice bug, so I'll do it at a time when I got a
windowser to back me up.
2010-01-25 09:58:30 +00:00
Psyyringe
9b91fab61b Fixed a typo (aut0 instead of auto) 2010-01-25 03:13:25 +00:00
solo81@web.de
e48f9bd7f1 Added 102! successfully tested cards.
After weeks of hard work, I can proudly present you this huge package of cards, based only on already existing card code elements.

Some examples and important notes:

- Cards that get buried if you don't fulfill a condition
1. when they enter the battlefield (Hidden Horror[WEL]; Mercenary Knight, Thundering Wurm [both POR])
2. during your upkeep (Endless Wurm[USG]).

- Cards that allow to draw a card, then discard a card when entering the battlefield or damaging an opponent (Owl Familiar[POR], Looter il-Kor[TSP]).

IMPORTANT NOTE: Those cards work only correctly because the draw effect resolves before the discard effect. 
Instants and Sorceries with such effects or permanents that have an activation cost for drawing, then discarding a card won't work because the two effects don't trigger in the correct order.

- Land cycle from Visions and Planeshift (both very puzzling, but working perfectly!)


I also updated World enchantments (tested & working, see rules for them in Gatherer!)

Several card fixes.


If you have any questions, post them! ;)
2010-01-24 20:43:21 +00:00
wagic.the.homebrew@gmail.com
d22b7b5e37 Erwan
-some fixes for HQ cards support
2010-01-23 03:35:43 +00:00