Commit Graph

17281 Commits

Author SHA1 Message Date
Doublestrike
bdb993c613 Draft "save" dialog improvements:
- Added functionality to "cancel" button
- Added yes/no confirm to overwrite cases
- A bit o' checkstyle
2012-10-21 08:27:30 +00:00
Maxmtg
e67680a0a5 17605 fixed, 609 617-618 2012-10-21 08:21:34 +00:00
Doublestrike
78280435b3 Bugfix: "Remove 4" button in Limited deck editor actually removed 8. 2012-10-21 06:59:44 +00:00
Sloth
dce6af06e6 - Added the quest opponent Nelson Muntz 2 (thanks to edessa). 2012-10-21 06:50:01 +00:00
Doublestrike
604cceaa7c Re-enabled "Add 4", "Remove", "Remove 4" buttons in Limited mode card editors.
Removed "save" and "print proxies" button in Limited mode card editors.
2012-10-21 06:27:35 +00:00
Sloth
e865f1fabd - Fixed description of Flameshot. 2012-10-21 06:21:59 +00:00
Doublestrike
cc5a3cdd00 Checkstyle. 2012-10-21 06:14:13 +00:00
Doublestrike
32c94ca11b Bugfix: Editor card panel looking for color from nonexistent game state.
Also checkstyle updates to Card.java.
2012-10-21 06:07:47 +00:00
Doublestrike
a928f6be67 Targeting overlay isn't maturing as I'd hoped. It's now disabled until further notice. Code will remain in place if someone wants to tackle it. 2012-10-21 05:50:01 +00:00
Doublestrike
2df878d1d2 Targeting overlay mouseover state preferences and dock button enabled.
Its mechanics still need some work.
2012-10-21 05:36:31 +00:00
Maxmtg
33b4e61135 Rollback of 17605 that broke everything 2012-10-20 22:20:25 +00:00
Sol
ca352b21d7 - Fixed Tarzan Description. Advertised as WR, but really is GR. 2012-10-20 21:38:47 +00:00
Maxmtg
e616eae145 Moved card and player cleanup routines to repective classes
renamed isNeedToNextPhase => !mayPlayerHavePriority (would let understand the code better)
@inputControl: setInputInterrupt and setInput add to resolveStack and common Stack
@inputControl: updateInput => getActualInput
2012-10-20 21:20:36 +00:00
Sol
b0f13fe369 - Fix ante checking for a match win instead of last game win. 2012-10-20 21:14:48 +00:00
Sol
a74801d840 - Sands of Time needs this update 2012-10-20 20:01:40 +00:00
Maxmtg
523655f926 Phase indicators are properly lit when attack/defend cast instants phase begins
computer should not recieve priority before mulligan
2012-10-20 19:42:14 +00:00
Sloth
87d57d24aa - Fixed getSpellCostChange. 2012-10-20 18:10:42 +00:00
Maxmtg
2960202941 games against several AIs can be started now - yet extra AI players cannot be attacked and don't act (though they recieve turns) 2012-10-20 17:11:46 +00:00
Maxmtg
2bee6e1ec9 fixing restart issue and hand crash 2012-10-20 16:10:17 +00:00
Maxmtg
451642d830 remove unused var, type casting 2012-10-20 16:04:45 +00:00
Sol
757a587dcc - Converted Eon Hub and Gibbering Descent into Keyword 2012-10-20 14:54:23 +00:00
Maxmtg
dc817b2452 Avatars on match UI are somewhat working (will take human's icon for every even-numbered player and ai's for odd ones) 2012-10-20 14:46:52 +00:00
Sol
73665ae28b - Added Sands of Time 2012-10-20 14:35:32 +00:00
Sol
a4e9da67b4 - Converted Stasis to Keyword
- Simplify Yosei a touch
2012-10-20 14:03:52 +00:00
Maxmtg
5f34ce6595 IVDoc parametrized so that getLayoutControl method returns a object or right type, won't have to cast from ICDoc 2012-10-20 13:46:20 +00:00
Maxmtg
b0e7d92dea Turn counting removed from GameState (cause phaseHandler already did it)
Inlined some static methods called from phaseHandler
PhaseType: index is not a field, yet the order is set by a list initialized statically
GetLabelForPhase - moved to VField from PhaseUtil
Game has a method to determine the next player who takes turn/priority after the given one.
2012-10-20 12:29:48 +00:00
Sloth
bf1f64d8f2 - Improved AI dealing with Measure of Wickedness. 2012-10-20 11:15:41 +00:00
Sloth
72ee70e4c5 - Added Book Burning, Breaking Point and Browbeat. 2012-10-20 11:12:37 +00:00
Sloth
b1de033f47 - Added Multiplayer support for unless costs (but not multiple humans yet).
- Added "Any Player" support to unless costs.
- Added Rhystic Tutor.
2012-10-20 10:53:10 +00:00
Chris
dbe930b795 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-10-20 10:45:56 +00:00
Sloth
e0d4b55ee6 - Added Wicked Akuba. 2012-10-20 09:06:32 +00:00
Maxmtg
b5b1bca123 If player decides to draw, turn is given to his opponent 2012-10-20 06:57:55 +00:00
Maxmtg
df946206ba passes GameState to phaseHandler, moved player related static calls to player/Player.java 2012-10-20 00:02:57 +00:00
Maxmtg
e7983cf9e1 getGameState => getGame
Stack zone uses its own class Zone (which has no owner obv.)
2012-10-19 23:55:27 +00:00
Maxmtg
1f38a60e4b AllZone is gone. Its members moved to Fmodel while colorchanger went to GameState 2012-10-19 22:58:41 +00:00
Maxmtg
c92faa2d87 1. MatchController contains inputControl, subscribes listeners to event by itself
2. most of AllZone methods static moved into instances, consider retrieving frequently used values into class fields or local variables
2012-10-19 22:39:09 +00:00
Sloth
9ed4b92dc7 - Added Rotting Giant. 2012-10-19 21:12:28 +00:00
Sloth
97245e358f - Improvements and cleanup in AF DealDamage AI functions. 2012-10-19 16:02:48 +00:00
Sloth
04d5d38068 - Angel of Serenity will no longer produce a crash when the AI wants to cast it. 2012-10-19 15:34:54 +00:00
Sloth
716818b6ed - Added Grip of Amnesia. 2012-10-19 11:46:33 +00:00
Chris
949c66cc1d - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-10-19 11:30:51 +00:00
Maxmtg
9a4fef8103 fixed crash at end of quest match 2012-10-19 07:13:43 +00:00
RumbleBBU
44ffb095ee You now get the option to unlock new sets after every 50 wins, not 100. 2012-10-19 05:44:25 +00:00
RumbleBBU
a5bff34e2d The enforced format, if any, now also determines whether your quest starting cardpool contains snow-lands or not. 2012-10-19 05:39:25 +00:00
Sloth
981cf18a58 - Added the option of exiling all cards in a zone as a cost. 2012-10-18 21:59:33 +00:00
Sloth
948bf41aa6 - The AI will attack a little more aggressively with creatures with a SacMe SVar. 2012-10-18 20:32:37 +00:00
Sloth
eee12a63f2 - The AI will now try to avoid letting the human discard cards like Loxodon Smiter. 2012-10-18 17:47:17 +00:00
Sloth
03a95d04cd - Added Glittering Lynx and Glittering Lion. 2012-10-18 15:51:58 +00:00
Maxmtg
da1e300ab0 GetGameLog inlined 2012-10-18 15:30:39 +00:00
Maxmtg
a2cf0d29d5 A huge amount of AllZone static methods was inlined (so that people see how many calls really are there behind AllZone.getXXX, and consider obtaining (for example) GameState value to a local variable) 2012-10-18 14:25:41 +00:00