Ingmar Goudt
5ba206111a
add missing Override annotations
2019-07-14 20:28:48 +02:00
Oleg Agafonov
c45f64bdec
UI: improved card render test dialog (added render mode and size choose);
2019-05-06 23:16:58 +04:00
Oleg Agafonov
10234d508f
* UI: added CTRL/SHIFT/ALT supports for hotkeys ( #2042 );
2019-04-06 07:32:44 +04:00
John Hitchings
5c01b38ed6
Rename pressing to tinting. Change to behavior when leaving the rect will remove the tint (would stop tinting only when button released).
2019-03-10 23:12:48 -07:00
John Hitchings
11b93d0771
Simulate JButton behavior while still preserving check for BUTTON1 using MouseAdapter. Add a slight tint when button is pressing, but not pressed.
2019-03-10 23:02:13 -07:00
Ingmar Goudt
ee3f592186
fix some bugs from Sonar 06032019
2019-03-06 23:01:05 +01:00
Ingmar Goudt
8319fbf9ad
replace public fields with encapsulation
2019-03-03 09:51:14 +01:00
John Hitchings
f76efb2b65
Merge branch 'master' into migrate-google-collections-to-guava
2019-02-22 22:43:23 -08:00
Ingmar Goudt
3359c1f3f1
sonar 220219, criticals
2019-02-22 12:06:11 +01:00
Ingmar Goudt
056226d83c
Sonar fixes 19022019
2019-02-19 21:51:45 +01:00
John Hitchings
b18efe2fbf
Migrate from older version of google collections to guava. Required migration from MapMaker to CacheBuilder. See: https://github.com/google/guava/wiki/MapMakerMigration
2019-02-10 10:13:05 -08:00
Oleg Agafonov
e1f8d97512
Refactor: removed outdated images code and fixed missing images logs for tokens;
2019-01-12 03:03:04 +04:00
Oleg Agafonov
79370108eb
Refactor: extract make window centered code;
2018-12-18 17:57:46 +04:00
Ingmar Goudt
f04d7c9b03
remove redundant null checks before instanceof
2018-09-17 21:09:42 +02:00
Evan Kranzler
50b5377a8e
fixed mana pool errata
2018-04-15 14:30:01 -04:00
spjspj
e932c139d9
Beginning of implementation of Planechase.
...
10 or so initial planes that (mostly) have been tested, no phenomenons as yet and no modifying yet of chaos rolls. Also no support for a user to be able to set if it is planechase (able to do so via the cheat button).
2018-04-09 08:44:48 +10:00
spjspj
7698856d29
Add an on-hover highlight effect.
2018-04-02 01:01:32 +10:00
spjspj
2ff3d2ca87
Add an on-hover highlight effect.
2018-04-01 21:40:16 +10:00
spjspj
938ac35981
Have a faded life total over the avatar which glows then fades again reddish for damage and bluish for life gain.
2018-03-29 00:28:56 +11:00
spjspj
08ffbecdb4
Have a faded life total over the avatar which glows then fades again reddish for damage and bluish for life gain.
2018-03-28 02:22:28 +11:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
LevelX2
af296cbe79
* Added display of live on player avatar image,
2018-03-17 00:47:09 +01:00
LevelX2
bd9b11fc49
Fixed some problems with popup window not been hidden if another frame is shown.
2017-05-27 14:35:50 +02:00
LevelX2
2446abcc98
* Some minor changes to sleep command.
2017-04-02 11:48:05 +02:00
LevelX2
5a072ea760
* Some minor changes to sleep command ( fixes #2992 ).
2017-04-02 11:32:25 +02:00
vraskulin
d93061c0bc
Equals should be compared with == but not equals()
2017-03-22 14:50:50 +03:00
ingmargoudt
2b91b88551
fixing some additional singleton classes
2017-03-16 09:48:02 +01:00
vraskulin
11dc1e10f1
Few lambda's and removed explicit type from creating lists and hashmaps
2017-02-28 13:46:57 +03:00
vraskulin
0a3c95dde5
Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback
2017-02-28 12:40:12 +03:00
vraskulin
498c8cf60c
Made utility classes final to explicitly forbid it's inheritance
2017-02-27 17:03:38 +03:00
vraskulin
af3986df46
All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time
2017-02-27 16:33:32 +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
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
ludwig.hirth
d051cb7b42
* Some client menu changes.
2016-12-02 16:06:34 +01:00
LevelX2
68d0e6b9fa
Added the monarch concept to xmage and all related cards.
2016-11-27 01:14:32 +01:00
LevelX2
8f317305fa
Some minor changes.
2016-10-24 17:55:28 +02:00
Campbell Suter
4c292466c1
Make it impossible to have multiple actions bound to the same key.
2016-10-21 09:54:09 +13:00
LevelX2
89a739e902
* Removed debug messages.
2016-10-20 15:16:31 +02:00
Campbell Suter
cde9afa091
Make keybound buttons cache their text, in case the keys are changed midgame
2016-10-20 12:49:58 +13:00
Campbell Suter
b4dc47fbc9
Improve keybinding buttons, add information
2016-10-20 12:36:18 +13:00
Campbell Suter
5ea636126f
Make the text on the playing buttons update with the current keybinds
2016-10-20 12:36:18 +13:00
Campbell Suter
d7a3904569
Add key options to prefs dialog
2016-10-20 12:36:18 +13:00
Mark Langen
615b93f8c3
Finished the new Drag & Drop deck view. It is currently implemented in main deck editor, and limited deck construction.
...
Still to do:
* Integrate it into the draft view
2016-09-28 20:57:23 -06:00
Get
ed7378da66
Player Panel UI redesign (new icons, new colors, new buttons)
2016-09-18 17:10:54 +03:00
LevelX2
d7dd635bca
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb
introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements
2016-09-16 21:23:31 +02:00
LevelX2
ce004cc2b7
* Added some missing static SessionHandler usages.
2016-09-16 00:40:37 +02: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