Commit Graph

4918 Commits

Author SHA1 Message Date
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
omegablast2002@yahoo.com e6775c0c1a added playerpoisoncount and opponentpoisoncount word variables...this was the easiest way to add support for the remaining cards which cared about poison counters. 2012-01-31 18:18:56 +00:00
omegablast2002@yahoo.com 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.

modified the way ai handles multikicker. it will not be casting 1/1 joragas anymore :D

made WParsedInt ignore "+" signs....

added a new affinity ability...autohand=affinity(creature[vampire]|mygraveyard) ....
this is essentially affinity for creatures in your grave.

added supkeyword to clone clone addtype(zombie)....it adds the type listed to the cards types on clone...

reparse PT bonus on resolve.

reworked bushido, it should now work correctly...aside from that it now excepts word variables...fumiko is now bushido(type:creature[attacking]:battlefield/type:creature[attacking]:battlefield)

added a keyword to access acontrolsteal..the keyword is "steal"
auto=ueot steal target(creature) 

reworked persist to handle undying..added the new counter handling rules intruduced by wotc in ISD


added a vector cardsAbilities to mtgcardinstance...this keeps the abilities added to the game for a card to use stored where we can easly alter or remove them.

added an automatic increase to geteff return if the ability is a putinplay ability.

finished coding support for flip and double sided cards, though viewing the "other side" is still not possible yet.
the ability follows the mtg rules.
the ability syntax is flip(card name)...a card can flip into any other card by name...even flip into itself.

added a "canPay() call for Ninja cost...to prevent it from coming up in a menu unless you're in blockers....

