Commit Graph

4258 Commits

Author SHA1 Message Date
techdragon.nguyen@gmail.com
641c4068d8 updated iOS modrules.xml 2012-02-20 07:33:24 +00:00
techdragon.nguyen@gmail.com
8468505f1e fixed deck name display for when "Random" player deck is chosen. 2012-02-20 07:32:14 +00:00
omegablast2002@yahoo.com
431ba4d1dd changed the targetchooser tpye to be more specific in rules txt...i can never make a mountain goat card because it will gain an unwanted {t}:add{r}.... 2012-02-19 20:05:44 +00:00
techdragon.nguyen@gmail.com
fa247c7720 added the name of the selected player deck when selecting an opponent.
added deck names to screen when bringing up the menu during a match.  The deck names appear below the AI avatar and above the player avatar.
fixed a mem leak in ZipArchive.mm
2012-02-18 04:34:56 +00:00
Xawotihs@gmail.com
2a2cf70324 Fixed compilation issue with gcc 2012-02-16 20:30:53 +00:00
techdragon.nguyen@gmail.com
2e65fe02fe fixed some memory leaks found in the analyzer 2012-02-16 06:49:31 +00:00
techdragon.nguyen@gmail.com
719fb41dc2 changed FALSE/TRUE references to true/false. I think TRUE/FALSE is a windows thing only. It is causing compilation errors on iOS. 2012-02-16 06:48:51 +00:00
punkeduard@gmail.com
42421e9c89 The back side of a double faced card shouldn't have mana cost, it's CMC is always zero, but it should have a defined color 2012-02-13 17:49:32 +00:00
rodrigodemoura@gmail.com
45b4272c5e Include the Phyrexian mana display. Include more features in modrules.xml: Now is possible to change font color, Size. Include icon tag. Is possible select position to show the icon, size and where the image is stored
<item name="icon">
 <position x="0" y="25"/>
 <iconposition x="1" y="2"/> 
 <filename>menuicons.png</filename> 
 <sizeicon>5<sizeicon>
