ingmargoudt
ff6c6405aa
rewrites to optionals
2017-03-19 19:48:32 +01:00
ingmargoudt
234cfe9519
rewrote singleton to enum where applicable
2017-03-14 16:32:47 +01:00
ingmargoudt
372584f7ad
changed cardtype from list to enumset
2017-03-03 17:04:32 +01:00
doncarton
5eaaa67d1e
Nulls to optional. Also there was bug with AetherChaser "you may pay" was not set to optional
2017-02-26 15:15:54 +03:00
vraskulin
752392fc46
Functional interfaces should be annotated as functional interfaces
2017-02-15 19:23:12 +03:00
vraskulin
f1ef3bf68b
Narrowed variables scope.
2017-02-15 16:05:18 +03:00
vraskulin
f99cd21275
Mostly code format fixes.
2017-02-09 18:30:31 +03:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
LevelX2
5212c3c7dd
Fixed an Optional<> bug of GameController.
2017-02-04 14:27:03 +01:00
LevelX2
2a3e38f845
* Fixed a bug that prevented rollback request window to appear.
2017-02-03 21:00:49 +01:00
Quercitron
c52637343c
Fix build.
2017-01-20 04:18:44 +03:00
Goudt
84081cbece
small fixes after comments
2017-01-18 23:59:19 +01:00
igoudt
f98afdf4ad
Introducing Optionals
2017-01-14 21:52:40 +01:00
igoudt
ac8962cb29
replaced enum comparison from equals to ==
2017-01-11 09:53:16 +01:00
vraskulin
46d369c8ed
Big refactoring (server)
...
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:47:03 +03:00
vraskulin
b4546a2ecb
Renamed method
...
According java naming convention methods should start from lowercase letter.
2016-12-29 14:13:23 +03:00
LevelX2
c46f75ac28
Added chat mute and user (de)activation actions to the Mage server console.
2016-10-05 00:59:51 +02:00
LevelX2
d3d1402fbb
[KLD] Added 9 white cards.
2016-09-17 00:45:33 +02:00
fwannmacher
a052830628
- Removed "CARD ZONE" from tooltip when it is not necessary
2016-08-08 18:30:42 -03:00
LevelX2
663c6fe1e9
Try to fix "Comparison method violates its general contract" error.
2016-06-18 12:55:54 +02:00
Quercitron
c781728b97
Add rating to the client ( #1498 )
2016-05-17 17:27:43 +03:00
spjspj
e5ca1bd6d2
spjspj - Implement a 'Use the first available mana ability for a land mode'.
...
This allows people to float mana more easily and to not have to get the popup forcing them to select which mana ability they would like to activate.
There's a new option in the menu system under the Mana Payment section which is set via pressing 'Alt' and the number '1' key (aka Alt+1) (and is unset by releasing Alt+1).
Or they can set it from the right click menu as well.
2016-04-04 20:30:28 +10:00
LevelX2
1835671f3d
Some more changes to GUI to better support high screen resolutions.
2016-02-14 13:41:43 +01:00
LevelX2
687ab7ec6b
Added some tooltips to user table headers. History is shown in tournament player table now. Changed ratio column to numberic format.
2016-02-06 21:22:51 +01:00
LevelX2
d2eb6151f1
Fixed some possible exceptions.
2016-02-06 02:12:51 +01:00
Me Car
284c36b756
Add allowed quit ratio option to match option and tourney option.
2016-02-01 02:25:44 +09:00
LevelX2
75f5a17135
Merge pull request #1505 from menocar/user-pane
...
Split History column into Matches and Tourneys columns.
2016-01-31 12:49:00 +01:00
LevelX2
78ac6688ea
Some tests and minor changes.
2016-01-31 09:51:23 +01:00
Me Car
574e3cfd36
Split History column into Matches and Tourneys column.
2016-01-30 16:01:04 +09:00
LevelX2
e31b12325e
Added "info [username]" command to get history for offline players. Remove user info column.
2016-01-23 16:59:15 +01:00
LevelX2
24dddd3e06
Changed that player history string of all players were recreated every time the player list is updated (every 2 seconds).
2016-01-23 12:33:12 +01:00
LevelX2
c38b4b9b86
Some minor syntax formatting.
2016-01-21 16:40:46 +01:00
Me Car
8a5461d73b
Cache UserStats to User.
2016-01-21 00:44:50 +09:00
Me Car
550648ccbe
Record game histories. Compute user stats and show them in the user panel.
2016-01-20 12:47:58 +09:00
LevelX2
aecb2c8829
[OGW] Added surge and Crush of Tentacles.
2015-12-24 10:02:11 +01:00
LevelX2
a5d7ca83d7
Checked objects possible to cause null pointer exceptions. Added some logging.
2015-10-31 11:55:20 +01:00
LevelX2
e88c60eb85
* Scroll Rack - Fixed that the cards were shown face down if setting the order they go to library.
2015-10-31 10:33:37 +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
78071ce0a3
* Fixed a bug that order of triggered abilities of tokens were not shown to human player and the UI was locked ( fixes #910 ).
2015-08-25 23:34:15 +02:00
LevelX2
532d4e0af0
* Added automatic handling for order of triggered abilities going to stack ( fixes #701 / related to #328 ).
2015-08-22 19:29:57 +02:00
LevelX2
662ee7ca10
* Fixed handling of face down card selection (e.g. for Scroll Rack).
2015-08-05 17:45:45 +02:00
LevelX2
efb5e06e57
* Rollback - Fixed that UI is locked after a accepted rollback request ( fixes #1158 ).
2015-08-02 12:39:02 +02:00
LevelX2
b80e27f3b3
* Fixed handling of Phyrexian mana.
2015-07-09 01:43:26 +02:00
LevelX2
d847fb7109
Some minor changes.
2015-07-08 22:51:31 +02:00
LevelX2
946af6913d
Fixed NPE handling.
2015-07-03 21:05:05 +02:00
LevelX2
c774e95335
* Fixed some possible java exception causes.
2015-06-27 09:32:50 +02:00
LevelX2
87f919ecac
* Reworked handling of revealed and look at windows. Windows can stay open now and moved to a position and stay there.
2015-06-21 23:49:16 +02:00
LevelX2
6420666668
Some fixes to player handling.
2015-06-14 02:42:56 +02:00
LevelX2
8ae9293c98
* Added user country flag. View of image in user list is still missing.
2015-06-10 17:52:18 +02:00