added 3 new restriction types that work very similar to type(
thisturn(tc)~morethan~2
lastturn(tc)~lessthan~thisturn(tc)
compare(wordvarible)~equalto~compare(wordvarible)

these are pretty self explanitory.

moved "&&" ability parsing below "this(" allowing "this(" to grant abilities now which contain &&...enclave egologist bug is fixed by this.

fixed an issue with combatspirit link for some reason the way i was doing the bool was not always working.

took care of the todo for AProtectionFrom...you can now give a protection from(blah) in a instant or ueot ability.

added altho very limited right now a "targetedplayer" tc word. i hope to increase this with time.

as always my sidekick doc already has some cards coded for this and test will follow the addition of the cards.
2012-01-31 14:07:40 +00:00
techdragon.nguyen@gmail.com b138b8e97d fixed the game shop button interactions. 2012-01-31 13:11:08 +00:00
Xawotihs@gmail.com 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
2012-01-30 21:16:33 +00:00
solo81@web.de 9f1d7c211a Fixed several bug reports posted in the forum. 2012-01-30 20:03:51 +00:00
techdragon.nguyen@gmail.com c42ba32ae7 added new buttons for shop for New Cards and displaying the card list. 2012-01-30 18:02:26 +00:00
techdragon.nguyen@gmail.com fb43b9012b sync swipe motion in deck viewer act accordingly to a swipe/pan on corresponding platform (iOS vs everything else) 2012-01-30 10:23:40 +00:00
techdragon.nguyen@gmail.com b44f3088c2 refined button placement
added SDL_CONFIG to list of conditions in which ot enable touch buttons
2012-01-30 09:23:56 +00:00
techdragon.nguyen@gmail.com 969e6ac5e6 added more buttons to deck editor to cover all the functionality. Need to remove the PSP directions from the slide-in menus 2012-01-30 04:23:11 +00:00
Xawotihs@gmail.com 4db47dcbd6 Fixed compilation warning 2012-01-29 17:20:53 +00:00
techdragon.nguyen@gmail.com 05e3c350b3 had to undo my refactoring of the menuitem classes. for some reason it broke scrolling on the opponent ai selection screens. 2012-01-29 17:01:48 +00:00
techdragon.nguyen@gmail.com 9faf2ffc72 reverted changes to the Scroll/OnScroll method signatures. 2012-01-27 23:47:02 +00:00
techdragon.nguyen@gmail.com 3079faeedd smoothed out the corners and adjusted coloring of the button generated text buttons for touch devices 2012-01-27 21:53:34 +00:00
Xawotihs@gmail.com b9a52ab447 Fixed compilation of the Qt frontend with latest scroll changes
fixed Qt project compilation with Mingw on Windows
2012-01-26 23:17:40 +00:00
Xawotihs@gmail.com c56d907eb5 Fixed the compilation without TOUCH_ENABLED defined. 2012-01-26 22:59:46 +00:00
techdragon.nguyen@gmail.com f935da2d31 tweak to non-touch screen representation of interactive buttons 2012-01-26 17:42:45 +00:00
techdragon.nguyen@gmail.com 85451f69ee vs 2010 update for deck editor changes as well as SDL update 2012-01-26 14:54:07 +00:00
techdragon.nguyen@gmail.com 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

Note: GameStateDeckViewer isn't a JGuiController so can't leverage off the mButtons vector.  Thus, the buttons have to be handled by this class separately. (setButtonState, userPressedButton)
2012-01-26 13:53:03 +00:00
techdragon.nguyen@gmail.com 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.
2012-01-25 18:35:24 +00:00
punkeduard@gmail.com 59fad775c8 Fixed some cards reported in the forums
for more details check the topic 



http://wololo.net/forum/viewtopic.php?f=4&t=3421&p=25240#p25240
2012-01-25 04:36:07 +00:00
Xawotihs@gmail.com b1cde0fae9 Updated maemo changelog 2012-01-24 23:08:06 +00:00
Xawotihs@gmail.com 350b28d81f Fixed compilation warning 2012-01-23 19:37:36 +00:00
techdragon.nguyen@gmail.com 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.
2012-01-23 08:39:18 +00:00
omegablast2002@yahoo.com 2b7cf505db fixed Cursed Monstrosity. 2012-01-23 08:07:26 +00:00
Xawotihs@gmail.com 4929b84ce4 Update for meego release 2012-01-22 22:46:38 +00:00
omegablast2002@yahoo.com bccb871770 fixed a couple minor card code errors reported on forum. 2012-01-22 16:49:08 +00:00
Xawotihs@gmail.com 14962385b6 Maemo application cleanup and final merge 2012-01-22 10:39:16 +00:00
omegablast2002@yahoo.com 98bed484f4 fixed various card codes reported errors in bug section. 2012-01-20 12:12:12 +00:00
techdragon.nguyen@gmail.com 8dd5fe535e modified resource packager to create the modrules.xml file for iOS port
updated app delegate to download both the core and core_ios file.  Still have the version number hard coded into the app.
2012-01-19 03:38:07 +00:00
omegablast2002@yahoo.com 2af19e7c73 fixed Cyclops Gladiator types...he is not a gaint or a gladiator, he is a cyclops warrior 2012-01-17 13:03:30 +00:00
omegablast2002@yahoo.com fe6d7a6610 changed name=Kessig Wolf Run
code.
2012-01-16 21:09:41 +00:00
Xawotihs 12a431ff8c - Merged QWidget and QML Qt frontends, just define QT_WIDGET to select the QWidget one
- Coded a resource package download GUI based on QWidget
- Removed compilation warning on unused variable
- Updated Maemo desktop file to start directly the binary
- Updated .pro file
- Updated version macros to be able to compose the resource package file
- Updated QML interface for Android
- Updated QML interface to not contain the name of the resource package
- Updated the file downloader class to be able to get the resource package hash from the google code server
- Updated the file downloaded class to verify the resource package hash from the remote server at each startup to be able to perform automatic update
- Defined several JGE operation as static to clean up the wagic wrapper
2012-01-15 18:50:38 +00:00
Xawotihs 9d99309b13 Changed the resource package creation script to use "STORED" instead "DEFLATED" to work around our zip problems 2012-01-14 16:04:38 +00:00
Xawotihs a480cf2e66 Extracted Wagic versioning information so that they can be used outside of GameStateMenu.cpp 2012-01-14 12:18:16 +00:00
wagic.the.homebrew 87a332e3f1 - temporarily remove undo feature
- bump up version number to 0.17.1 in PSP/Windows/android
2012-01-14 08:42:03 +00:00
solo81@web.de 72be9778c8 Deleted both tests for River Kelpie. River Kelpie has been moved to crappy.txt. 2012-01-13 17:54:44 +00:00
omegablast2002@yahoo.com c145881eeb fix for "x" and alternative cost types. 2012-01-13 14:53:51 +00:00
techdragon.nguyen@gmail.com 5eec31659d fix for issue 780. Modified the three cases where hexproof was used instead of opponentshroud 2012-01-13 08:36:28 +00:00
techdragon.nguyen@gmail.com 00fbbae668 reverted change for r4189, as it broke functionality in codebase 2012-01-13 08:34:53 +00:00
solo81@web.de 61e39b23aa Moved River Kelpie from primitives.txt to crappy.txt.
The issues we have with River Kelpie are not solvable without a layers system.
2012-01-12 20:46:00 +00:00
solo81@web.de 0cf2e1f5c3 Fixed Lumberknot.
Fixed issue719.

Fixed issue760.

Fixed issue779.

Moved Harmonic Sliver due to a bug report back to unsupported.txt. For now, the problems occuring when playing with Harmonic Sliver are not fixable.
2012-01-12 19:57:24 +00:00
omegablast2002@yahoo.com 993612eee2 added hexproof abilities= word to point to opponentshroud, both words are now usable. 2012-01-12 14:52:00 +00:00
Xawotihs cb7f3b070f Fixed a problem when running the multithreaded testsuite with sound. 2012-01-11 20:13:24 +00:00
omegablast2002@yahoo.com f388414f3f if we have no target we are milling the sources controller in mill cost. 2012-01-11 17:20:55 +00:00