Commit Graph

2144 Commits

Author SHA1 Message Date
drdev
09221a180e Prevent showing "Waiting for opponent..." when not actually waiting for opponent 2014-09-05 13:56:10 +00:00
drdev
67c5dedd5e Prevent game getting stuck if you try to End Turn at a time when you can't pass priority, such as while paying mana cost 2014-09-05 13:46:43 +00:00
elcnesh
1f62869b24 Fix the refactored GUI code so that games can now be played. 2014-09-04 18:08:22 +00:00
elcnesh
2d1f2dc1ae Fix the last problems related to inputs. All errors are fixed, it's time to test! 2014-09-04 10:53:00 +00:00
elcnesh
89b3395cec Completely refactor the GUI code.
All direct references to a gui have been replaced by a field, allowing dynamic GUI assignment throughout the code (necessary for eg. network play). Fixes almost all errors. Untested.
2014-09-04 09:44:31 +00:00
elcnesh
1a9b54cdd4 Update combat display code in GUI refactoring branch 2014-09-03 12:21:24 +00:00
elcnesh
608cae2572 Refactor GameLog in new GUI code. 2014-09-03 10:47:51 +00:00
elcnesh
b40c999cce Remove a lot of (now deprecated) GUI code. Removes almost all warnings from the desktop code. 2014-09-03 09:49:50 +00:00
elcnesh
af494b13b0 More GUI code refactoring. Fixes all errors in forge-gui-desktop! 2014-09-03 08:38:38 +00:00
elcnesh
01c2648555 Add views to GUI refactoring, and update some more code. 2014-09-02 10:37:11 +00:00
elcnesh
e4f6c7cb5d Branch GUI refactoring.
Most of the code has been converted, but some problems remain (mostly with Inputs). Nothing has been tested yet.
2014-09-02 08:29:19 +00:00
drdev
95fd905c5a Avoid needing to show Commander effect black rectangle in command zone
Make it so when Commander effect needs to be displayed (such as for confirmation dialog for replacement effect), the commander's name and image are used
2014-09-01 18:02:47 +00:00
drdev
4160e78d39 Support actually starting a Momir Basic game and lay the groundwork for other game types with auto-generated decks 2014-09-01 02:58:58 +00:00
drdev
9b24119eab Make it so mana pool is shown if you prompted to pay mana after floating mana 2014-08-30 22:14:49 +00:00
drdev
16c140c7ad Prevent abilities being put on the Undo stack if not activated by Gui player 2014-08-30 21:11:16 +00:00
drdev
0e6b4c2046 Support auto-targeting single target for triggered abilities 2014-08-30 20:57:53 +00:00
Krazy
4c815e8c5a Fixed the previous fix to not decrement the active draft (if any). 2014-08-28 21:56:05 +00:00
Krazy
6db8531c1e Fixed quest draft age not getting decremented at all, resulting in infinite tournament availability. 2014-08-28 21:52:10 +00:00
drdev
acf3aa6693 Make it so "target opponent" cards auto-target your opponent when playing 1v1. 2014-08-25 22:23:38 +00:00
drdev
efa6b60b47 Fix so Android app is fully closed when exiting 2014-08-24 18:06:26 +00:00
rikimbo
32cac7b12c Changed the "First Mulligan is Free" quest item logic so that the sequence of mulligans is 7-7-6-5-4-3-2-1 instead of 7-7-5-4-3-2-1. 2014-08-23 21:28:47 +00:00
drdev
cc8e3f41f6 Change download directory for apk file 2014-08-23 19:19:39 +00:00
drdev
bef9d66ffe Add support for testing network connection 2014-08-23 01:45:24 +00:00
drdev
da54f86aca Prevent spell shop crash when items bought or sold 2014-08-22 05:18:09 +00:00
drdev
1b26d6677b Ensure creatures that must attack do so even if you End Turn before combat 2014-08-22 04:23:22 +00:00
drdev
d0dae3d7f8 Fix typo 2014-08-22 00:38:08 +00:00
Krazy
3f35cb25c3 Temporary fix for multiple search terms being treated as one. 2014-08-19 21:24:36 +00:00
elcnesh
ce97950c8e Display changed text in abilities with strikethrough, and move the display code. 2014-08-18 15:03:59 +00:00
elcnesh
f51e767e6b Fix possible NPE in having a player select from a list. 2014-08-18 13:05:08 +00:00
Krazy
08ab364c4e Fix to respect inverting filters. 2014-08-16 15:18:00 +00:00
drdev
674d4486d2 Code cleanup 2014-08-16 14:27:46 +00:00
drdev
38f8511967 Fix so searching type, text, and mana cost work properly 2014-08-16 14:27:06 +00:00
rikimbo
ef16001fe8 Theme deck files now support indicating which set a card is to be drawn from using the usual "CardName|SetCode" syntax. The suffix can also be added to the BasicLandPercentage line to indicate the set that basic lands are to be drawn from. Eg. "basicLandPercentage=16|M10" 2014-08-16 14:21:56 +00:00
drdev
9c4579b2b1 Code cleanup 2014-08-16 14:16:12 +00:00
drdev
04b414b744 Code cleanup 2014-08-16 14:15:21 +00:00
drdev
846fdc0fb3 Add Auto-Yields dialog and support for temporarily disable all auto-yields 2014-08-15 02:43:58 +00:00
Krazy
b7fba9d64c Fixed a compiler error. 2014-08-14 02:45:30 +00:00
Krazy
e4c78160fb Removed more debugging code. 2014-08-13 03:49:56 +00:00
Krazy
db68cb4b3b Removed debugging code and fixed method signature. 2014-08-13 03:42:04 +00:00
Krazy
d54b421c87 Rewrote boolean expression parsing and added a NOT operator. Also updated CHANGES.txt to reflect this. 2014-08-13 03:40:51 +00:00
Krazy
5600929506 Added preferences for customizing draft availability in quests. 2014-08-13 01:22:00 +00:00
drdev
eb3f668410 Support auto-yielding to abilities on the stack 2014-08-12 01:37:03 +00:00
drdev
131943f4c0 Prevent yielding until end of turn message remaining after pressing Cancel 2014-08-10 06:13:26 +00:00
drdev
7a91e31f8a Fix so game doesn't skip over phases with stops too quickly after using End Turn 2014-08-10 05:25:42 +00:00
drdev
4250459eca Support canceling End Turn 2014-08-10 05:19:45 +00:00
drdev
e2fca5c020 After ending turn, pause briefly while things on the stack resolve 2014-08-10 04:27:05 +00:00
drdev
7d77e2007c Make end turn button meet player's expectations by skipping the attack phase and not requiring you to respond to triggers 2014-08-10 04:19:54 +00:00
drdev
3f6c4a2b75 Fix suffix for reveal dialog titles 2014-08-10 04:01:11 +00:00
drdev
c155c7f0f5 Disable buttons and clear prompt at the beginning and end of each game
Disable buttons and show "Waiting for opponent..." in prompt if more than a quarter second passes between inputs
2014-08-10 03:45:08 +00:00
drdev
3c285382e2 Code cleanup 2014-08-09 18:51:25 +00:00