Commit Graph

5618 Commits

Author SHA1 Message Date
Maxmtg
6d5158eebe quest token image fixes 2013-03-17 19:59:12 +00:00
Maxmtg
7ac1273310 removed getImageKey(cp) 2013-03-17 19:49:46 +00:00
Maxmtg
743f62be3d dedicated method to get download url for card pictures 2013-03-17 19:32:33 +00:00
Maxmtg
4280852e06 GuiDownload uses map of (local_path -> url) as core object
Download code uses NIO
2013-03-17 18:20:16 +00:00
Maxmtg
6e482a84cf fixes incorrect amount of cards to discard 2013-03-17 14:42:39 +00:00
Maxmtg
476ad7af91 Added forge.profile.properties setting to specify custom names for edition folders in pics directory 2013-03-17 12:38:15 +00:00
Maxmtg
f8ec6108d4 moved all image-acquiring code to ImageCache 2013-03-17 11:25:54 +00:00
Sloth
a77b341b80 - Quest events will ow show their difficulty. 2013-03-17 10:50:45 +00:00
myk
8a3696d027 do first update of operation log after 100ms instead of the usual 500ms 2013-03-17 10:02:43 +00:00
myk
5fe63b5d43 add blurb to changes.txt 2013-03-17 08:50:44 +00:00
myk
ffa215c459 add one more dir to doNotDelete list 2013-03-17 06:51:04 +00:00
myk
f82e562b26 don't delete dirs that have been re-added 2013-03-17 06:49:29 +00:00
myk
bf31c5b139 don't check for the pics_product dir since it can't be cleaned up until later 2013-03-17 06:27:54 +00:00
myk
32984b9f41 remove empty dirs after migration. tree conflicts still exist, but at least they won't get in the way 2013-03-17 06:07:28 +00:00
myk
75788ab933 report on which files will be downloaded 2013-03-17 05:59:31 +00:00
myk
244b1c65f7 merge myk-separate-writable-data branch 2013-03-17 05:34:13 +00:00
myk
9b6bc2eb55 merge latest trunk 2013-03-17 00:23:16 +00:00
Sloth
f22b7aee0f - Rewrote the card controller system.
- Converted Control Magic auras to continuous static abilities.
2013-03-16 23:28:18 +00:00
Maxmtg
8dc331ed14 little polishing on QuestRewardCard classes 2013-03-16 22:25:34 +00:00
Maxmtg
74b2d09f41 made a base class for quest/QuestRewardCardChooser and quest/QuestRewardCardFiltered to dump duplicate code there. 2013-03-16 22:22:27 +00:00
Maxmtg
c195e944da balance hands written in less lines 2013-03-16 22:16:26 +00:00
Maxmtg
7c334b51b1 minor - remove unused methods,
quest controllers uses lobbyPlayer to detect human playing quest
one discard(int, sa) call less (inlined in AiInputCommon)
2013-03-16 22:05:59 +00:00
Maxmtg
742cec28a7 dredge action from player* moved: decisions are taken at PlayerController, execution remains in Player 2013-03-16 21:39:18 +00:00
Maxmtg
3b0a3e6658 Code that chooses cards to be discarded moved to PlayerController and ComputerUtil 2013-03-16 20:41:02 +00:00
Sloth
73c457f46a - The AI will no longer play Mind Twist with X=0. 2013-03-16 16:35:21 +00:00
myk
d574334287 merge latest trunk 2013-03-16 16:12:07 +00:00
Sloth
561b8f95bf - Removed some unnecessary addController calls. 2013-03-16 14:59:46 +00:00
Maxmtg
e9b51dc21d chains_of_mephistopheles.txt hardcode moved from specific player classes
several instances of Chains of Mephistopheles are handled closer to the rules
2013-03-16 14:27:15 +00:00
Sloth
03d005ed8e - The AI will now try to fetch duallands with fetchlands. 2013-03-16 13:03:52 +00:00
Sloth
e6a3fb93a7 - Improved AI distributing Damage. 2013-03-16 12:01:21 +00:00
Maxmtg
b59c47c766 Replacement handlers used hashmap in ctor and method parameters instead of plain map (that is quite sufficient for their needs) 2013-03-16 11:55:30 +00:00
Maxmtg
4efcbc3311 Mulligan - uses drawCards(n) 2013-03-16 11:49:14 +00:00
Maxmtg
b19e5c82d8 Quest mulligan code moved out of HumanPlayer
QuestController is listening for some events and reacts to human's first mulligan
2013-03-16 11:19:24 +00:00
Sloth
9c4c2328ec - More improvements in AttachAI. 2013-03-16 10:52:10 +00:00
swordshine
50799c4f9d - Added Sasaya, Orochi Ascendant 2013-03-16 10:45:42 +00:00
Maxmtg
2ba9d7bfc8 avoid empty scry 2013-03-16 10:44:33 +00:00
Maxmtg
c3bb1c17a5 a special case for Human scrying with a single card available and no need to arrange 2013-03-16 10:43:08 +00:00
Maxmtg
c96304666d removed clash code from Player class, since it's referenced only from ClashEffect.java
Improved GuiDialog.confirm to accept custom values for choice options 
Also added default question icon to dialogs (may remove if it's too ugly)
decision-making about "where to put the card used to clash" moved to PlayerController* classes
2013-03-16 10:35:38 +00:00
Sloth
ea78324d15 - Little improvements in AttachAI. 2013-03-16 10:25:48 +00:00
Maxmtg
4acffc60cd scry now uses player controllers to learn player's choice, method player.scry() moved to ScryEffect
Human uses GuiChoice.order to arrange cards to be put on top or bottom of library (that means less popping windows)
AI has a method in ComputerUtil to learn where to put a given card.
2013-03-16 10:04:39 +00:00
Maxmtg
92caa7514d rem warning,
replace array with immutable list in Color
2013-03-16 10:01:18 +00:00
Sloth
23fb1054ba - The AI will now use the ability of Shirei, Shizo's Caretaker. 2013-03-16 08:04:20 +00:00
swordshine
d48f0a9184 - Added Scythe Specter 2013-03-16 06:41:02 +00:00
myk
f12fcc775e merge latest trunk 2013-03-16 01:16:40 +00:00
Maxmtg
9af799a88e Changed some public final static arrays into guava's ImmutableList
in Card class changed members to be just List<T> instances (instead of ArrayList)
2013-03-15 21:51:52 +00:00
Maxmtg
5f0e660d18 removed unneeded final modifiers from methods (class is final anyway) 2013-03-15 21:31:52 +00:00
Maxmtg
5b4c6e8490 moved some duplicate methods to base class 2013-03-15 21:28:18 +00:00
Maxmtg
9c3497c7f4 removed duplicate preferences validation from QuestPreferencesHandler & CSubmenuQuestPrefs 2013-03-15 21:21:34 +00:00
Maxmtg
10fdf5b82a eliminated duplicate code of requirementsCheck() in Trigger and ReplacementEffect
some references changed to basic class
2013-03-15 21:06:17 +00:00
myk
9fc27acfb2 make case insensitive comparisons when importing data, but always write to normalized-case filenames
consolidate code in the gui downloader
turn autoscrolling back on when the import starts if the user had scrolled somewhere other than the bottom while analyzing
2013-03-15 19:56:23 +00:00