Commit Graph

23406 Commits

Author SHA1 Message Date
Agetian
a2050ed3e6 - Removing an erroneously committed empty method. 2014-01-05 06:06:23 +00:00
drdev
0d2c13bf80 Clear images from cache when switching screens to reduce memory usage
Dispose of card panels when each game ends to reduce memory usage
2014-01-05 06:05:10 +00:00
Agetian
39061439dc - Restored the "Use Random Card Art" functionality. Implementation may be suboptimal with the latest changes in mind, feel free to reimplement in a better way if you know how (do NOT randomly remove though!). 2014-01-05 06:03:30 +00:00
drdev
d9e5d93265 Add standard API for setting default focus on FDialog 2014-01-05 03:30:24 +00:00
Agetian
b3bec906ef - Fix the bug that causes the sideboard not to work correctly when the sideboard is initially empty. 2014-01-04 18:38:50 +00:00
drdev
6d969373b9 Improve list reveal dialogs to allow Escape key and clicking close button
Improve title for "AI can't play cards well" dialog
2014-01-04 17:42:37 +00:00
drdev
c8ac6b9f2d Prevent ListChooser getting caught in infinite loop of reprompting 2014-01-04 16:27:24 +00:00
drdev
45d7b43aa6 Prevent filter widgets being hidden when opening Workshop 2014-01-04 05:44:33 +00:00
drdev
e954b40d3c Skin ListChooser 2014-01-04 05:27:28 +00:00
drdev
07f94f9d42 Ensure filters shown when Ctrl+F used to focus search field 2014-01-04 03:16:20 +00:00
drdev
18809bc918 Prevent updating item manager view if filters didn't change
Focus item manager when Deck Editor opened and when filters hidden/shown
2014-01-04 03:07:14 +00:00
drdev
85d32d49e2 Update CHANGES.txt 2014-01-04 02:55:55 +00:00
drdev
64459b414e Support hiding filters 2014-01-04 02:52:05 +00:00
drdev
f0ffeefe24 Move filter items to "Add" submenu and add "Reset Filters" option to main Filters menu 2014-01-03 03:47:19 +00:00
drdev
df022d5df7 Fix size of Commander Deck Editor button 2014-01-03 02:52:31 +00:00
drdev
a2b75c2072 Prevent showing File menu in Spell Shop 2014-01-03 02:46:53 +00:00
drdev
e7a9492200 Prevent crash when switching away from then back to Spell Shop 2014-01-03 02:25:42 +00:00
Agetian
3133dbf8b4 - A better fix for the attacker icon not appearing (getting rid of GUI calls in game.Combat and moving them over to gui.InputAttack) 2014-01-02 06:51:30 +00:00
Agetian
8fd2ffc93e - Getting rid of UI event duplication for declaration of blockers. 2014-01-02 06:42:58 +00:00
Agetian
39675d465d - Fixed the attacker icon not appearing automatically when a card with "attacks each turn if able" is declared.
- Added the UI event calls to Combat.addAttacker and Combat.addBlocker (this fixes the bug mentioned above). Not sure if this may lead to a duplication of events when declaring attackers/blockers manually, please review.
2014-01-02 06:40:28 +00:00
drdev
6e969ddaaa Update CHANGES.txt 2014-01-01 23:50:15 +00:00
drdev
a9f4009e43 Prevent marking deck as modified when changing sections
Update item manager caption when changing section
Show full catalog when in sideboard section
Avoid hiding title and save buttons when changing sections
2014-01-01 23:43:14 +00:00
drdev
b28b5e1ec9 Add File menu and keyboard shortcuts to Deck Editor 2013-12-31 21:44:45 +00:00
drdev
f4b9dd2f34 Update buttons on concede, restart, and exit prompts 2013-12-31 20:00:51 +00:00
drdev
40c651cd04 Apply anti-aliasing to FDialog border on Windows where it doesn't cause issues 2013-12-31 19:50:02 +00:00
drdev
b6d6da88e8 Skin more message/option/input dialogs
Prevent prompting twice when switching away from modified card in Workshop
2013-12-31 19:30:26 +00:00
drdev
7f95e5f583 Add prompts to confirm buying and selling items in Spell Shop 2013-12-31 17:16:40 +00:00
Maxmtg
e179aa404c setLife uses no gui 2013-12-31 05:53:06 +00:00
Maxmtg
4235a6906e remove isHuman from dig effect 2013-12-31 05:42:47 +00:00
Maxmtg
618cd6415d visited the quest ante code 2013-12-31 05:19:59 +00:00
Maxmtg
9d458ce8c5 still needed an originalDeck in RegisteredPlayer (to restart a match) 2013-12-31 05:08:02 +00:00
Sol
311306e986 - Fixing Mana symbol for Ogre Savant 2013-12-31 03:57:12 +00:00
Sol
a1688a7404 - Some cleanup with ante fixes. Quest mode midgame ante behavior restored in a more generalized fashion 2013-12-31 03:26:33 +00:00
Maxmtg
da421bc5f8 removed some duplicated code 2013-12-30 21:36:24 +00:00
Maxmtg
db8a71cca2 changed how ante works 2013-12-30 21:17:14 +00:00
swordshine
c8352e4968 - Remove phasedOut cards from combat 2013-12-30 14:30:34 +00:00
Chris
1d8aec2c3b Added new card names to changes.txt. 2013-12-30 13:56:56 +00:00
swordshine
459c2cfae4 - Missing Oracle 2013-12-30 01:41:38 +00:00
swordshine
32c52578e2 - Added Bludgeon Brawl 2013-12-30 00:56:08 +00:00
swordshine
eccadbf6fc - Added Nullstone Gargoyle 2013-12-30 00:39:50 +00:00
swordshine
8d99d2032d - Fixed Avacyn, Angel of Hope 2013-12-30 00:38:55 +00:00
Maxmtg
121db288c1 into single thread 2013-12-29 17:16:24 +00:00
Agetian
b8b3fff684 - Changed the representation of booleans in AI profile config files to match the preference file conventions.
- Sorted the options in AI profile config files in alphabetical order.
2013-12-29 08:17:32 +00:00
Agetian
33a08f67ec - Changed the way AI cheating works. The old option "Smooth AI Land" is now replaced with a global toggle "Enable AI Cheating" which allows the AI personalities (profiles) that have various cheat options set in them to utilize those cheat options to gain card advantage over the human.
- Currently there is only one cheat option (CHEAT_WITH_MANA_ON_SHUFFLE) which works like the old Smooth AI Land option by allowing the AI to cheat-shuffle appropriate lands into appropriate places in the library to minimize mana lock.
- Both default AI personalities (Default.ai and Reckless.ai) currently have CHEAT_WITH_MANA_ON_SHUFFLE set to True, which emulates the old Smooth AI Land functionality: if the "Enable AI Cheating" option is enabled, both profiles will cheat-shuffle. If disabled, neither profile will cheat-shuffle.
- Overall, it is now possible to set AI cheating on a per-profile basis and it's also possible to globally disable AI cheating even for personalities that normally do cheat.
- When adding new AI cheating options, don't forget to check for the value of the global toggle which is FPref.UI_ENABLE_AI_CHEATS.
2013-12-29 07:42:07 +00:00
Agetian
dffc1b2a42 - NetBeans settings loss related to expanding tabs is killing me :\ 2013-12-29 06:19:01 +00:00
Agetian
55aa4350b9 - Fixed the Phasing icon not appearing immediately when the card phases in/out.
- Added support for an additional sound effect that is played when a card phases in/out (phasing.wav is played if available).
- Added the "CHEAT_WITH_MANA_ON_SHUFFLE" option to the stock AI profiles (not used yet, to be implemented soon).
- Organized the AI profile config files a little bit by sorting the options.
2013-12-29 06:13:42 +00:00
drdev
40bfde20fa Cleanup Quest and Deck lister display
Fix Quest renaming
2013-12-28 22:28:59 +00:00
drdev
8ceda2b07b Use skinned dialog for new quest dialogs 2013-12-28 20:57:34 +00:00
drdev
a592a44647 Support input FOptionPane 2013-12-28 20:23:41 +00:00
Chris
2a9b59f935 Added new card names to changes.txt. 2013-12-28 14:50:01 +00:00