melvin
d64bd58234
only grab screenshot and notify user if UI is present
2013-11-22 09:28:28 +08:00
melvin
37deeeb0fc
add support for subtype Urza's
2013-11-17 18:16:35 +08:00
Lodici
778aa08bd7
- Removed splash from main screen; Version now displayed in titlebar.
2013-11-11 15:33:23 +00:00
Lodici
f917c6b883
- Fix : Deck description is not cleared correctly. [issue 420]
2013-11-11 13:39:04 +00:00
melvin
7d30f47e0d
merged fix
2013-11-11 16:56:30 +08:00
Lodici
4c4103aaae
- Fix issue 416 : Crash when selecting a folder while loading a deck.
2013-11-11 08:43:57 +00:00
melvin
f7ac1bf8bc
printPath and printNode directly output to System.err instead of calling log, comment out asserts that call these methods directly
2013-11-11 11:36:40 +08:00
Lodici
1fe2f4f8f7
- Update to log message layout to make better use of the space for the actual message content; Replaced fixed dimensions with relative for optimal use with layout manager; Log menu hidden;
2013-11-10 21:34:30 +00:00
Lodici
b17900eb64
- Increased horizontal space for log message now that health has been compacted.
2013-11-10 12:14:15 +00:00
Lodici
46a0a78cfb
- Refactoring MessagePanel; Log message displays health value below icon.
2013-11-10 11:44:47 +00:00
Lodici
e2e6d79e4b
- removed redundant reference to LogBookViewer from GameLayeredPane.
2013-11-10 10:53:57 +00:00
Lodici
ba7b11f100
- Removed Stack panel from TextMode since it duplicates Stack viewer displayed
...
on LHS which is just confusing.
2013-11-09 22:18:53 +00:00
Lodici
0c83413a29
- wip : Updating StackViewer so that preferred size is calculated correctly for
...
use with a layout manager. Previously was having to manually adjust by 1 pixel in GamePanel layout.
2013-11-09 20:28:44 +00:00
Lodici
ba5d27b953
Merge google-code
2013-11-08 15:43:44 +00:00
Lodici
b0cccfe225
Merged LogStackViewer updates into trunk.
2013-11-08 15:40:52 +00:00
Lodici
036a612852
- refactoring.
2013-11-08 14:48:16 +00:00
melvin
b34dc48b11
replace MagicPermanentState.PreventAllDamage with MagicIfDamageWouldBeDealtTrigger.PreventDamageDealtTo
2013-11-08 10:46:02 +08:00
melvin
ed9c31d31b
replace two MagicPlayerState with MagicIfDamageWouldBeDealtTriggers
2013-11-08 09:20:22 +08:00
Lodici
0279ea66d2
- have now got the LogStackViewer working more or less as expected.
2013-11-07 16:30:17 +00:00
Lodici
b8cdc09893
- refactoring of GamePanel; moving code into LogStackViewer.
...
- updated GameDuelViewer to TexturedPanel.
2013-11-07 10:22:12 +00:00
Lodici
00195c19df
- Translucent background applied to GameDuelViewer.
2013-11-07 09:00:27 +00:00
Lodici
4c52df5058
Log/Stack WIP...
...
- top level layout of LHS components complete (setLeftSideLayout());
- updated with published transluceny code (r11581).
- removed AlphaContainer as code has been incorporated into TexturedPanel.
- added LogStackViewer component to eventually encapsulate associated layout code.
2013-11-06 22:46:10 +00:00
Lodici
97dea805b8
Merged google-code
2013-11-06 12:54:41 +00:00
Lodici
05e2fb9cc3
- Log/Stack and game console panels now have a translucent background which
...
alleviates any text readability issues because of the selected theme.
2013-11-06 12:46:25 +00:00
Lodici
bc9b4f0a98
- wip : Added IStackViewerListener; Refactored layout into smaller code blocks.
2013-11-06 11:34:38 +00:00
Lodici
47efa2e6ae
- Updated StackViewer to generate 10x each entry for testing.
2013-11-05 10:03:05 +00:00
melvin
71efaf953a
always pass draw and begin combat option only applies when stack is empty
...
fixes issue 385
2013-11-05 16:56:30 +08:00
melvin
8d4ef88b31
support for sacrifice unless pattern
2013-11-05 14:56:38 +08:00
Lodici
6989e13636
wip
2013-11-04 11:14:25 +00:00
Lodici
ffde20b221
wip
2013-11-03 20:52:01 +00:00
melvin
0ca66d6daf
remove unused import
2013-11-03 14:19:43 +08:00
melvin
26a9948582
remove reference to Swing from MagicLogBook and GameController.performUndo, consolidate handling of viewer updates for both add and removal of messages in notifyMessageLogged method
2013-11-03 14:18:55 +08:00
melvin
92dfe1a3ee
test AI scry
2013-11-03 09:44:39 +08:00
melvin
a6a60a9bf9
change test against MagicCard.NONE to getLibrary().isEmpty()
2013-11-03 09:35:26 +08:00
melvin
9984c56474
added specialized method getArtificialChoiceResults for MagicScryChoice to handle case where there is no cards in library
2013-11-03 09:33:52 +08:00
melvin
79b858f3cb
changed NO_OTHER_CHOICE_RESULTS from private to protected
2013-11-03 09:33:21 +08:00
melvin
d3b60df8ea
update test
2013-11-03 09:17:39 +08:00
melvin
ab98604912
added method clearCards for better clarity
2013-11-03 08:46:49 +08:00
Lodici
757f78ed90
- Added Log option popup menu.
...
- - Toggle scrollbar visibility (default: true).
- - Insert new message on top of list (default: false).
2013-11-02 09:04:15 +00:00
Lodici
35b5193d0f
- Update to crash report. Use platform agnostic format for "crash.png" path.
2013-11-02 08:57:22 +00:00
Lodici
f3ae0c14fb
Merge google-code.
2013-11-02 08:13:39 +00:00
Lodici
4484a934f6
- Removed debug statement.
2013-11-02 08:01:50 +00:00
Lodici
3f4fe5014c
- Crash report will now also generate a screen shot of Magarena at the time the
...
error occurred. This is saved to "crash.png".
2013-11-02 08:00:52 +00:00
melvin
234eb79e15
added test scenario for scry 1
2013-11-02 13:22:43 +08:00
melvin
d3796174d2
added MagicScryEvent
2013-11-02 13:04:06 +08:00
melvin
e85a02a99c
added removeCardAtBottom
2013-11-02 12:15:46 +08:00
melvin
2fff13370a
fix order of rules parsing
2013-11-02 10:55:11 +08:00
melvin
1c2df2382a
support for pump and gain ability effect
2013-11-02 10:52:07 +08:00
melvin
980f6ab54e
move diff into src folder to be next to file it creates
2013-11-02 09:48:57 +08:00
melvin
8eeaec2211
remove duplication and unused code
2013-11-02 09:47:07 +08:00