Commit Graph

  • cabd82e736 there was a set of bad chars infront of the grade in unsupported.txt that was causing it to load the cards. omegablast2002@yahoo.com 2011-09-09 17:28:39 +00:00
  • 1fefc33777 removed a compile error, variables that were unreferenced. small add with big impact: added the useage of castrestriction on triggers and activated abilities. this can be used to create such cards as library of alexandria. {t}:draw:1 restriction{type(*|myhand)~equalto~7} and replace instances were we were putting false triggers on the stack from abilities which contained nested aslongas... meaning cards like epic struggle, won't need to be triggered every turn even if you have no creatures... for epic struggle here is an example of how to replace it @each myupkeep restriction{type(creature|mybattlefield)~morethan~19}:wingame controller any of the current cast and other restrictions can be used. this includes turn:1 <===and various others such as phase based checking. syntax is restriction{ whatever casting/other restriction you want } a nice quality of life fix for false triggers (which don't mean theyre incorrect, just annoying when they trigger when they will do nothing) another example would be the triggers on cards like skullcage. auto=@each opponent upkeep:aslongas(*|opponenthand) damage:2 opponent >4 auto=@each opponent upkeep:aslongas(*|opponenthand) damage:2 opponent <3 becomes auto=@each opponent upkeep restriction{type(*|opponenthand)~morethan~4}:damage:2 opponent auto=@each opponent upkeep restriction{type(*|opponenthand)~lessthan~3}:damage:2 opponent omegablast2002@yahoo.com 2011-09-09 10:34:05 +00:00
  • 4e3a1ff862 Fixed compilation problem Xawotihs 2011-09-08 20:19:01 +00:00
  • 3b073f863f Added 3 that should have been part of my last commit. solo81@web.de 2011-09-06 23:13:55 +00:00
  • c3d2b60a67 Fixed trophy card selection and scrolling with mouse and touch. Xawotihs 2011-09-06 21:08:25 +00:00
  • 98709e661e Modified the running loop to avoid consumming 100% CPU in pause on Android. Xawotihs 2011-09-06 14:03:27 +00:00
  • 95d6fa297a Corrected Mycoloth and Nantuko Cultivator. guzhenjie1@gmail.com 2011-09-06 13:47:14 +00:00
  • 361373d579 try number 2 on reinstate, i only dynamic cast Mayability once now, and use it to check against all targets, this avoids calling dynamic cast 2 times per target. omegablast2002@yahoo.com 2011-09-06 02:19:57 +00:00
  • b2c5df2cd3 Modified the touch/mouse management in the editor to simply select the touched card. I also added a binding to switch between deck and collection with an horizontal swipe. Xawotihs 2011-09-05 22:04:10 +00:00
  • fdfcaf854d changed a piece of logic back to it's original logic, the refactor in last commit broke some functionality in multitarget effects which have no test added yet. omegablast2002@yahoo.com 2011-09-05 17:40:25 +00:00
  • 5498187200 - Fix a bug making some mana abilities interruptible, introduced in r3869 - Cleaned up some code in MTGAbility.cpp The test suite passes. wagic.the.homebrew 2011-09-05 13:25:01 +00:00
  • 03e41e7c9f Shifted the touch reference to refer the middle of the key instead of the top left, now selects the touched key before using it. Xawotihs 2011-09-05 10:18:40 +00:00
  • 0b904a9af3 Simple pad is now touchable/clickable. Xawotihs 2011-09-04 23:13:22 +00:00
  • 9bdb8e7e66 Added my tablet as test device Xawotihs 2011-09-04 14:18:08 +00:00
  • 507552133d Android sound support using openSL ES. Now depends on SDK version 9. Xawotihs 2011-09-04 13:52:39 +00:00
  • 2d82e22303 Fixed a bug that prevented the mod "knights and dragons" from starting. wagic.the.homebrew 2011-09-04 13:21:10 +00:00
  • 9378e9fc9a - Fix some code that (un)luckily was compiling without error, as per my comment in issue 720 wagic.the.homebrew 2011-09-04 09:14:35 +00:00
  • ad72c0ddc3 adjusted controls for Touch interface on iOS. * Single Tap now implemented * Touch and Hold (2 secs) to pop up menu * added a pan gesture to simulate flicking up/down and left/right * removed dependency on binding keys to game for iOS devices. (perhaps extend this to all touch devices.) * flicking motion needs to be expanded to allow for smooth scrolling. Right now every flick is equivalent to going one slot up/down/left/right. techdragon.nguyen@gmail.com 2011-09-04 08:31:36 +00:00
  • df4aa9f6c2 changed gemhide sliver to a better version. thanks kevlahnota omegablast2002@yahoo.com 2011-09-04 05:42:05 +00:00
  • 42e10cd233 fixed typo in harrow. omegablast2002@yahoo.com 2011-09-04 05:31:01 +00:00
  • 33691d1f13 - Added ads support for Android - basic "message" system between JGE and java through jni - Fixed pause/resume on android/sdl wagic.the.homebrew 2011-09-04 02:45:18 +00:00
  • 269934fe1e checking the last char directly instead of using .find() omegablast2002@yahoo.com 2011-09-04 01:55:49 +00:00
  • 2183dedb04 fix for issue with profiles not loading into options from user folder. the issue was that we we're "removing a trailing "/"" even if there was no trailing slash. added a check for "/" before we chop the last letter of the directory :) omegablast2002@yahoo.com 2011-09-03 19:20:24 +00:00
  • ac01adc6b8 added a check for "if(game" to painting of currentactioncard, menuobjects can exist when no game instance is present, this fixes a crash i introduced in buying shop boosters. omegablast2002@yahoo.com 2011-09-03 16:21:41 +00:00
  • 7fac24945d added a missing "return" on offerinteruptonphase: parsing. omegablast2002@yahoo.com 2011-09-03 16:16:38 +00:00
  • 354f9788cc This stops the music when the game goes into pause, it restarts it when the game resumes. This works fine on desktop but not so good on mobile with Phonon... Xawotihs 2011-09-03 15:13:12 +00:00
  • bc3250fadc - Added 493 missing cards in unsupported.txt, removed some duplicates from unsupported that have since then been coded -- Most of the added cards are from recent sets and unhinged. - removed Cinder Seer from Borderline as it seems a more accurate version is in crappy wagic.the.homebrew 2011-09-03 09:23:41 +00:00
  • 79546bb00a Corrected Reality Spasm and Slithery Stalker. Corrected name of Oros the Avenger and Teneb the Harvester in CMD card.dat guzhenjie1@gmail.com 2011-09-02 13:18:11 +00:00
  • e296e0c381 Added 222 cards based on rev3869 (thanks to Zeth!) and months of play-testing. solo81@web.de 2011-09-01 21:06:45 +00:00
  • b8aa265523 "!= 1000" needed to be changed to enum. omegablast2002@yahoo.com 2011-09-01 20:33:17 +00:00
  • 6399917d25 changes: omegablast2002@yahoo.com 2011-09-01 20:03:26 +00:00
  • 67bbaa8f06 Corrected Hystrodon. guzhenjie1@gmail.com 2011-08-25 12:14:30 +00:00
  • 6c9558a58d updating project for iOS compatibility. techdragon.nguyen@gmail.com 2011-08-25 00:51:18 +00:00
  • 5c86fb1c92 remove unused file. Seems like it should have been removed a long time ago. like it was a misnamed file but left around and ignored techdragon.nguyen@gmail.com 2011-08-25 00:35:08 +00:00
  • d51cbfe58b Cleanup meego package description Xawotihs 2011-08-22 19:56:35 +00:00
  • 0bc6352d62 - Fix a bug with story mode not able to find (unzipped) campaigns wagic.the.homebrew 2011-08-22 12:33:39 +00:00
  • 164ca240b3 Fixed broken meego resource deployement Xawotihs 2011-08-21 21:40:28 +00:00
  • 024c30d909 Added user and system path for QT_CONFIG, added meego policy file, updated meego rules file, removed now useless Meego Res.txt file Xawotihs 2011-08-21 18:55:16 +00:00
  • cb0f2b373f - Fix a bug where JFileSystem would return duplicate results in function scanfolder (can lead to "card id collision" in the previous builds) wagic.the.homebrew 2011-08-21 12:53:57 +00:00
  • 87d60cd79e - Improper GetfileInstance calls were preventing from correctly initializing the JGEFileSystem (Todo: init earlier, prevent from calling GetfileInstance if not initialized ?) - fixed a problem with the test suite wagic.the.homebrew 2011-08-21 10:04:38 +00:00
  • 37c6b06ee0 - removed broken support for non "stored" zip files for card images wagic.the.homebrew 2011-08-21 09:43:00 +00:00
  • e27cf56fa2 - Support for Zip Filesystem. It is now possible to zip the entire Res folder ("store" method preferred, zip so that the root of the zip has ai, player, etc...) in one single file for read only. Write access is done in another folder (hardcoded to be User/ for now, can be updated depending on platforms, etc... wagic.the.homebrew 2011-08-21 09:04:59 +00:00
  • 14bd7b7a24 Corrected Galepowder Mage. guzhenjie1@gmail.com 2011-08-16 15:35:32 +00:00
  • feec26fc8e Meego harmattan packaging files Xawotihs 2011-08-15 22:04:37 +00:00
  • fc592a4ed7 Fixed difficulty settings bug introduced in r3247 Xawotihs 2011-08-15 17:32:45 +00:00
  • 2c34a88ff0 Reuse swipe code of Android with Qt, associate "swipe left" to "other cards" in the shop. Xawotihs 2011-08-14 18:13:28 +00:00
  • c188b4d104 Fixed "Werror" related compilation problems on Linux and Meego. Xawotihs 2011-08-14 18:09:02 +00:00
  • 8f1e97f8f9 Fixed compilation problem with VC2010 Xawotihs 2011-08-14 14:42:37 +00:00
  • f1b44d5330 Trophies icon usable by click/touch Xawotihs 2011-08-12 23:00:31 +00:00
  • 30f8304918 Meego harmattan support, swipe down for cancel/interrupt, swipe up for next phase/combat assignment, tap&hold for menu, deactivate refresh when windows is not active. Xawotihs 2011-08-11 22:26:07 +00:00
  • 5414cd940e Defined usage of double buttons input for PSP only, it caused some annoying exit with touch inputs Xawotihs 2011-08-11 21:56:27 +00:00
  • b2f1252e50 Corrected Puresteel Paladin. guzhenjie1@gmail.com 2011-08-11 15:44:17 +00:00
  • 88157d7c95 Fixed compilation problems in non-PSP, non-FMOD, non-Phonon cases Xawotihs 2011-08-10 20:56:51 +00:00
  • 6631452067 Fixed undefined NEW compilation problem Xawotihs 2011-08-07 20:42:35 +00:00
  • 4dd8eaadad Touch events are now handled before key events Xawotihs 2011-08-07 19:48:01 +00:00
  • 765b6b0412 - Moved Cast Restriction variables "out" of CardPrimitives (replaced with a pointer). This frees 64bytes off of CardPrimitives on Windows, I assume something similar on the PSP, which gives a result of more than 500kB freed - fix for issue 716 (text not rendered in some cases) Test suite passes wagic.the.homebrew 2011-08-07 05:05:28 +00:00
  • 9f3a42d0c6 - removed "image_name" variable from MTGCard. this should free roughly 200kB with the current amount of MTGCard objects we have. (Which counterbalances the "roughly 150kB in Introduced in CardP Primitives recently :( ) wagic.the.homebrew 2011-08-07 04:01:56 +00:00
  • 22305c2d27 Added missed subtype of Greatsword, Kite Shield and Swiftfoot Boots. guzhenjie1@gmail.com 2011-08-05 16:47:23 +00:00
  • bcfc790cda fixed a typo in the rules, it works in current tho i imagine this could have been the cause of a couple wonky problems. we created lord target chooser with "mountains" instead of "mountain"<--actual land name. omegablast2002@yahoo.com 2011-08-05 09:38:28 +00:00
  • eac5a35b43 Cleaned up my phasebar code and merged it into the overall item selection code Xawotihs 2011-08-04 05:57:10 +00:00
  • 46dfe03099 fix psp build, guiphasebar int order error. omegablast2002@yahoo.com 2011-08-03 16:27:28 +00:00
  • 5cd779094d changed it to 1.4f omegablast2002@yahoo.com 2011-08-03 14:56:12 +00:00
  • af18fb0172 Corrected mana cost of Personal Sanctuary. guzhenjie1@gmail.com 2011-08-03 13:01:03 +00:00
  • 07662b08f6 fixed a warning tried as error in MTGGamePhase... omegablast2002@yahoo.com 2011-08-03 12:25:09 +00:00
  • 56c68e799c Fixed compilation problem on VC2010 Xawotihs 2011-08-02 21:48:05 +00:00
  • 097c40149d Phase bar is now clickable/touchable and animated. Xawotihs 2011-08-01 21:26:12 +00:00
  • 32a5b7bb92 Corrected rarity of Thran Golem and Throne of Empires. guzhenjie1@gmail.com 2011-08-01 15:21:53 +00:00
  • 78efba08b1 - fix for counters slowness on psp wagic.the.homebrew 2011-07-30 14:29:12 +00:00
  • fe4b0a11e3 - JP Translation update by Shilf - put tutorials back in Rules/classic, to help debugging the bug with controls wagic.the.homebrew 2011-07-30 03:38:39 +00:00
  • 794be140ce - graphical representation of counters. see graphics/counters/quest.jpg for an example - rewrote some code dealing with text formatting for a card when rendering in text mode. I could swear my code has been reverted. If somebody has good reason to believe we should re-process the string formatting on every frame, please let me now. I believe my change can help rendering speed of text mode a lot. - counters change to vector instead of array wagic.the.homebrew 2011-07-29 17:43:45 +00:00
  • 9631171ad1 Cleanup of some Trigger code wagic.the.homebrew 2011-07-28 13:51:42 +00:00
  • 2e5222bf5d fixed an issue with @discarded...the trigger would only fire once becuase i was not passing the constructors variable for once to the object.... omegablast2002@yahoo.com 2011-07-28 11:30:37 +00:00
  • ef5e011e23 - Removed "isClone" flag. This flag was error prone. The "core" classes now have decent copy constructors, and ideally long term we should create copy constructors for the abilities that have additional pointers in them. -- The test suite passes but this is a big change. I might have introduced some memory leaks or bugs. I might have fixed some bugs, too wagic.the.homebrew 2011-07-27 14:31:27 +00:00
  • a26125ee4c readded arbor elfs ability. omegablast2002@yahoo.com 2011-07-26 17:23:01 +00:00
  • 8bb53ff12f added incrementing of "damageCount" the variable that tracks the damage dealt to a player, to "infect" damaging...this is a rules correction, a creature with "infect" still "deals damage"...it just does it differently. this fixes an issue with infect creatures not triggering "bloodthirst" ...all other cases this was working correctly, bloodthirst however checks the damageCount..... omegablast2002@yahoo.com 2011-07-26 16:56:01 +00:00
  • c1ac119af5 fixed dark depths with while tag. omegablast2002@yahoo.com 2011-07-26 16:39:50 +00:00
  • 11473e0fb5 added "while" tag to this's i added it to lords a while ago to fix a similar issue where the lords were taking on the "oneshot" variable of their abilities in cases where you really didn't want them too... its basically an over ride.... omegablast2002@yahoo.com 2011-07-26 16:39:12 +00:00
  • 1f049bdd0c caribou range fixed...typo in the cost...please test cards before adding them, it is very obvious that cards are being added without so much as testing their abilities when i have done 6 typo fixes since release...typos that deemed the card completely un-usable...such as caribou range which would sacrifice the enchantment if you wanted to gain a life. omegablast2002@yahoo.com 2011-07-26 15:29:02 +00:00
  • 8c99022deb corrected fresh meat, tho it still has a problem...currently we don't keep a count of token creatures that went to the grave...i might look into it later on, tho very very very few cards actually care about this....so if it requires too much code impact, then it will remain simply counting the cards which exist in the grave. omegablast2002@yahoo.com 2011-07-26 15:22:42 +00:00
  • c52b8b6983 Reveillark fix...since apparently everyone is reporting this.... if you are going to use the trigger + ability from trigger effect...make sure you create the trigger before you remove the card from play...otherwise the trigger never gets a chance to see it's source leaving play. omegablast2002@yahoo.com 2011-07-26 15:14:37 +00:00
  • 72d91769d7 safe-ing up some of the getEff checks...i think the rare "trample" crash was actually caused by a check against a "player" as getnextopponent().... omegablast2002@yahoo.com 2011-07-23 11:42:59 +00:00
  • 42d2ff8661 removed a typo in "dark depths" omegablast2002@yahoo.com 2011-07-23 11:14:45 +00:00
  • 691914247f updated the kicker workaround into real support...kicker workaround for "if casted" should not be needed any longer... fixed binding grasp text. omegablast2002@yahoo.com 2011-07-23 10:37:27 +00:00
  • 444d13b457 added an "ifnot|if then" ability, with the option to turn on kicker payment menu choice, it created issue with the cards which were using the "kicker" workaround to show that a card was cast... the ability checks against any of the current cast restriction checks and is written in the following syntax example phaige the untouchable is auto=ifnot casted(this) then wingame opponent if|ifnot condiation then ability this can also be used in && abilities such as this card pulse of the grid auto=draw:2 && target(*|myhand) reject && if type(*|opponenthand)~morethan~type(*|myhand) then moveto(myhand) all(this) omegablast2002@yahoo.com 2011-07-23 10:36:03 +00:00
  • bd1c31b6f9 moved the parsing of cast restriction into abilityfactory and out of mtgability...this is so new abilities can take adventage of these checks through the use of AbilityFactory af. omegablast2002@yahoo.com 2011-07-23 09:03:33 +00:00
  • 48fe3251ce Corrected a typo of Goblin Tunneler. guzhenjie1@gmail.com 2011-07-22 16:28:29 +00:00
  • 41474ae6f7 Corrected a typo of Maelstrom Djinn. Corrected three typo and added two missed cards in M12 card.dat. guzhenjie1@gmail.com 2011-07-22 14:38:16 +00:00
  • 59b7432e74 Fixed builds broken in r3807 Xawotihs 2011-07-21 19:44:52 +00:00
  • 49944b629d Commit the 0.16.0 version without tutorials activated Xawotihs 2011-07-20 20:28:44 +00:00
  • e080b59db9 fixed the bringers of dawn...fixed avatar of fury... omegablast2002@yahoo.com 2011-07-20 18:41:37 +00:00
  • e8b8079ef6 fixed a bug where you could equip opponents creatures with your equipment, it is quite possible that we have *always* been able too but no one has actually tried. anyways "myBattlefield" does not compare to "mybattlefield"... i seriously think we devs should consider making all ability coding required lowercase. not card names and text, but coding such as targetchoosers "thisForEach(creature[Black;White]|myBattlefield) moveto(myGraveYard) ...<---this is not uniform...and leads to people using such coding in the source ....i think i suggested this once and was instantly shot down...however, this is the 2nd instance where a bug has arose from the comparing of capitalized vs lower case..becuase we all assume that every line is going to be dropped to lower case as the game reads them..... omegablast2002@yahoo.com 2011-07-20 17:17:52 +00:00
  • ace236e6a3 Improved maemo upgrade scripts and added 0.16.0 maemo release description Xawotihs 2011-07-19 21:32:56 +00:00
  • e09fe7570e Fixed Phonon sound support. Xawotihs 2011-07-19 21:28:46 +00:00
  • 262c31b708 fixed fresh meat, and umbral mantle omegablast2002@yahoo.com 2011-07-18 13:14:52 +00:00
  • 188a88a621 Readded a reference to zlib needed on unix. Xawotihs 2011-07-17 20:51:59 +00:00
  • 9dccc885d6 Updated the Qt project to work on Desktop/Maemo/Meego/Symbian. Removed all dependencies except Qt and OpenGl. Xawotihs 2011-07-17 18:18:17 +00:00
  • d81afa93c5 Corrected Giant Shark. solo81@web.de 2011-07-15 13:24:40 +00:00
  • c2879b0b6e Fixed a selection problem sometimes hapenning on the hand zone in touch/mouse mode and removed dead code. Xawotihs 2011-07-14 21:21:24 +00:00
  • 9f80620f0a Corrected Sky Swallower. guzhenjie1@gmail.com 2011-07-14 14:12:11 +00:00
  • 8c79e0644c Fix memory leak in ATransforms ability - Blame is on me for the bad design behind the "isClone" flag, I need to get rid of that flag in the long term. wagic.the.homebrew 2011-07-14 13:49:46 +00:00