Commit Graph

  • 97bd418aac in this commit, if we move a card from the library to the library then we were intending on placing that card on top of the library. taught ai when not to play a planeswalker, told ai to look for planeswalkers as a card type to play. fixed a crash related to tokens and cardgui..tokens dont have models.... made a 1 line change to deckveiwer that makes it usable on touch devices and improves the overall look and feel of deckveiwer.... omegablast2002@yahoo.com 2012-03-13 16:20:19 +00:00
  • eb8c0c54f1 in this commit suspend now states the amount of turns in the menutext.... made changes to some of the simple menu items, made the simple menu not draw massive horizontal and vertical poles, that look was extremely dated. omegablast2002@yahoo.com 2012-03-13 16:12:00 +00:00
  • 0a357e7eb0 first part of a series of commits, this one adds "and((" support to the various card removel abilities, tweaks targetedplayer targetchooser, and adds the following number word variables... counter{} so you can get a count of a certain counter on a card the next consist of parts using the same targetchooser method as type: power: toughness: convertedcost: followed by --- highest: lowest: followed by targetchooser blah:mybattlefield so if i want highest converted cost of creatures i control.. convertedcost:highest:creature:mybattlefield omegablast2002@yahoo.com 2012-03-13 15:35:43 +00:00
  • 0d5439fb64 aphetto valture code fixed, also updated scythe of the wreched code. omegablast2002@yahoo.com 2012-03-06 17:54:51 +00:00
  • d86ad4ce81 elder cathar code changed omegablast2002@yahoo.com 2012-03-06 12:01:38 +00:00
  • df10eb834c Updated several bugs reported in the forums punkeduard@gmail.com 2012-03-06 03:33:06 +00:00
  • 336462eecb reverted accidental change to CARDS_DIPSLAYED techdragon.nguyen@gmail.com 2012-03-01 10:31:35 +00:00
  • 7482fa811c reverted default card path to /mnt/sdcard/Wagic techdragon.nguyen@gmail.com 2012-03-01 03:41:51 +00:00
  • 15b99acdfb fixed some character encoding warnings techdragon.nguyen@gmail.com 2012-03-01 03:38:12 +00:00
  • 6124280f24 added a prefernces screen to handle media card selection on Android devices. Contains actual fix for 4297. Added a place marker to allow volume change during app. Right now it's either loud or off. There isn't a way to allow the volume to gradually go up and odwn based on the values set in settings. techdragon.nguyen@gmail.com 2012-03-01 03:24:34 +00:00
  • 8b8020134d Fixed solo81@web.de 2012-02-28 22:19:13 +00:00
  • 0b6756164a fixed bug in booster display where swiping right or pressing JGE_BTN_PRI (Square) would bring up a new set of cards to buy from. techdragon.nguyen@gmail.com 2012-02-28 14:17:19 +00:00
  • cfc0e9a6ed Fixed some bugs reported in the forums punkeduard@gmail.com 2012-02-25 15:19:06 +00:00
  • fc08b2cfa3 modified buttons for touch interfaces. The help screen has been modified to have all PSP button information removed. The layout of the buttons have been moved as has the size of the buttons. techdragon.nguyen@gmail.com 2012-02-23 16:24:06 +00:00
  • 6c6bf623ff turned off debug fps display on iOS platform. techdragon.nguyen@gmail.com 2012-02-23 16:19:22 +00:00
  • 42cdd27e0b fixed music bug for Momir and Random game types. The functions that determined if a file existed did not handle errors properly. Instead it would return an empty string which when appended to the base path would always return true. Thus a non-existent file would always be treated as if it existed. The guards I put in test for empty strings before continuing evaluation. I may have been a little judicious in the places where I put the gaurds in. We can remove the guards if it turns out we don't need them in all the places. techdragon.nguyen@gmail.com 2012-02-23 02:11:14 +00:00
  • 3d62be4549 fixed some warnings in SoundManager techdragon.nguyen@gmail.com 2012-02-22 08:46:18 +00:00
  • c55632a19b allowed for overwriting of existing zip files. The existing file needs to be removed before copying new file to existing location. Otherwise an exception is flagged and nothing is done. techdragon.nguyen@gmail.com 2012-02-22 08:37:43 +00:00
  • f9a7317904 moved game shop buttons up by five pixels. They were a little too close to the bottom of the screen techdragon.nguyen@gmail.com 2012-02-22 01:04:41 +00:00
  • cecf5f8060 fixed Android issues with new onscreen buttons. fixed some stability issue with the deck viewer. techdragon.nguyen@gmail.com 2012-02-21 12:53:11 +00:00
  • 641c4068d8 updated iOS modrules.xml techdragon.nguyen@gmail.com 2012-02-20 07:33:24 +00:00
  • 8468505f1e fixed deck name display for when "Random" player deck is chosen. techdragon.nguyen@gmail.com 2012-02-20 07:32:14 +00:00
  • 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}.... omegablast2002@yahoo.com 2012-02-19 20:05:44 +00:00
  • 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 techdragon.nguyen@gmail.com 2012-02-18 04:34:56 +00:00
  • 2a2cf70324 Fixed compilation issue with gcc Xawotihs@gmail.com 2012-02-16 20:30:53 +00:00
  • 2e65fe02fe fixed some memory leaks found in the analyzer techdragon.nguyen@gmail.com 2012-02-16 06:49:31 +00:00
  • 719fb41dc2 changed FALSE/TRUE references to true/false. I think TRUE/FALSE is a windows thing only. It is causing compilation errors on iOS. techdragon.nguyen@gmail.com 2012-02-16 06:48:51 +00:00
  • 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 punkeduard@gmail.com 2012-02-13 17:49:32 +00:00
  • 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 rodrigodemoura@gmail.com 2012-02-13 15:28:55 +00:00
  • bd1afebbea Hid Subtypes behind MTGAllCards and added a mutex to be able to use both singleton from several threads. Xawotihs@gmail.com 2012-02-12 22:20:05 +00:00
  • ebc4eb331f Removed modifications that should not have been part of my previous commit and were causing compilation problems. Xawotihs@gmail.com 2012-02-12 08:44:22 +00:00
  • 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) punkeduard@gmail.com 2012-02-12 06:10:52 +00:00
  • c38c52c6ad Refactored audio sample playback Xawotihs@gmail.com 2012-02-11 18:20:08 +00:00
  • d7c69f3281 fixed some bugs reported in the forums punkeduard@gmail.com 2012-02-11 06:15:29 +00:00
  • 84abe7c9cf Fixed compilation on linux Xawotihs@gmail.com 2012-02-08 22:00:35 +00:00
  • 85848cfe41 resolution to issue 794. Non-classic games crashed at the completion of the game. techdragon.nguyen@gmail.com 2012-02-06 09:07:37 +00:00
  • bc8ec9a065 Orcish Settlers corrected omegablast2002@yahoo.com 2012-02-06 03:20:34 +00:00
  • c11e55a8b3 kGameIconPadsize was already defined in ActionStack.cpp. Renamed constant to avoid clash with definition in ActionStack.cpp techdragon.nguyen@gmail.com 2012-02-06 01:40:22 +00:00
  • 4bd74db547 constant def got removed in r4234. readded constant to satisfy PSP build techdragon.nguyen@gmail.com 2012-02-06 01:11:22 +00:00
  • 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. techdragon.nguyen@gmail.com 2012-02-05 23:32:55 +00:00
  • dc16ba2adb i think this should fix the psp builds. Thanks to Zeth for the help on this one. techdragon.nguyen@gmail.com 2012-02-05 17:31:04 +00:00
  • 37566d148d followup fixes to psp version JSFx.cpp . Added psp JSfx.cpp to iOS project. techdragon.nguyen@gmail.com 2012-02-05 12:30:53 +00:00
  • 5c3baedf83 moved Wagic Version macros into a new header file so that iOS can use it. updated iOS port to use wagic versioning macros. techdragon.nguyen@gmail.com 2012-02-05 11:16:43 +00:00
  • 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 techdragon.nguyen@gmail.com 2012-02-05 08:21:06 +00:00
  • 2eec7f9a6d fixed calculation for magnitude. cut and paste error.. techdragon.nguyen@gmail.com 2012-02-05 03:25:59 +00:00
  • 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... Xawotihs@gmail.com 2012-02-04 23:25:58 +00:00
  • 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 techdragon.nguyen@gmail.com 2012-02-04 22:03:48 +00:00
  • 98ee0d70b5 fixed text for "Curse of Thirst" as reported by KF1 in forums. techdragon.nguyen@gmail.com 2012-02-04 21:47:42 +00:00
  • 330620db0b Fixed primitives of latest added cards, mana cost and some fixes like that punkeduard@gmail.com 2012-02-04 20:13:50 +00:00
  • c89967166e Added 8 cards based on revision4251. solo81@web.de 2012-02-04 18:50:04 +00:00
  • c296aa0374 fixed card def for Villagers of Estwald removed extra "[/card]" from mtg.txt techdragon.nguyen@gmail.com 2012-02-04 17:46:08 +00:00
  • f0ab139c1e Fix android compilation wagic.the.homebrew 2012-02-04 15:22:21 +00:00
  • b0532b8059 - Bump version number to 0.18 - Fix issue introduced in 0.17 with Immortal task wagic.the.homebrew 2012-02-04 14:28:07 +00:00
  • 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. techdragon.nguyen@gmail.com 2012-02-03 19:33:01 +00:00
  • 8b6f9d6667 fixed typo for Devouring Swarm abilities; flyng vs flying techdragon.nguyen@gmail.com 2012-02-03 19:09:58 +00:00
  • 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. techdragon.nguyen@gmail.com 2012-02-03 11:23:27 +00:00
  • 52f2435c48 elvish beserker had shroud.... omegablast2002@yahoo.com 2012-02-02 09:48:38 +00:00
  • 99ab44a20e added moverandom(tc) from(zone) to(zone) ability...example moverandom(creature[green]) from(mygraveyard) to(opponentbattlefield) example card omegablast2002@yahoo.com 2012-02-02 03:52:20 +00:00
  • 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 techdragon.nguyen@gmail.com 2012-02-02 01:10:11 +00:00
  • 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. omegablast2002@yahoo.com 2012-02-01 19:05:20 +00:00
  • 2bfc87b702 fixed a psp comp error. omegablast2002@yahoo.com 2012-02-01 18:31:37 +00:00
  • d615c412f1 tweaking amounts on shouldplay for multikicker. omegablast2002@yahoo.com 2012-02-01 13:06:59 +00:00
  • 0d223b5561 reworked some logic that was changed in last commit. omegablast2002@yahoo.com 2012-02-01 12:44:11 +00:00
  • ed30af9aab - Added DKA (120 cards). solo81@web.de 2012-02-01 10:33:19 +00:00
  • ac992675da This removes the compilation error introduced with r4237. I needed this in place to make an iOS build. techdragon.nguyen@gmail.com 2012-02-01 04:17:30 +00:00
  • 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. techdragon.nguyen@gmail.com 2012-02-01 00:38:02 +00:00
  • 9127ddaca2 minor change to the parsing of AMover "and((" subkeyword. omegablast2002@yahoo.com 2012-01-31 21:25:38 +00:00
  • 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. omegablast2002@yahoo.com 2012-01-31 20:11:03 +00:00
  • a248cb7423 added abilities=poisonshroud "you can not get poison counters" omegablast2002@yahoo.com 2012-01-31 19:41:43 +00:00
  • 81c90f0440 added this( keyword variable{ word variable } ) support omegablast2002@yahoo.com 2012-01-31 19:17:51 +00:00
  • e6775c0c1a added playerpoisoncount and opponentpoisoncount word variables...this was the easiest way to add support for the remaining cards which cared about poison counters. omegablast2002@yahoo.com 2012-01-31 18:18:56 +00:00
  • fbebcd681e added a new aihint #HINT:dontattackwith(targetchooser) which tells the ai not to use the targetible cards as attackers, this can be card names, and CD modes. omegablast2002@yahoo.com 2012-01-31 14:07:40 +00:00
  • 8241295712 this seems to resolve the trophy room loop on touch/click interfaces when you exit the deck editor and other parts of the game techdragon.nguyen@gmail.com 2012-01-31 14:07:23 +00:00
  • b138b8e97d fixed the game shop button interactions. techdragon.nguyen@gmail.com 2012-01-31 13:11:08 +00:00
  • 4762ffea87 - Fixed compilation warning in GameStateShop.cpp - Added a call to input reset after each update in the Qt frontends to avoid strange auto-keypress - Removed tutorial display in AI vs AI (test AI mode) - Commit Qt project with latest buttons files - Added a small isHuman method to the Player class Xawotihs@gmail.com 2012-01-30 21:16:33 +00:00
  • 9f1d7c211a Fixed several bug reports posted in the forum. solo81@web.de 2012-01-30 20:03:51 +00:00
  • c42ba32ae7 added new buttons for shop for New Cards and displaying the card list. techdragon.nguyen@gmail.com 2012-01-30 18:02:26 +00:00
  • fb43b9012b sync swipe motion in deck viewer act accordingly to a swipe/pan on corresponding platform (iOS vs everything else) techdragon.nguyen@gmail.com 2012-01-30 10:23:40 +00:00
  • b44f3088c2 refined button placement added SDL_CONFIG to list of conditions in which ot enable touch buttons techdragon.nguyen@gmail.com 2012-01-30 09:23:56 +00:00
  • 969e6ac5e6 added more buttons to deck editor to cover all the functionality. Need to remove the PSP directions from the slide-in menus techdragon.nguyen@gmail.com 2012-01-30 04:23:11 +00:00
  • 28be95b401 Updated Qt frontend to latest Scroll interface Xawotihs@gmail.com 2012-01-29 22:34:55 +00:00
  • 4db47dcbd6 Fixed compilation warning Xawotihs@gmail.com 2012-01-29 17:20:53 +00:00
  • 05e3c350b3 had to undo my refactoring of the menuitem classes. for some reason it broke scrolling on the opponent ai selection screens. techdragon.nguyen@gmail.com 2012-01-29 17:01:48 +00:00
  • efd72b8fd2 udpate to scroll signature from previous commit. techdragon.nguyen@gmail.com 2012-01-28 02:46:13 +00:00
  • 9faf2ffc72 reverted changes to the Scroll/OnScroll method signatures. techdragon.nguyen@gmail.com 2012-01-27 23:47:02 +00:00
  • 3079faeedd smoothed out the corners and adjusted coloring of the button generated text buttons for touch devices techdragon.nguyen@gmail.com 2012-01-27 21:53:34 +00:00
  • b9a52ab447 Fixed compilation of the Qt frontend with latest scroll changes fixed Qt project compilation with Mingw on Windows Xawotihs@gmail.com 2012-01-26 23:17:40 +00:00
  • c56d907eb5 Fixed the compilation without TOUCH_ENABLED defined. Xawotihs@gmail.com 2012-01-26 22:59:46 +00:00
  • f935da2d31 tweak to non-touch screen representation of interactive buttons techdragon.nguyen@gmail.com 2012-01-26 17:42:45 +00:00
  • a438c9135e vs 2010 update for deck editor changes as well as SDL update techdragon.nguyen@gmail.com 2012-01-26 14:54:17 +00:00
  • 85451f69ee vs 2010 update for deck editor changes as well as SDL update techdragon.nguyen@gmail.com 2012-01-26 14:54:07 +00:00
  • a2179017d4 Extended Scroll() and OnScroll() to also take in magnitude as one of its parameters. magnitude is currently used in the deck editor to figure out how many cards to rotate around per swipe as function of velocity and the number of cards displayed on the screen. fixed a compiler warning in SimplePopup in the constructor declaration ===DECK Editor changes === Added two touch buttons , one for "Sell Card", the other to switch between Deck and Collection. changed swipe Left/Right to rotate card collection; removing the previous action which was to swap between deck/collection viewing techdragon.nguyen@gmail.com 2012-01-26 13:53:03 +00:00
  • dda048c616 forgot to check in the JGE changes from previous commit techdragon.nguyen@gmail.com 2012-01-25 22:31:58 +00:00
  • a36d886dd5 Added first draft of an interactive button. Needs to handle addition of images a little better refined detailed info window for stats display removed PSP button for Touch interfaces (currently only iOS and Android) on deck selection screens to not break the core engine and reduce some more complex code, I created a new vector in the JController object. mButtons. This vector will contain all the valid buttons for a given screen. The appropriate Add/Remove methods have been updated to account for this new vector. techdragon.nguyen@gmail.com 2012-01-25 18:35:24 +00:00
  • 59fad775c8 Fixed some cards reported in the forums for more details check the topic punkeduard@gmail.com 2012-01-25 04:36:07 +00:00
  • b1cde0fae9 Updated maemo changelog Xawotihs@gmail.com 2012-01-24 23:08:06 +00:00
  • 186e0aec6b Fixed offline mode handling in file downloader with the QWidget based interface Xawotihs@gmail.com 2012-01-24 22:57:07 +00:00
  • 350b28d81f Fixed compilation warning Xawotihs@gmail.com 2012-01-23 19:37:36 +00:00
  • 519cd3bd69 refactored DeckMenuItem to be a derived class of SimpleMenuItem. Not sure why I had made them distinct. TODO: review DeckMenu and SimpleMenu to see if it would be better to have them derive from a base class rather than be distinct. techdragon.nguyen@gmail.com 2012-01-23 08:39:18 +00:00
  • 2b7cf505db fixed Cursed Monstrosity. omegablast2002@yahoo.com 2012-01-23 08:07:26 +00:00