ingmargoudt
d60e01d497
move CardHelper::getColor to CardView::getColorText
2017-04-06 22:11:57 +02:00
ingmargoudt
63df7f65a7
remove isCreature from CardHelper, move to Cardview
2017-04-06 22:07:59 +02:00
Mark Langen
047449f14e
* Correct type line rendering for split cards with different types on each half.
...
* Correct art rendering for Aftermath, Split, and Fuse cards on the stack. Fused cards show as a single card with all the abilities / characteristics of both halves while on the stack.
2017-04-04 21:58:52 -06:00
ingmargoudt
ff6d1541c3
clientcallbacks to enums
2017-04-04 21:52:15 +02:00
ingmargoudt
211d433ea9
playertype, enum singleton
2017-04-02 22:09:20 +02:00
ingmargoudt
6f8f10fcc3
move static function to CardImpl, and other api fixes
2017-03-30 20:09:47 +02:00
fireshoes
55b433ae36
[AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards.
2017-03-28 22:25:29 -05:00
Achilles
b4a60555fc
Revert "Change for id str"
...
This reverts commit 1e8216c5c5
.
2017-03-24 17:06:33 -05:00
spjspj
1e8216c5c5
Change for id str
2017-03-24 08:14:17 +11:00
ingmargoudt
ff6c6405aa
rewrites to optionals
2017-03-19 19:48:32 +01:00
LevelX2
9d8a8a33f1
Xmage 1.4.22V0
2017-03-11 13:38:55 +01:00
Nathaniel Brandes
34ea9e53d0
Rev .pom Java version to fix compilation.
2017-03-07 22:31:30 -08:00
ingmargoudt
4aaf73e0d2
changed the type used in ImagePanel from an int to an enum
2017-03-07 22:28:10 +01:00
ingmargoudt
0a77c186be
moved sessionstate enum to sessionImpl
2017-03-07 22:15:58 +01:00
ingmargoudt
1bc8e2248b
changed enum equals to ==, removed contains check for set
2017-03-07 21:47:11 +01:00
ingmargoudt
1caf3a6be4
change getLibrary().size() > 0 to hasCards()
2017-03-07 17:28:26 +01:00
ingmargoudt
a0930e3379
missed 2 hashsets to enumsets
2017-03-03 22:14:00 +01:00
ingmargoudt
372584f7ad
changed cardtype from list to enumset
2017-03-03 17:04:32 +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
498c8cf60c
Made utility classes final to explicitly forbid it's inheritance
2017-02-27 17:03:38 +03:00
Anders Åstrand
f68460603a
Add client-side user ignore list
...
This commit adds a client-side per-server ignore list.
* Whispers and talk from an ignored user is hidden
* Ignored users cannot join your tables
* Ignored users tables are hidden
2017-02-22 22:16:09 +01:00
ingmargoudt
3a152ab3d6
rewrote enum comparisons, iterator to removeIf, added some stream and filters
2017-02-11 22:37:00 +01: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
d71ebdcea9
Merge origin/master
2017-02-05 11:41:20 +01:00
LevelX2
3525e46514
XMage 1.4.21V2
2017-02-05 11:39:43 +01:00
spjspj
fa97e4647e
Add field for server console
2017-02-05 14:11:05 +11:00
LevelX2
082210a4bd
Xmage 1.4.21V1
2017-01-25 00:14:05 +01:00
LevelX2
6625bf86be
Xmage 1.4.21V0
2017-01-15 17:44:02 +01:00
LevelX2
c6c88ee197
* Chnaged some handling of transformable cards.
2017-01-15 16:21:06 +01:00
spjspj
b397e2849c
Add missing field to userData
2017-01-15 23:33:20 +11:00
spjspj
f943b81c73
Merge pull request #2794 from spjspj/master
...
spjspj - Add Set Active to server console
2017-01-14 16:04:33 +11:00
spjspj
6ed569b37f
spjspj - Add Set Active to server console
2017-01-14 16:03:30 +11:00
spjspj
ee285e36f6
Merge pull request #2793 from spjspj/master
...
spjspj - Add Set Active to server console
2017-01-14 15:30:02 +11:00
spjspj
6d3324378f
spjspj - Add Set Active to server console
2017-01-14 15:29:15 +11:00
igoudt
ac8962cb29
replaced enum comparison from equals to ==
2017-01-11 09:53:16 +01: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
LevelX2
ee203cf981
Xmage Release 1.4.20V0
2017-01-08 01:36:05 +01:00
LevelX2
9353c5aa9c
[AER] Some more minor fixes.
2017-01-07 22:22:17 +01:00
LevelX2
8075ea2e50
* Fixed a problem that Emblems created by permanents where its owner left the game caused errors in clients. Some handling cganges of emblems.
2016-12-27 16:00:22 +01:00
LevelX2
862ac38f51
* Fixed that special actions (e.g. delve mana payment) were handled correctly if a player plays a turn for another player.
2016-12-24 16:52:06 +01:00
LevelX2
da9e9a1180
* Fixed some possible null pointer exceptions and some minor editing.
2016-12-18 15:02:19 +01:00
LevelX2
40d8a32695
XMage 1.4.19V1
2016-12-17 10:35:45 +01:00
LevelX2
3d95849c10
Some fixes to the Monarch designation.
2016-12-07 17:14:08 +01:00
LevelX2
b62ca1ed1f
Xmage 1.4.19
2016-11-27 19:59:42 +01:00
LevelX2
68d0e6b9fa
Added the monarch concept to xmage and all related cards.
2016-11-27 01:14:32 +01:00
LevelX2
c9e1b415e2
Xmage 1.4.18V0
2016-11-06 18:11:19 +01:00
LevelX2
1791b809db
Added some more info to some logger and game messages. Removed unused method.
2016-11-01 23:02:11 +01:00
LevelX2
0f6c14bdb7
Fixed that a client reconnect tries to reconnect to the server the client was connected to and not the last server a client on this system has connected to.
2016-11-01 22:59:24 +01:00
LevelX2
070a0ca3fa
* Fixed a problem that the enlarged card view could stay open after a game or draft were finished.
2016-10-23 23:13:02 +02:00
LevelX2
8b62eece68
XMage 1.4.17V0
2016-10-23 10:03:01 +02:00
spjspj
d53fe3ae52
Add confirmation dialog to server.console
2016-10-23 01:44:34 +11:00
LevelX2
bf43ea9936
Added test and fixed some possible null pointer exception.
2016-10-22 12:45:50 +02:00
fireshoes
89dd981075
Merge
2016-10-17 23:45:47 -05:00
LevelX2
2e1f8c07cb
Xmage 1.4.16v3
2016-10-09 15:54:12 +02:00
LevelX2
f92e827d3b
Xmage 1.4.16v2
2016-10-09 00:13:01 +02:00
LevelX2
4ec7d626fa
* Fix to get land images shown again.
2016-10-08 19:03:32 +02:00
LevelX2
5d8ae4d411
* Workaround to fix problem with deck layout.
2016-10-08 19:03:09 +02:00
LevelX2
157827addc
XMage 1.4.16v0
2016-10-08 11:14:13 +02: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
db31264538
Some changes to the server console.
2016-10-04 17:40:37 +02:00
LevelX2
e8ab8558d1
Fixed some possible null pointer exceptions.
2016-10-03 22:07:10 +02:00
LevelX2
01ca3689b3
Some minor changes.
2016-10-03 20:25:17 +02:00
Eirkei
004a14759e
Add correct targets to spells with modes - Fixes #2391
2016-10-03 11:32:32 +02:00
LevelX2
c4b4804903
Fixed that no abilitues were shown for selecting the order of triggered abilities from a dies triggered ability of tokens.
2016-10-02 23:34:06 +02:00
LevelX2
a5af6c3a1d
Minor rework of transform.
2016-09-28 22:37:20 +02:00
LevelX2
86648c7190
* Reworked some parts of transform handling. Fixes #2396 .
2016-09-28 17:02:37 +02:00
LevelX2
73a2ccda9b
Xmage 1.4.15v5
2016-09-24 04:01:00 +02:00
LevelX2
c9bb0be016
Reworked selected modes handling. That fixed the Subtle Strike targeting problem.
2016-09-24 01:12:01 +02:00
LevelX2
5263d1336d
xmage 1.4.15v4
2016-09-19 09:40:19 +02:00
LevelX2
f9789ee078
xmage 1.4.15v2
2016-09-17 20:43:39 +02: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
ingmargoudt
3128bd2b4b
replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead
2016-09-14 15:27:31 +02:00
LevelX2
6d71a959f1
Xmage 1.4.15v1
2016-09-10 22:25:05 +02:00
LevelX2
bb8326d46b
XMage 1.4.15v0
2016-09-10 12:31:18 +02:00
Mark Langen
8d90f4558d
Merge pull request #2234 from stravant/master
...
Characteristic-Based rendering initial release completed unless further bugs come up before then.
2016-09-07 23:16:10 -06:00
Mark Langen
a638625c77
Fixed full-arts seemingly not replicating properly
...
* The problem was that they key for caching rendered cards did not take into account the full art / not full artness of the cards, so when someone has both full art and non-full art variants of a land from the same set it one would override the other.
2016-09-07 17:35:05 -06:00
spjspj
8342d03ac9
spjspj - Set Token Descriptor
2016-09-07 21:52:52 +10:00
Mark Langen
f0a1938b3e
Full art Land rendering
...
* Added "frameStyle" tagging to relevant full art lands (ZEN, BFZ, UNG, UHG)
* Added support for rendering based off of frameStyle
* Outstanding bug that frameStyle doesn't seem to be replicated exactly properly
2016-09-07 02:20:51 -06:00
emerald000
df2782fdb6
[KLD] Basic implementation of energy counters. Added Woodweaver's Puzzleknot.
...
Better display of energy counters would be preferred.
2016-09-07 01:07:21 -04:00
ingmargoudt
e2a479255a
refactor : removed all instances of new Random() and replaced with RandomUtil for a ThreadLocal randomizer
2016-09-05 15:03:47 +02:00
Samuel Sandeen
148f633672
Make the Counters API for card and permanent consistent.
2016-09-03 10:33:54 -04:00
LevelX2
cb91c5b9aa
Merge pull request #2216 from stravant/master
...
Full characteristic-based card rendering for cards
2016-09-03 09:13:49 +02:00
Samuel Sandeen
85dc15c5dc
Merge remote-tracking branch 'magefree/master'
2016-09-02 19:44:51 -04:00
Mark Langen
463576dbd0
Merged up to current
2016-09-01 15:44:14 -06:00
spjspj
0f043d480d
spjspj - Implement new method for image generation of tokens.
2016-09-01 17:11:12 +10:00
Mark Langen
d33f8a636e
Most obvious bugs ironed out. Ready for PR.
2016-08-31 23:37:31 -06:00
Mark Langen
d5415d2d04
Working Card Rendering
2016-08-31 04:43:28 -06:00
Samuel Sandeen
282443c231
Add Subtype to the CardAttribute Framework
...
This is a massive change. I’ve refrained from unrelated refactoring
when possible but there are still a lot of changes here.
2016-08-28 17:30:10 -04:00
LevelX2
539b03bd1d
Xmage 1.4.14v0
2016-08-13 10:14:38 +02:00
fwannmacher
a052830628
- Removed "CARD ZONE" from tooltip when it is not necessary
2016-08-08 18:30:42 -03:00
fwannmacher
9b5a02c09c
- Fixed issue #2075
2016-08-04 09:52:56 -03:00
drmDev
f593623508
finished implementation of cards. CardView bug fix for card number change.
2016-07-26 22:58:20 -04:00
fwannmacher
10778cdd6b
- Converted CardImpl.cardNumber from int to String
...
- Fixed Issue #1953
- Fixed Issue #1914
- Fixed Issue #739
2016-07-24 15:18:54 -03:00
LevelX2
e277337c98
Xmage 1.4.13v3
2016-07-24 10:54:17 +02:00
LevelX2
3172e8b4ca
Xmage 1.4.13v2
2016-07-15 20:57:28 +02:00
LevelX2
f3f852bab7
Xmage 1.4.13v1
2016-07-12 08:00:15 +02:00
LevelX2
d0ecb473da
Xmage 1.4.13v0
2016-07-11 22:54:43 +02:00
LevelX2
1c2aa4c10a
Fixed cleint exception problem with transformable cards.
2016-07-02 18:38:29 +02:00