Commit Graph

51595 Commits

Author SHA1 Message Date
leriomaggio
a2e97700df Simplified sorting of QuestWorld 2021-07-04 18:31:29 +01:00
leriomaggio
9d80ae2d5c Fixing format types and subtypes read after uppercase change 2021-07-04 18:22:11 +01:00
tool4EvEr
af04a994bb Restore ability 2021-07-04 18:48:47 +02:00
leriomaggio
33526bb31b Updating all enum FormatSubType to UPPERCASE as constants 2021-07-04 17:46:07 +01:00
leriomaggio
9c72cf2eb4 Updating all enum FormatType to UPPERCASE as constants 2021-07-04 17:44:53 +01:00
leriomaggio
81b214f6ed CardManager updated to instantiate quest filters without reprints
CardManager now instantiate Quest World filters forcing a NO-REPRINT policy. The `allowReprints` option was set to true by default for card and deck catalog, resulting in just a weird and unexpected side-effect IMHO. Whenever a block is selected, no other reprints should be taken into account. That's the point of choosing a block.
2021-07-04 17:40:33 +01:00
leriomaggio
eed49554b5 The CardQuestWorldFilter constructors overload to include option to disable reprints.
The CardQuestWorldFilter has been updated with two extra constructors overload that also control the option to include or not the `allowReprints` attribute.
By default, the allowReprints attribute is true for backward compatibility.

The new constructor will be used (next commit) by CardManager when creating filters in Card Catalog.
2021-07-04 17:27:56 +01:00
Hans Mackowiak
5cb384afa2 Grist: Better check for StaticAbility using ExcludeZone, fix timestamp on Stack, and extra rule for canBeCommander 2021-07-04 18:27:31 +02:00
leriomaggio
ef18dac22c CardSetFilter and DeckSetFilter now includes the allowReprints option when instantiating (for edit) the DialogChooseSets so UI updates accordingly. 2021-07-04 17:23:46 +01:00
leriomaggio
8f01f56a1e Updates to DialogChooseSets for UI sizes and status restore
First off, the status of the "allowReprints" checkbox is updated accordingly, when a filter is edited.
This fixes a previous bug that did not take this into account
(more on this, in the next commit msg).

Other improvements to the DialogChooseSets includes a better management of spaces, as well as dimension (width) of main windows that is now dynamically adapted to current resolution.

Also, this update fixes a bug having some panels dynamically adjusting height to fit components.
Now all the components should be correctly aligned, and spread across the panel.
2021-07-04 17:21:26 +01:00
leriomaggio
d8cb67a5f6 A few minor adjustments to allow the UI to restore status after an edit op. 2021-07-04 17:17:41 +01:00
paul_snoops
a08df2b69d AFR card scripts 04 Jul 2021-07-04 14:44:58 +01:00
paul_snoops
4d69748c9f AFR card scripts 04 Jul 2021-07-04 14:41:28 +01:00
tool4EvEr
12be76899a Fix amount for X spells 2021-07-04 13:41:24 +02:00
tool4EvEr
b982620402 Fix RE 2021-07-04 12:21:43 +02:00
tool4EvEr
9a58359563 Better fix for Kethis 2021-07-04 11:45:39 +02:00
Michael Kamensky
233ad71b86 Merge branch 'AffectedAmount' into 'master'
Fix AffectedAmount

See merge request core-developers/forge!4943
2021-07-04 05:04:41 +00:00
Michael Kamensky
bb9cf72912 Merge branch 'AFR_cards' into 'master'
AFR card scripts 03 Jul

See merge request core-developers/forge!4942
2021-07-04 05:04:10 +00:00
leriomaggio
3906c1f3a5 Merge remote-tracking branch 'upstream/master' into editions-type-review 2021-07-04 00:22:10 +01:00
leriomaggio
a5b256f2fb Completely redesigned DialogChooseSets to use FCheckboxTree component.
This new version of the panel is completely interactive, and dynamically populated with card editions, types, and formats.

The selection of formats leads to selections of subsets of editions (and so type), updating other components accordingly.
2021-07-03 21:32:32 +01:00
paul_snoops
12902e8b27 AFR card scripts 03 Jul 2021-07-03 21:31:11 +01:00
leriomaggio
0393c8d4d9 Updated JDocs to workaround IDE errors 2021-07-03 21:30:25 +01:00
leriomaggio
37d7ef3ee9 Brand new desktop UI Component representing a JTree of FCheckboxes
Differently from standard JTree, this component leverages on a custom TreeCellRenderer that renders each node with a checkbox, therefore rewriting completely the selection mechanism of the JTree.