</item>
Issue: 663
2012-02-13 15:28:55 +00:00
Xawotihs@gmail.com
bd1afebbea Hid Subtypes behind MTGAllCards and added a mutex to be able to use both singleton from several threads. 2012-02-12 22:20:05 +00:00
Xawotihs@gmail.com
ebc4eb331f Removed modifications that should not have been part of my previous commit and were causing compilation problems. 2012-02-12 08:44:22 +00:00
punkeduard@gmail.com
a9ef271e74 Fixed dark ascension _cards.dat some misspellings on the cards, added Grim Backwoods and fixed other cards like vault of the archangel (the land now taps itself as requiered) 2012-02-12 06:10:52 +00:00
Xawotihs@gmail.com
c38c52c6ad Refactored audio sample playback 2012-02-11 18:20:08 +00:00
punkeduard@gmail.com
d7c69f3281 fixed some bugs reported in the forums
Jolting Merfolk
Demonic Collusion
2012-02-11 06:15:29 +00:00
Xawotihs@gmail.com
84abe7c9cf Fixed compilation on linux 2012-02-08 22:00:35 +00:00
techdragon.nguyen@gmail.com
85848cfe41 resolution to issue 794. Non-classic games crashed at the completion of the game. 2012-02-06 09:07:37 +00:00
omegablast2002@yahoo.com
bc8ec9a065 Orcish Settlers corrected 2012-02-06 03:20:34 +00:00
techdragon.nguyen@gmail.com
c11e55a8b3 kGameIconPadsize was already defined in ActionStack.cpp. Renamed constant to avoid clash with definition in ActionStack.cpp 2012-02-06 01:40:22 +00:00
techdragon.nguyen@gmail.com
4bd74db547 constant def got removed in r4234. readded constant to satisfy PSP build 2012-02-06 01:11:22 +00:00
techdragon.nguyen@gmail.com
d343b8e159 added some debug statements for JSfx.cpp
minor correction to handling download delegate removal
changed constant literals to use constant labels.  Not sure why this was changed in the first place as it didn't need to be.
2012-02-05 23:32:55 +00:00
techdragon.nguyen@gmail.com
dc16ba2adb i think this should fix the psp builds. Thanks to Zeth for the help on this one. 2012-02-05 17:31:04 +00:00
techdragon.nguyen@gmail.com
37566d148d followup fixes to psp version JSFx.cpp .
Added psp JSfx.cpp to iOS project.
2012-02-05 12:30:53 +00:00
techdragon.nguyen@gmail.com
5c3baedf83 moved Wagic Version macros into a new header file so that iOS can use it.
updated iOS port to use wagic versioning macros.
2012-02-05 11:16:43 +00:00
techdragon.nguyen@gmail.com
5c293e2fbb added new method to JSoundSystem to pause music. Previously, "pause" meant kill the music and "resume" effectively restarted the music. iOS will now pause and resume appropriately
modified pc and android impls to ensure new calls are made.  These still have the same effective outcome (kill and start) until the equivalent is coded on these platforms to pause and resume the music.  
fixed bug with iOS sound effects not playing.  Forgot to assign the key to the associated music sample
2012-02-05 08:21:06 +00:00
techdragon.nguyen@gmail.com
2eec7f9a6d fixed calculation for magnitude. cut and paste error.. 2012-02-05 03:25:59 +00:00
Xawotihs@gmail.com
8e8a0d6eeb - Removed useless filter swiping interface
- Removed pointless #ifdef IOS ... it was perfectly OK before the IOS code. Basically if you don't understand the code AND if you cannot test it, you should not modify it =(
- Readded a gard against short horizontal swipe. There were removed cause there are some gards in the iOS frontend ...
- Note that all this code use non-normalized coordinates, so something should be done in this sense in the frontends...
2012-02-04 23:25:58 +00:00
techdragon.nguyen@gmail.com
bbb6c15d76 removed the accented e from Seance and replaced it with the ASCII equivalent.
This should partially resolve the issue with it appearing as "Sance" ingame.  Not sure if it's possible to display accented characters in the English version
2012-02-04 22:03:48 +00:00
techdragon.nguyen@gmail.com
98ee0d70b5 fixed text for "Curse of Thirst" as reported by KF1 in forums. 2012-02-04 21:47:42 +00:00
punkeduard@gmail.com
330620db0b Fixed primitives of latest added cards, mana cost and some fixes like that 2012-02-04 20:13:50 +00:00
solo81@web.de
c89967166e Added 8 cards based on revision4251.
Charmbreaker Devils
Fossil Find
Ghoulraiser
Haunted Fengraf
Make a Wish
Moldgraf Monstrosity
Tariel, Reckoner of Souls
Woodland Sleuth
2012-02-04 18:50:04 +00:00
techdragon.nguyen@gmail.com
c296aa0374 fixed card def for Villagers of Estwald
removed extra "[/card]" from mtg.txt
2012-02-04 17:46:08 +00:00
wagic.the.homebrew
f0ab139c1e Fix android compilation 2012-02-04 15:22:21 +00:00
wagic.the.homebrew
b0532b8059 - Bump version number to 0.18
- Fix issue introduced in 0.17 with Immortal task
2012-02-04 14:28:07 +00:00
techdragon.nguyen@gmail.com
86e7a9b97f This is a very rudimentary tool to verify that the cards in mtg.txt, borderline.txt are properly defined in terms of abilities. Using the list from MTGDefinitions.cpp this script will check all the abiliites= lines and check that each ability listed is contained inside fo the list from MTGDefinitions.cpp This does a case insensitive search and only returns ability names that don't match. 2012-02-03 19:33:01 +00:00
techdragon.nguyen@gmail.com
8b6f9d6667 fixed typo for Devouring Swarm abilities; flyng vs flying 2012-02-03 19:09:58 +00:00
techdragon.nguyen@gmail.com
78c08af9f5 first run through for sound on iOS platforms. Currently works only for simulator unless the music files are extracted from the zip file onto the filesystem. 2012-02-03 11:23:27 +00:00
omegablast2002@yahoo.com
52f2435c48 elvish beserker had shroud.... 2012-02-02 09:48:38 +00:00
omegablast2002@yahoo.com
99ab44a20e added moverandom(tc) from(zone) to(zone) ability...example
moverandom(creature[green]) from(mygraveyard) to(opponentbattlefield)
example card

