Commit Graph

6143 Commits

Author SHA1 Message Date
Maxmtg
f214be71bf code formatting,
client lines coloring
2013-04-14 12:34:34 +00:00
Maxmtg
0d3a727610 Changed interfaces to acquire players for lobby - human uses a single LobbyPlayer for all games.
NetClient now adds its player to lobby
2013-04-14 11:33:20 +00:00
Maxmtg
07fbc7c6a9 removed superclass for packet, interface looks better 2013-04-14 10:59:04 +00:00
Maxmtg
3eed2f993b Server instance moved to FControl,
HomeUI buttons get enabled/disabled to indicate server status
Server - clientstates form a chain of responsibility for packets processing
packets for autorization (no checks performed, used to get player's name)
2013-04-14 10:51:04 +00:00
Maxmtg
91a748cb1c CostRemoveCounter assigns cntRemoved for correct AI payment 2013-04-14 09:11:55 +00:00
Sloth
40fd711421 - Fixed AI not paying CostRemoveCounter costs. 2013-04-14 08:31:09 +00:00
Maxmtg
0f8db69b53 Start server button - hidden into devmode 2013-04-13 22:54:12 +00:00
Maxmtg
891cfd3e6b +start server button 2013-04-13 22:43:20 +00:00
Maxmtg
cac89ede5a Server incubation 2013-04-13 22:00:41 +00:00
swordshine
01d9afd089 - ChooseCardNameEffect changes for Council of the Absolute 2013-04-13 08:00:39 +00:00
Maxmtg
2dcb365841 Allow cancel for sacrifice cost payment - http://www.slightlymagic.net/forum/viewtopic.php?p=115356#p115356 2013-04-13 07:17:13 +00:00
Sloth
59f44c34f4 - Improved checkRemoveCounterCost. 2013-04-13 06:32:59 +00:00
Maxmtg
145a0ce441 fixes comodification exceptions (like http://www.slightlymagic.net/forum/viewtopic.php?p=115346#p115346 and viewtopic.php?p=114582#p114582) 2013-04-13 05:20:54 +00:00
swordshine
433809d94c - Added TriggerEvolved 2013-04-13 01:25:27 +00:00
Maxmtg
e0007dcb03 GameLossReason moved to player package, since it's individual per player and to avoid confusion with GameEndReason 2013-04-12 19:53:08 +00:00
Sloth
d6761a852c - Fixed Epic Effect's EffectZone. 2013-04-12 17:53:52 +00:00
Maxmtg
7930167469 that nice toString overload broke some cards - reverting 2013-04-12 09:09:57 +00:00
Maxmtg
5a386afeb6 make sure copyOnWriteArray list does not get overwritten by other structure 2013-04-12 07:38:00 +00:00
Sol
0078da8ea3 - Reverting wait till Spell resolution to remove SA, since for some reason the SAs for AIs optional triggers aren't matching for some reason. (AI Goblin Arsonist issue) 2013-04-12 03:26:15 +00:00
swordshine
382de9bffd - Added Earwig Squad and Latchkey Faerie 2013-04-12 00:47:03 +00:00
Maxmtg
184e3469ca protection against co-modification for type list 2013-04-11 23:05:58 +00:00
Maxmtg
7e14d5ca58 cleanup for Card class, removed unreferenced methods and variables, inlined once-referenced, moved ai-related closer to AI 2013-04-11 21:18:01 +00:00
Maxmtg
465a862070 removed an unreferenced method and renamed another method 2013-04-11 20:25:57 +00:00
Sloth
77195b1e03 - Added AI support for Paralyze. 2013-04-11 15:07:10 +00:00
swordshine
30ae3581a8 - Added Paralyze and Reverse the sands 2013-04-11 10:34:26 +00:00
swordshine
cd6aa58f8a - DGM: Added Varolz, the Scar-Striped 2013-04-11 08:56:17 +00:00
Maxmtg
5fed7ec93a made canPay calculate life when it's defined 2013-04-11 05:06:01 +00:00
Maxmtg
9f6d1f5247 fixed NPE that prevented Dredge from working 2013-04-11 05:05:34 +00:00
Agetian
871d01c806 - Some improvements in descriptive texts related to the alternate sound system. 2013-04-10 13:38:16 +00:00
swordshine
943cbfcb1c - Added Dream Salvage 2013-04-10 12:59:44 +00:00
Agetian
3458cc6ee1 - Minor style adherence correction (expand tabs to spaces). 2013-04-10 12:54:17 +00:00
Sloth
43c1216f4e - Added "NonStackingEffect" SVars. 2013-04-10 12:10:10 +00:00
Agetian
3c5701eab5 - Fixed a bug preventing the AI profile from being correctly restored between matches in a duel. 2013-04-10 05:55:43 +00:00
Agetian
a731f7d630 - Removing a useless comment 2013-04-10 05:45:45 +00:00
Agetian
4f30cd58ec - Renamed AsyncSoundPlayer to AltSoundSystem (better represents its purpose).
- Fixed the synchronous sounds playing asynchronously on the alternative sound system.
- Some minor fixes and changes to the alternative sound system.
2013-04-10 05:16:46 +00:00
Maxmtg
afe8c40d87 remove unused imports that produced warnings in Eclipse 2013-04-10 04:52:11 +00:00
Maxmtg
975437fde1 Deck Import button moved to first tab.
Some texts with instructions added to the related dialog
2013-04-10 04:50:59 +00:00
Maxmtg
b3dda493b4 anti-NPE measure: http://www.slightlymagic.net/forum/viewtopic.php?p=115101#p115101 2013-04-10 04:04:55 +00:00
swordshine
0f6964be04 - Put an attacking creature to the battlefield will also be able to choose a defender for human players 2013-04-10 00:50:54 +00:00
Sol
1a89e4cce3 - Real fix for both ChangeTargets being able to change Counterspells to ChangeTarget SA that doesn't cause Multitargeting issues 2013-04-10 00:35:14 +00:00
Sol
5284503bd4 - Restoring Quest Tokens suffering from Summoning Sickness 2013-04-09 23:06:05 +00:00
Sloth
8b0c0481a9 - Created a new AI SVar "NonStackingEffect" for cards like Blood Moon or Crucible of Worlds. 2013-04-09 21:43:38 +00:00
Sloth
d1153515aa - Fixed Transmute and split cards. 2013-04-09 18:39:08 +00:00
Agetian
07d0df8742 - Implemented an alternative sound system for people who have issues with sound gradually or instantly disappearing on certain Linux systems (can be switched on/off in the preferences without needing a restart, also uses the standard Java Sound API so it doesn't require an external dependency; it's non-caching and, as such, less efficient than the regular sound system, so only use it in case you have issues with the default system, otherwise leave the option unchecked). 2013-04-09 18:35:17 +00:00
Maxmtg
2f5a7187c5 checkPropagandaEffects simplified due to synchronous execution 2013-04-09 16:03:31 +00:00
Maxmtg
fc91229e95 getAttackerList was duplicate of getAttackers - has been replaced. 2013-04-09 15:34:51 +00:00
swordshine
d1e9367a65 - Fixed last commit for AI 2013-04-09 12:51:20 +00:00
swordshine
b91dcd32f2 - Tokens generated by Geist of Saint Traft (and other cards) can choose which player of planeswalker they are attacking 2013-04-09 12:36:58 +00:00
Maxmtg
c8af23124c quest tokens won't suffer from sickness 2013-04-09 09:55:01 +00:00
Maxmtg
9099176144 card class clean up.
cards will determine their ability to flip or transform by presence of a matching altername state
2013-04-09 09:54:44 +00:00