Commit graph

63 commits

Author SHA1 Message Date
vraskulin
076840df53 Big refactoring
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final  variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3)  Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
ingmargoudt
3019991473 removed the Session out of local scope and introduced a static SessionHandler that acts as interface to remote.Session 2016-09-15 20:52:41 +02:00
Quercitron
c04bd6d64a Replace Yes/No text with Mulligan/Keep text on mulligan answer buttons to make options more clear. 2016-07-31 15:57:45 +03:00
LevelX2
dd9431c8ea * Added scrolling to the game dialog area. Some more GUI resizing. Removed some unwanted borders of viewports. 2016-03-05 21:00:55 +01:00
LevelX2
249d709cc7 Sizable GUI - game dialog area elements resize now. 2016-02-20 02:31:47 +01:00
LevelX2
e15807b9ed * Some more changes to adjustment possibilities of GUI size. 2016-02-19 16:30:52 +01:00
LevelX2
706d319f81 Some more changes to GUI to better support high screen resolutions. 2016-02-12 13:35:04 +01:00
LevelX2
3a7983a0d0 * Main lobby - Separated user talk from system messages by using two tabs in chat area to switch. 2015-11-29 20:01:31 +01:00
LevelX2
758f56792e * Added button popup menu to be able to automatically answer ability related "Yes" / "No" requests (related to #328). 2015-08-28 11:44:14 +02:00
LevelX2
b80e27f3b3 * Fixed handling of Phyrexian mana. 2015-07-09 01:43:26 +02:00
Nidhoegger
9be613beb9 Fixed Issue #1054. Buttons in Feedback panel will only get focused, if the MageFrame has the focus thus preventing focus theft from other programs. 2015-07-06 10:51:06 +02:00
LevelX2
3eb1fd4047 Added a button to attack with all available cratures. 2015-07-02 17:03:14 +02:00
LevelX2
df3e6db569 Please test! Some changes to the display of user choices, showing also a longer text in tooltip window. 2015-06-28 21:55:48 +02:00
LevelX2
7292a1625c [TPR] Added Dracoplasm. 2015-04-09 18:09:05 +02:00
LevelX2
7e145d2cfd * Added possibility to allow other players to see hand cards of player. 2014-11-24 23:03:21 +01:00
LevelX2
4f5c8fc45d Removed some debug messages. 2014-09-27 19:58:22 +02:00
LevelX2
aa842efacc Added F5 button to skip priority until end step of opponent. Added PlayerAction handling. 2014-09-24 16:55:51 +02:00
LevelX2
81eaac46c7 * Added new preference option to enable sound in game and other sounds separately. 2014-02-12 08:35:27 +01:00
LevelX2
753ada0a01 * Fixed a cleanup problem that locked the game at game end. Minor formattings and cleanup additions. 2014-02-11 00:38:10 +01:00
LevelX2
0a18a7bea6 Removed majority of memory leaks from game / editor / dialog handling. 2014-02-02 21:57:02 +01:00
LevelX2
30ddcaf99b Some changes to reduce memory leaks. 2014-01-31 15:08:40 +01:00
LevelX2
da2dc4cd5a Some changes to prevent memory leaks from gamePane (not fiished yet). 2014-01-30 17:35:12 +01:00
magenoxx
9d5e1dee69 Possible fix for Issue #204: The [Done] button does not appear some times 2013-10-02 18:11:05 +04:00
LevelX2
de20fcb5cc [minor] formatting 2013-04-02 13:46:43 +02:00
magenoxx
29b84e0d92 Closed #169: Make it possible to untap lands 2013-03-29 20:35:16 +04:00
magenoxx
05191e8793 Closed #168 : Enhance priority hot keys 2013-03-29 17:18:12 +04:00
North
a7a565bb8f [minor] access modifer order 2013-03-10 14:53:02 +02:00
LevelX2
cf62ba330d Fixed a bug that froze the game if you finished a game, pushed ok and directly started to open a new game. The FeedbackPanel.endWithTimeout() task triggered after 8 seconds and locked the client. 2013-02-04 17:00:34 +01:00
magenoxx
ec5b5845ef Fixed Issue#84: Arrows that show the targets are always on top 2013-01-08 15:58:48 +04:00
magenoxx
e0de28693b [client] Autoclosing game windows after 8 seconds they finished 2012-09-09 13:56:42 +04:00
magenoxx
de146458a9 [UI] Some sounds 2012-07-19 18:11:00 +04:00
magenoxx
6d670fa3ff [UI] Moved Concede button from helper component to bottom-left 2012-07-08 09:41:04 +04:00
magenoxx
6ad352709a Focus on button for space and enter hot keys 2012-06-28 01:06:38 +04:00
magenoxx
25bdce4b67 Hiding 'End Turn' button 2012-06-28 00:53:59 +04:00
magenoxx
75e641580c Displaying text in helper component. Removed feedback component 2012-06-27 15:07:01 +04:00
magenoxx
c2a517f1b3 New helper component 2012-06-27 14:25:12 +04:00
magenoxx
d31197a8c2 Fix for arrows not removed on game end 2012-06-27 12:59:06 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
96cfb51686 Extracted Session interface, moved implementation to SessionImpl 2012-04-29 19:03:08 +04:00
BetaSteward
5efe352305 removed modal messages in game panel 2011-09-24 22:05:19 -04:00
magenoxx
a4fd5e6fb7 Possible fix for Issue 256 2011-09-21 12:25:22 +04:00
North
e8426e6e71 Removed a couple of duplicate files. 2011-09-02 00:18:04 +03:00
BetaSteward
77ed081e70 fixed issue 206 - game over message is no longer modal 2011-09-01 10:54:25 -04:00
magenoxx
9a2b9de6eb "End The Turn" button. Fixed Issue 234. 2011-08-30 20:30:03 +04:00
magenoxx
86d27d84bb Closing dialog in feedback "Cancel". Displaying dialog on the center. 2011-08-09 13:08:55 +04:00
magenoxx
024c506522 Changes UI needs for controlling turn. 2011-08-05 19:46:54 +04:00
magenoxx
bf80c2983b Skipping phases by space. Fixed Issue 58. 2011-07-17 21:24:08 +04:00
BetaSteward
c4a3a496aa moved Session to Mage.Common 2011-06-15 23:24:03 -04:00
magenoxx
44b48a3722 Reduced font in feedback panel. 2011-06-15 23:08:57 +04:00
BetaSteward
c38804af5f rolled back changes since 0.7.3 R2 - going to switch client/server architecture 2011-06-14 23:09:18 -04:00