[card]
name=Tariel, Reckoner of Souls
auto={t}:moverandom(creature) from(opponentgraveyard) to(mybattlefield)
mana={4}{W}{B}{R}
abilities=Flying,vigilance
type=Legendary Creature
subtype=Angel
power=4
toughness=7
text=Flying, vigilance {T}: Choose a creature card at random from target opponent's graveyard. Put that card onto the battlefield under your control.
[/card]
2012-02-02 03:52:20 +00:00
techdragon.nguyen@gmail.com
228fe23e49 removed calls to ManaCost::init() as all but two are actually necessary.
moved init() from ManaCost to a private call
changed ManaPool method init() to Empty() to better represent what it does.  
renamed ManaCost::reinit to resetCosts() as reinit sounds like your are returning the ManaCost object back to initial state which is not what happens.  Only the cost related members are reset, the bool isMulti is left alone
2012-02-02 01:10:11 +00:00
omegablast2002@yahoo.com
e709497f2e added interactivebutton to the make file, without it psp build was not happening.
corrected an issue by removing a constant, if you want it defined as a constant do so, however make sure when you build for psp the variable is actually still defined in the scope.
2012-02-01 19:05:20 +00:00
omegablast2002@yahoo.com
2bfc87b702 fixed a psp comp error. 2012-02-01 18:31:37 +00:00
omegablast2002@yahoo.com
d615c412f1 tweaking amounts on shouldplay for multikicker. 2012-02-01 13:06:59 +00:00
omegablast2002@yahoo.com
0d223b5561 reworked some logic that was changed in last commit. 2012-02-01 12:44:11 +00:00
solo81@web.de
ed30af9aab - Added DKA (120 cards).
- Added 50 cards based on rev4237-rev4242 (card list below).
  - Related on this addition, I changed the card.dat
    information of Flipping and Transforming Cards in the
    card.dat so that the flipped sides of a card are not
    shown in the shop or in the trophy room.

- Updated the card text of Contested Cliffs. It now uses the word "fight".

- Fixed issue787


Tests will follow.
2012-02-01 10:33:19 +00:00
techdragon.nguyen@gmail.com
ac992675da This removes the compilation error introduced with r4237. I needed this in place to make an iOS build. 2012-02-01 04:17:30 +00:00
techdragon.nguyen@gmail.com
2f408664ad last fix for buttons only fixed the PC/SDL mouse impl. This fixes the iOS/Android platforms. iOS/Android platforms both issue a JGE_BTN_OK keypress on single tap in which the mouse version does not. that version issues the OK keypress in sync with the mouse click. 2012-02-01 00:38:02 +00:00
omegablast2002@yahoo.com
9127ddaca2 minor change to the parsing of AMover "and((" subkeyword. 2012-01-31 21:25:38 +00:00
omegablast2002@yahoo.com
4b70061dae made flip( menutext better, also readded menuobject coloring for normal menus, somewhere along the lines it was changed to not work with normal menus, which eliminated the whole point...if the red is too harsh of a color please suggest a different one. 2012-01-31 20:11:03 +00:00
omegablast2002@yahoo.com
a248cb7423 added abilities=poisonshroud
"you can not get poison counters"
2012-01-31 19:41:43 +00:00
omegablast2002@yahoo.com
81c90f0440 added this( keyword variable{ word variable } ) support
auto=this(variable{lifetotal} <10) 1/1
auto=this(variable{opponentpoisoncount} >1) infect

basically allows you to compare against a word variable.
2012-01-31 19:17:51 +00:00