Maxmtg
0a33b93903
Added syncPoint between a moment when Game thread adds input to stack and EDT->showMessage, to ensure Game thread's changes happen-before whatever EDT will read
...
input/InputAttack.java is initialized with combat instead of game (cosmtic change though)
CMatchUI stopAtPhase will use an existing method to get the needed checkBox
2013-05-29 18:41:04 +00:00
Maxmtg
f939aa13a5
inlined visuallyActivatePhase
2013-05-29 17:23:57 +00:00
Maxmtg
6be13bcf30
another check for gameover
...
moved isUiSet... to derived class of PlayerController
2013-05-29 15:03:11 +00:00
Maxmtg
066d45fbc3
Lang lib tries to determine correct article for nouns
2013-05-29 14:44:25 +00:00
Maxmtg
d733ddc7c7
removed code for 'NextUpkeep' because no cards left that use it
2013-05-29 14:31:38 +00:00
Maxmtg
3e7d885b3c
fixed imports and typo
2013-05-29 13:42:59 +00:00
Maxmtg
8ac2367468
move inputs to forge.gui.input
...
DrawEffect.java - removed isHuman, fixed description using Lang library
2013-05-29 13:40:42 +00:00
Maxmtg
40a8f66b52
Mass renamed classes: GameState -> Game, MatchController (aka MatchState) -> Match
2013-05-29 12:54:24 +00:00
Maxmtg
85fe60c458
match cleanup
2013-05-29 12:51:18 +00:00
Maxmtg
4cbe3237af
Applied visitor to FControl loop.
...
put 'give priority' on top of game loop, so that we never give anyone priority if game is over
2013-05-29 12:36:23 +00:00
Maxmtg
7612d5b6e6
cleanup sound
2013-05-29 12:09:12 +00:00
Maxmtg
557a50be37
Sound - uses visitor pattern now
2013-05-29 12:01:49 +00:00
Maxmtg
81c98d6000
Encapsulated game.getEvents into game - now fireEvent and subscribe methods are visible
2013-05-29 11:23:43 +00:00
Maxmtg
f82e39df9c
missing file
2013-05-29 11:12:54 +00:00
Maxmtg
4f2da5e24b
Applied visitor patter to GameEvents - this is aimed to remove switches on (instanceof event) in event consumers (log, fcontrol, sound)
2013-05-29 10:56:15 +00:00
Sloth
470986db37
- Added Forcefield.
2013-05-29 10:53:21 +00:00
Maxmtg
949764938a
All game.event.* named in a single fashion, more changes to come
2013-05-29 10:43:09 +00:00
Sloth
8ccb4f8f6a
- Fixed a possible NPE caused by BecomesBlockedEffect.
2013-05-29 10:34:41 +00:00
Maxmtg
b3482d901d
CombatUtil.showCombat no longer needs parameter, its body is invoked only from EDT.
...
InputBlock.java accepts now Combat as 2nd paramter
Main phases were given better UI names
2013-05-29 10:33:58 +00:00
Maxmtg
c9450c16f7
A propper implementation of Rule 514 - Cleanup phase
2013-05-29 10:00:54 +00:00
Maxmtg
01c1c41e43
PhaseHandler cleanup, solving problems with delayed triggers already added to simultaneous stack but not yet ordered
2013-05-29 09:29:50 +00:00
moomarc
4d34b23a02
- Added Tunnel Vision
2013-05-29 09:15:13 +00:00
moomarc
4f43579c20
- Added a button to dev mode console to make the current player planeswalk to a specified plane, even if it isn't in their planar deck. Should make life easier for testing new planes.
2013-05-29 07:47:01 +00:00
Agetian
716a5d33e1
- Targeting Overlay: targeting arrows will now be shown for equipments equipping permanents currently under opponent's control (for those rare cases when e.g. an equipped creature gets Switcheroo'd for something else).
2013-05-29 07:00:19 +00:00
RedDeckWins
8655ffd151
Slowtrips finally slayed.
2013-05-29 05:11:59 +00:00
swordshine
4e01887c56
- Added Radiate
2013-05-29 00:58:01 +00:00
Maxmtg
c2df1c4238
Arranged code for better implementation of Karn's Ultimate
2013-05-28 17:50:16 +00:00
Maxmtg
d58b922009
a more precise revision
2013-05-28 15:38:51 +00:00
Maxmtg
2b007767af
chooseOrderOfSimultaneousStackEntryAll() at end of MagicStack.add()
2013-05-28 15:29:24 +00:00
Maxmtg
d047963106
It just crashed there, although it should n't have even arrived there
2013-05-28 15:28:36 +00:00
Maxmtg
226f2e90a9
Won't send to log empty entries
2013-05-28 15:27:59 +00:00
Maxmtg
a211222b3e
renamed PayMana* classes,
...
pulled some code up from InputSyncronizedBase to InputBase.java
mulligan method known as startGame
routed selectCard call via InputProxy
2013-05-28 15:06:10 +00:00
Maxmtg
c58bb4b130
PlayerStartConditions renamed to RegisteredPlayer, lobbyPlayer added as a field
...
MatchState now starts with list of RegisteredPlayers, not a list of tuples
2013-05-28 14:32:38 +00:00
Maxmtg
9d989137e8
+ phase names for scripts
...
+ trying to collect used threads
2013-05-28 13:45:21 +00:00
Maxmtg
2ce74d2742
debug output hidden under a "private final static boolean"
2013-05-28 13:09:24 +00:00
Maxmtg
6ba681719f
Input System: revised edition (now with white borders)
2013-05-28 12:59:00 +00:00
swordshine
bcd9c3cc51
- Added Endless Whispers
2013-05-28 12:45:34 +00:00
Sloth
70251cf50d
- AI will no longer use BecomesBlocked effects on creatures with Trample.
2013-05-28 11:19:28 +00:00
Maxmtg
176c67e105
displays assigned damage on cards
2013-05-28 08:35:13 +00:00
Maxmtg
8a1b422ca7
inputs won't hang after devMode tap/untap
2013-05-28 08:31:15 +00:00
Sloth
081879bca4
- Fixed AttackerBlocked triggers.
2013-05-28 07:34:46 +00:00
swordshine
b8bec3bd5c
- Added Thoughtbound Primoc and Wild Mammoth
2013-05-28 06:41:45 +00:00
Maxmtg
08ff96bd17
deal damage - improved stack description
2013-05-28 05:38:04 +00:00
Maxmtg
68f861db0e
remove input call won't update the input queue.
...
it will get updated anyway - by unlock for instance
2013-05-28 05:02:21 +00:00
Maxmtg
be5536d11a
made InputSyncronizedBase.stop() indifferent to the thread that it is ran from.
...
Introducing game thread concept - that might be used (or might be not) to limit threads devoted to AI thinking with one.
2013-05-28 04:37:11 +00:00
Maxmtg
f6ee680937
InputPayMana now executes only updateMessage in EDT when it's not paid
2013-05-27 18:22:25 +00:00
Maxmtg
9cdd447729
focus gain is delayed in EDT - that should set it better
2013-05-27 18:13:23 +00:00
Maxmtg
8ccfad27cc
InputPayManaBase will execute input queue unlock from the same thread that was used to activate mana ability. No showMessage() will be called.
2013-05-27 17:50:40 +00:00
Maxmtg
ac04c17995
title added to InputBlock
...
update added to inputP
2013-05-27 17:21:15 +00:00
Maxmtg
4294a68cbd
cleanup should update input
2013-05-27 16:25:26 +00:00