Commit Graph

  • 405df8bd15 refactored gesture recognition for iOS techdragon.nguyen@gmail.com 2012-04-12 11:53:42 +00:00
  • 41ccf2e3d9 updated soulbright fire kin code. omegablast2002@yahoo.com 2012-04-12 11:47:50 +00:00
  • 7dec7bc873 soulbright fire kins ability was not triggering sideeffects...because i forgot to make it happen...opps...im only human :) omegablast2002@yahoo.com 2012-04-12 11:46:00 +00:00
  • 34ee0a82ac fixed issues 832 and 774 techdragon.nguyen@gmail.com 2012-04-12 11:07:31 +00:00
  • d4e4e3b251 fixed a logic error in determining the default location of user/system folders. techdragon.nguyen@gmail.com 2012-04-12 02:28:18 +00:00
  • 0db0cb15f9 added a default value for mount points techdragon.nguyen@gmail.com 2012-04-11 22:31:19 +00:00
  • 7cd88b83dc demigod of revenge missing "then" in if then ability. omegablast2002@yahoo.com 2012-04-11 16:50:22 +00:00
  • ae3cd0d5fb making ifthenability fail a little more gracefully. omegablast2002@yahoo.com 2012-04-11 16:46:57 +00:00
  • 8f11b6ec45 updated core file to 0182 for Android build techdragon.nguyen@gmail.com 2012-04-11 10:59:03 +00:00
  • b90b4ae50b updated core file download name techdragon.nguyen@gmail.com 2012-04-11 10:10:01 +00:00
  • 7af1e727e1 Fixed Bant Sojourners & Decree of Justice solo81@web.de 2012-04-10 23:35:06 +00:00
  • e8427452cd incremented build number to 0.18.2 techdragon.nguyen@gmail.com 2012-04-09 14:37:24 +00:00
  • f9a638143b fixed HollowHenge Spirit card definition. techdragon.nguyen@gmail.com 2012-04-09 13:14:15 +00:00
  • 7a6333ffd5 i split storedCard and storedSourceCard and forgot that if we dont have a storedCard we should make it use storedSourceCard in WParsedInt omegablast2002@yahoo.com 2012-04-09 13:11:34 +00:00
  • a3848e06f4 fix for that stupid bug where cards get added randomly while quickly going through your collection by pressing cards quickly. omegablast2002@yahoo.com 2012-04-07 14:13:00 +00:00
  • 596aa2b92e corrected animal boneyard, updated consume spirit. omegablast2002@yahoo.com 2012-04-07 05:18:04 +00:00
  • 18cd8b5082 added limiting of x to a color to fix Consume Spirit from being able to use any color.. {x:black} {x:color} omegablast2002@yahoo.com 2012-04-07 05:16:55 +00:00
  • 864727b208 added HINT:castpriority(blah,blah,blah,blah,ect) this is a method to set the order in which ai decides to play cards, you can for example tell ai to look for 2 instants, before trying to find a creature. be sure to list all main types of the deck otherwise ai will pass on stuff this is the current const char* types[] = {"planeswalker","creature", "enchantment", "artifact", "sorcery", "instant"}; omegablast2002@yahoo.com 2012-04-06 23:10:11 +00:00
  • e4d6f83191 taught ai if the effect of a ability$! spell is good or bad. omegablast2002@yahoo.com 2012-04-06 11:01:48 +00:00
  • a514bf6ba0 just adding a few abilities words to ais "badabilities" vector.... omegablast2002@yahoo.com 2012-04-06 10:10:18 +00:00
  • 5a191e5a0c fixed parsing error in mtg.txt Please double check this is how this card (Kor Outfitter) is supposed to be coded. techdragon.nguyen@gmail.com 2012-04-05 16:21:14 +00:00
  • d55b96f1c8 Fixed Phantasmal Sphere. solo81@web.de 2012-04-05 15:00:19 +00:00
  • d94dd6fff0 - Add/Optimized 11 cards based on the previous revision: solo81@web.de 2012-04-05 14:35:48 +00:00
  • 6af6081cca removed the exploit fix i added to prevent people from using the games esc menu to avoid doing negative effects from abilitiesmenu. omegablast2002@yahoo.com 2012-04-05 13:57:36 +00:00
  • eabbbe3f77 passing the storedcard for use by instants and sorceries with extracost in thier manacost, also fixed a parsing oversight with stored values parsing, "-" would throw off the value of s string parsed for stored by 1, returning 0 for these....this is corrected now. omegablast2002@yahoo.com 2012-04-05 11:24:57 +00:00
  • 5c67985c45 Added 28 cards. solo81@web.de 2012-04-02 18:24:39 +00:00
  • 0b1327bf01 fixed a couple memleaks, also added human player targeting for blocking. omegablast2002@yahoo.com 2012-04-02 16:48:33 +00:00
  • b705158e13 added "blockable" targetchooser, a targetchooser which shows the cards considered "blockable" by source. omegablast2002@yahoo.com 2012-04-02 13:32:50 +00:00
  • 4dfacaa409 untap target as cost. omegablast2002@yahoo.com 2012-04-01 17:39:41 +00:00
  • 26fba2d7aa fix for the manaability filter crash. omegablast2002@yahoo.com 2012-03-31 18:29:29 +00:00
  • 81a8183322 we dont care if it is the current or ->next when checking casted(...we just care about it being cast omegablast2002@yahoo.com 2012-03-28 19:02:54 +00:00
  • 1c43f84b01 fixed Midnight Guard, mistakenly had flash and flying techdragon.nguyen@gmail.com 2012-03-28 11:47:18 +00:00
  • 13d979a7ac maxcast on curses was being prematurely testDestroyed because isInPlay() returned that the player was not in play :) omegablast2002@yahoo.com 2012-03-28 11:39:03 +00:00
  • 3b4e8cf27a Drana, Kalastria Bloodchief code change omegablast2002@yahoo.com 2012-03-27 13:59:34 +00:00
  • 8a53df8ca5 fixed wall of reverence and refactored adynamic ability a bit. omegablast2002@yahoo.com 2012-03-27 13:57:09 +00:00
  • 252fe216d4 fire at will corrected omegablast2002@yahoo.com 2012-03-27 13:55:34 +00:00
  • 33f87b4c58 Circle of Flame fix thanks appleinanorange omegablast2002@yahoo.com 2012-03-27 13:48:55 +00:00
  • df38e3977c fixed flip cards not gaining basicabilities of their counterpart cards. omegablast2002@yahoo.com 2012-03-26 22:57:32 +00:00
  • ca4eb2e0fb Added/optimized 25 cards based on rev4347. solo81@web.de 2012-03-26 22:54:08 +00:00
  • 7e308adba9 updated and(( and updated Phyrexian Unlife. added missing "emblem" keywords to emblem abilities. omegablast2002@yahoo.com 2012-03-26 13:53:09 +00:00
  • 30b379e1da fixed Issue 819, changed the parsing of and(()) to and!()!, i no longer share the storedstring of transformer, so you can ability$!transforms(( now.... omegablast2002@yahoo.com 2012-03-26 13:51:44 +00:00
  • c5128b35e0 fix for sorins destroy andability, actually a fix for and(( in general..have to hide the and(( string from the parser till we need it. omegablast2002@yahoo.com 2012-03-26 11:48:22 +00:00
  • 08b6975300 refactoring change for http://code.google.com/p/wagic/source/detail?r=4364 to ensure bounds for n is always met. techdragon.nguyen@gmail.com 2012-03-25 23:43:59 +00:00
  • 5e34cf8bb2 fixed a bug where proliferate menus stopped working, fixed a bug where damage would be considered redirected after killing a planeswalker, fixed a bug intruduced with recent changes to text rendering that made my text message ability stop working, added a lose and win text to abilities which only contained a 1 sided win. omegablast2002@yahoo.com 2012-03-25 21:49:13 +00:00
  • bf88bee58a fixed a crash that would occur when hugging the bottem edge of a menu with one option example: auto=choice sacrifice omegablast2002@yahoo.com 2012-03-25 19:39:10 +00:00
  • 142fcef4c4 Added 211 cards based on rev4331. solo81@web.de 2012-03-25 16:38:52 +00:00
  • 5c340a2fb5 made it even more specific to the exploit, when you open the option menu while abilitiesmenu is open for the purpose of canceling then undo last action. omegablast2002@yahoo.com 2012-03-25 11:47:17 +00:00
  • a2ca6ce26b treating the esc menu as "undo" when used while an abilitiesmenu is open and waiting for selection. this prevents people from using the games menu as an exploit to avoid having to do negative effects to themselves or thier cards. you either do it or we can repeat this forever :) omegablast2002@yahoo.com 2012-03-25 11:40:43 +00:00
  • 59bedf0f07 commented out the drawing of a line across the screen, reasons behind this are as follows: 1:separation of the battlefields is already incredibly clear by the huge gap between the center... 2:a line drawn on battlefield that represents the seperation is something that should be handled outside of the engine, in the actual battlefield graphic. 3:on hires screens this line stands out like a sore thumb. 4:the line is draw on top level above the cards making it stand out even worse when you have a battle going. as well as cutting over the top of the cards in displayed hand view. omegablast2002@yahoo.com 2012-03-25 10:36:06 +00:00
  • 1879767bb8 fixed sorins abilities. omegablast2002@yahoo.com 2012-03-25 09:21:17 +00:00
  • 773e852b83 this should resolve the issues with scrolling lists. I modified the height of the menu a little bit (-10px) because on larger menus, the bottom of the menu blended into the dark shadows of the screen. This small height change makes the bottom of the menu more visible. techdragon.nguyen@gmail.com 2012-03-25 05:01:43 +00:00
  • c8007e7179 recalculated height of menu items previous calculation did not take into scaling of the text techdragon.nguyen@gmail.com 2012-03-24 06:48:02 +00:00
  • 14bdc0fd08 fixed initial state bug with buttons in game shop. techdragon.nguyen@gmail.com 2012-03-24 06:47:01 +00:00
  • 7a18996bee reinstate font scale backup in SimpleButton, to fix the bug I introduced recently. wagic.the.homebrew 2012-03-24 02:47:14 +00:00
  • 41e608785f removed the dead code which was moved up in previous commit. it is actually just that, dead code, moving it up reintruduces bleeding in menus. omegablast2002@yahoo.com 2012-03-23 23:31:54 +00:00
  • 4f2ad781c0 fixed dead code. I'm assuming this was actually what was meant techdragon.nguyen@gmail.com 2012-03-23 22:43:33 +00:00
  • 218db9d844 improved scrolling of simple menus. Now you can scroll up as well as down by activating the area above/below the menu items techdragon.nguyen@gmail.com 2012-03-23 13:17:13 +00:00
  • 5ab2b607f2 captured Seance techdragon.nguyen@gmail.com 2012-03-23 05:01:18 +00:00
  • 3185fae806 updated supported card list for 0181 techdragon.nguyen@gmail.com 2012-03-23 04:49:59 +00:00
  • 30f9146aee updated code to handle flip cards Also handles special character cards. ( ie Call of the Herd (Card of the Herd) ) *** Not sure why the title is repeated in some of these. techdragon.nguyen@gmail.com 2012-03-23 04:34:19 +00:00
  • 58b532f0d6 modified to handle some non-printable characters techdragon.nguyen@gmail.com 2012-03-23 02:57:16 +00:00
  • 2a17b9c11b added a targetchooser for dummycards source and a method for retrieving card->storedCards variables for docs card package. omegablast2002@yahoo.com 2012-03-22 21:50:50 +00:00
  • 26239cdc91 moved the scale reset outside of the if statement, this is to fix a bug where hovering over the last item cause other text items as well as "cancel" to enlarge. omegablast2002@yahoo.com 2012-03-22 13:26:09 +00:00
  • 9102f15309 first draft of tool to generate autocards for Wagic consumption techdragon.nguyen@gmail.com 2012-03-22 09:12:53 +00:00
  • 2a3f998034 Fixed compilation problem with gcc Xawotihs@gmail.com 2012-03-21 21:59:18 +00:00
  • bdec6c6b7d Additional scaling issues fixes + bug fix by Zeth in SimpleMenu wagic.the.homebrew 2012-03-21 14:58:53 +00:00
  • a581d1bba3 - Fixed some scaling issues with SimpleMenu - Fixed the animation for the menu fonts when selecting an item in the menu. mTargetScale and mScale in SimpleButton are here for a reason, people! -- Note: I'm not sure I actually like the "zoom on currently selected item" thing, not sure it brings much. -- we should definitely consider a hi resolution font because now it really doesn't look good, when it is scaled that much wagic.the.homebrew 2012-03-21 14:44:23 +00:00
  • 3ba22cd615 Changes to Deck Editor: - Removed one "stats" button as well as the "menu" button. The goal is to let the screen "breathe" and show cards as much as possible. -- Removing the "menu" button is also in line with all other screens of the game, where that button never appears. - With the same goal, the "XXX of XXX cards" text is now displayed only when scrolling wagic.the.homebrew 2012-03-21 14:41:38 +00:00
  • f33fe0298e unsigned int from float warning treated as error fix. omegablast2002@yahoo.com 2012-03-21 11:28:43 +00:00
  • cb8af6d6c0 - modified gameOver to be protected and defined two new operations to do the same thing (didWin and setLoser) - removed ACTION_LOGGING_TESTING code - Fixed AIvsAI games multithreaded games - Activated undo when testsuite is enable - Defined an initial player comparison operator - Fixed multi-threaded modification to subtypes - Fixed gameTurn cleanup for gameObserver reuse Xawotihs@gmail.com 2012-03-20 23:10:05 +00:00
  • 865bc7e494 resolved scrolling issue (Issue 801) in filters list. it's a little verbose, but it seems to work. need to see if we can't refactor CheckUserInput to reduce the amount of code duplication. The logic for SimpleMenu is slightly different from the base method. perhaps we should override CheckUserInput to take in two parameters instead of one. techdragon.nguyen@gmail.com 2012-03-20 23:07:21 +00:00
  • 18c0868d88 readjusted some of the values for simplemenu, deckmenu still requires "princess fingertips", but the others have their spacing back and font size back. omegablast2002@yahoo.com 2012-03-20 16:27:14 +00:00
  • 3c0620422e updated Melira, Sylvok Outcast, she now correctly interacts with persist omegablast2002@yahoo.com 2012-03-20 12:23:01 +00:00
  • 48e5608803 added a new method to use countershroud to create a globel shroud by targetchooser...auto=countershroud(-1/-1)creature|mybattlefield...like this.... omegablast2002@yahoo.com 2012-03-20 12:21:03 +00:00
  • 2ddf1d36da - bump android to 0.18.1 - Fix Android compilation issues: -- Fix Android API level to 9 (was incorrectly set to 11) -- remove incorrect "@override" flag wagic.the.homebrew 2012-03-20 12:18:07 +00:00
  • 57627849a0 modified font size of text in menus. Adjusted the spacing between menu items on all menus. They were a little too far apart once I modified the font size. fixed Hollowhenge Spirit techdragon.nguyen@gmail.com 2012-03-20 08:35:38 +00:00
  • 37856c7742 Removed compilation warnings Xawotihs@gmail.com 2012-03-19 19:54:17 +00:00
  • 9564250179 added targetedplayer as a who for most abilities and token reciever.. omegablast2002@yahoo.com 2012-03-18 15:57:35 +00:00
  • 0c9aa8647b Added a missing input for _tests.txt. solo81@web.de 2012-03-18 10:23:12 +00:00
  • d0ee96e1a2 + Removed Elbrus, the Binding solo81@web.de 2012-03-18 10:14:34 +00:00
  • ca7312c48c updated card lists for v0.181 techdragon.nguyen@gmail.com 2012-03-17 13:29:21 +00:00
  • 33a86f4c44 updated Version number to 0181 techdragon.nguyen@gmail.com 2012-03-16 16:50:12 +00:00
  • 10e8e8b033 fixed garruks name in card dat, it was causing a crash when he would trigger his flip omegablast2002@yahoo.com 2012-03-16 14:24:47 +00:00
  • 31c891f01c Fixed Yuan Shao (horsemanship was missing). solo81@web.de 2012-03-15 18:21:51 +00:00
  • 0b1ca551ce fixed garruks mana cost. omegablast2002@yahoo.com 2012-03-15 15:49:51 +00:00
  • 0c7a3388a2 recoded curses and a ton of other cards to be more inline with mtg rules. if it saids "target a player, do blah to all the blah in that players ZONE" then you *have* to target it. there is still some odd cases where i could not update thier code, either becuase i missed them of the support is not fully there to use targeting in thier cases. omegablast2002@yahoo.com 2012-03-15 06:20:44 +00:00
  • a497ef49c8 added support for doubling cube, recoded the curses to follow the rules better, with the exception of 1 which can not quite be supported Curse of Oblivion moved back to unsupported. added support for targeting a zone by targeting a player... any time you have targeted a player, you can access items in thier zones by using targetedpersonsZONE targetedpersonsbattlefield for example... added "targetedplayer" as a targetchooser and who. added "mycurses" targetchooser. added "targetedcurses" word variable. omegablast2002@yahoo.com 2012-03-15 06:18:08 +00:00
  • d7cef8398f Fixed Contaminated Ground. solo81@web.de 2012-03-14 22:58:48 +00:00
  • 453a7678ca Fixed Concerted Effort and Minion of Leshrac. solo81@web.de 2012-03-14 20:57:12 +00:00
  • 3f40dbc0b4 Removed crash occuring with linux .directory hidden files Xawotihs@gmail.com 2012-03-14 20:34:34 +00:00
  • 94c1236322 recoded urza's lands and of empire set to use "if then else" ability. omegablast2002@yahoo.com 2012-03-14 12:09:32 +00:00
  • 1c28ee3d4d fixed issues with "else" support in ifthen. omegablast2002@yahoo.com 2012-03-14 11:41:39 +00:00
  • 9c1fcacd1f psp comp fix. omegablast2002@yahoo.com 2012-03-14 10:52:14 +00:00
  • 2028319743 Added 222 cards based on the latest additions by Zethfox. solo81@web.de 2012-03-13 23:08:03 +00:00
  • 164f3fa340 Changed two tests so they work under the last changes. solo81@web.de 2012-03-13 18:49:23 +00:00
  • 22ca8f5043 not sure if it effects anything but i changed a letter in the includes by accident. omegablast2002@yahoo.com 2012-03-13 18:26:30 +00:00
  • ce982db6b5 this is the new rules.txt which adds the planeswalkers rules. omegablast2002@yahoo.com 2012-03-13 17:59:06 +00:00
  • 0210ecf28c ok this is the last commit but i had massive issues after chopping it all up, hopefully it doesn't hilight everything that was already commited...if it does i apologize my own patch started giving me conflicts.... im like 7 tries into commiting this part.... omegablast2002@yahoo.com 2012-03-13 17:54:24 +00:00
  • b20b75df33 this patch focuses on giving wagic a more defined turn structure. omegablast2002@yahoo.com 2012-03-13 16:48:48 +00:00
  • 39e8bd1f30 in this commit i added a creature subtype specific vector, added a couple variables for new abilities, and a sort for the creature variable to avoid the long lag out everytime we play a card or ability that needs this vector. omegablast2002@yahoo.com 2012-03-13 16:32:26 +00:00