This component is currently used in the DialogChooseSets to represent card editions grouped per edition type.
In general, this component can be used elsewhere, whenever nested objects for selection should be used.

The class exposes a public API for easy interaction, as well as customised classes for nodes and nodes data, and specialised events and listeners.
2021-07-03 21:29:46 +01:00
paul_snoops
1417bf436d AFR card scripts 03 Jul 2021-07-03 21:29:26 +01:00
tool4EvEr
35121c85af Fix AffectedAmount 2021-07-03 22:07:55 +02:00
leriomaggio
c9f0d81d29 Type for Custom editions changed from THIRDPARTY to CUSTOM_SET 2021-07-03 21:04:29 +01:00
leriomaggio
88bba9e7c7 Updated Chinese translations for DialogChooseSets 2021-07-03 21:03:47 +01:00
leriomaggio
8764a4d33d Updated ja-JP (Japanese) translations for DialogChooseSets 2021-07-03 20:59:33 +01:00
leriomaggio
a6d306cb36 Updated it-IT (Italian) translations for DialogChooseSets 2021-07-03 20:54:55 +01:00
leriomaggio
4f0791aac0 Updated es-ES (Spanish) translations for DialogChooseSets 2021-07-03 20:46:37 +01:00
leriomaggio
09e778daeb Updated de-DE (German) translations for DialogChooseSets 2021-07-03 20:43:01 +01:00
leriomaggio
8e3644a0f6 Updated En-US translations for DialogChooseSets 2021-07-03 20:30:31 +01:00
leriomaggio
c3db51b5f8 Updated Javadoc param 2021-07-03 20:14:37 +01:00
paul_snoops
9af01ed521 AFR card scripts 03 Jul 2021-07-03 16:53:58 +01:00
paul_snoops
063cbbfd8a AFR card scripts 03 Jul 2021-07-03 14:36:47 +01:00
Michael Kamensky
ef79f05db3 Merge branch 'cardfixes' into 'master'
Entwine fix

See merge request core-developers/forge!4941
2021-07-03 13:27:06 +00:00
tool4EvEr
8562f2f28d Entwine fix 2021-07-03 15:16:36 +02:00
Michael Kamensky
3e72125163 Merge branch 'play' into 'master'
PlayEffect: small fixes

See merge request core-developers/forge!4939
2021-07-03 04:49:03 +00:00
Michael Kamensky
3e007065b0 Merge branch 'AFR_cards' into 'master'
AFR card scripts 02 Jul

See merge request core-developers/forge!4938
2021-07-03 04:48:38 +00:00
paul_snoops
31fb70f115 AFR cards from various Discord contributors 2021-07-03 03:19:12 +01:00
paul_snoops
7e0e24ddd7 AFR cards from various Discord contributors 2021-07-03 01:19:40 +01:00
tool4EvEr
c52a94bbfc Refactor for facedown 2021-07-03 00:48:05 +02:00
paul_snoops
80aa06cd92 AFR cards from various Discord contributors 2021-07-02 17:34:49 +01:00
paul_snoops
dcd42ef387 AFR cards from various Discord contributors 2021-07-02 17:31:57 +01:00
paul_snoops
7da17c3a36 AFR cards from various Discord contributors 2021-07-02 15:26:26 +01:00
paul_snoops
88afa85e88 AFR cards from various Discord contributors 2021-07-02 11:01:14 +01:00
paul_snoops
16c7add22c AFR cards from various Discord contributers 2021-07-02 09:40:03 +01:00
Michael Kamensky
82339213a8 Merge branch 'master' into 'master'
Added puzzle PS_STX5.

See merge request core-developers/forge!4937
2021-07-02 05:35:55 +00:00
Michael Kamensky
36caca89b6 - Added puzzle PS_STX5. 2021-07-02 08:31:50 +03:00
Michael Kamensky
3ced2f2a24 Merge branch 'afr_dungeon_related_cards' into 'master'
Implement some cards with dungeon mechanism that needs engine change.

See merge request core-developers/forge!4936
2021-07-02 05:03:29 +00:00