Commit Graph

2391 Commits

Author SHA1 Message Date
drdev
47093d857d Remove warnings 2015-06-06 17:05:05 +00:00
elcnesh
4eef9618d0 - Cleanup GameRules (mostly make a variable private)
- Minor cleanup in some other files
2015-06-04 16:06:48 +00:00
Agetian
71e4464ad9 - Clarification. 2015-06-04 07:10:37 +00:00
Agetian
1df7cfec40 - Improved the statistics display for the count of colored mana symbols in mana cost. 2015-06-04 07:05:23 +00:00
Agetian
dc5535c5ca - Added the Multi+Changed mode for displaying color identity (displays color identity of all multicolor cards and of all cards with changed identity).
- Refactored and optimized the color identity display code.
2015-06-03 07:02:10 +00:00
Agetian
6bc4848857 - Added a new color identity display mode: "Changed" (displays color identity only for cards that had their identity altered).
- Improved the use of related string constants.
2015-06-02 05:07:10 +00:00
Agetian
be9e5ef95d - String constants for the Display Color Identity setting. 2015-06-01 20:25:21 +00:00
Agetian
21323a4f72 - Added an option to display color identity of cards in the card detail panel (details in CHANGES.txt). 2015-06-01 20:04:38 +00:00
Agetian
f5264bf310 - Improved the [still ugly and hacky] temporary solution to the Morph color leak problem: will no longer leak the color information on stack, as well as will not leak the color information in mobile Forge.
- Requires further developer attention, there's probably an easier and much more elegant solution to this. Feel free to revert and commit a better fix (make sure that both stack and card detail view tests pass).
2015-06-01 17:32:15 +00:00
Agetian
60687f028d - Reverting the latest attempt at fixing the morph color leak, didn't work... again. 2015-06-01 16:42:43 +00:00
Agetian
e6711b6b28 - Morph color leak hack is no longer necessary for the desktop version of the game. 2015-06-01 15:47:55 +00:00
Krazy
314a872d08 Fixed avatars being loaded twice. 2015-06-01 04:09:33 +00:00
Krazy
5886f43f8b Moved images from cardforge.org to cardforge.link and added missing sets/some product images. 2015-06-01 03:44:10 +00:00
drdev
cceee98a0d Support copying url to clipboard when hosting 2015-06-01 00:54:43 +00:00
drdev
5f8b8db129 Remove unnecessary and duplicate code 2015-05-31 17:17:26 +00:00
drdev
84f58b42e8 Refactor constructed screen for mobile to support network play 2015-05-31 15:31:30 +00:00
drdev
67196c5ff9 Tweak chat interface 2015-05-31 11:34:48 +00:00
drdev
f4f49627cf Refactor net connection logic to be reusable by app 2015-05-31 11:21:50 +00:00
drdev
0bf8ed9546 Create Online menu 2015-05-31 02:49:41 +00:00
Sol
829d00f1fe - Attempt to always focus the OK button, even when there is a popup (like the trigger ordering popup) 2015-05-31 02:18:36 +00:00
drdev
0a0e7336aa Fix display bug when switching to lobby 2015-05-31 02:05:19 +00:00
drdev
3403dc296f Simplify UI for connecting to server and including loading screen 2015-05-31 01:57:01 +00:00
drdev
99f716f876 Eliminate need for separate lobby screen 2015-05-31 00:02:21 +00:00
Krazy
473921ecac Renamed quest preferences regarding playset size and added a third to control Relentless Rats/Shadowborn Apostle playset sizes. 2015-05-29 21:45:59 +00:00
Agetian
f7518d5ccd - Correctly format the game outcome title for a draw. 2015-05-27 15:47:49 +00:00
Krazy
c110824b17 Added two new quest preferences for controlling the number of cards to keep before selling extras. 2015-05-25 18:05:25 +00:00
Agetian
41760b1449 - Added a TODO note to the hacky fix for the morph color leaking. 2015-05-21 04:32:54 +00:00
Agetian
3ed98ea887 - Temporarily recommitting the hack that fixes the morph color being leaked (until the issue is solved for good - morphs were still leaking color). 2015-05-20 19:38:30 +00:00
elcnesh
73bef51fcc Have mobile game handle opening/closing mana pools itself
to improve compatibility with network play
2015-05-19 09:28:31 +00:00
elcnesh
9a329d515d Fix mindslaver effects.
- Fix bug where game would become unsreponsive after mind slaving ends;
- Fix bug where players could concede for mind-slaved opponents;
- Cleanup, managed to remove some fields.
2015-05-19 06:56:57 +00:00
Sol
c32dbb1012 - Attempting to improve reported Swing crash when it can't find something to Focus 2015-05-19 02:56:20 +00:00
elcnesh
9767b20386 Update and cleanup card viewing code. Fixes issue with
morph colour leaking, viewing opponent's morphs through
card zoomer, and other minor bugs.
2015-05-18 07:33:21 +00:00
Krazy
90395f8336 Fixed color distribution checkbox selection for quests. 2015-05-17 19:13:15 +00:00
Agetian
c7460d2854 - Fix a compile time warning related to the encoding of one of the source files. 2015-05-17 16:58:03 +00:00
Agetian
46f17edad0 - Reverting r29415-29422 for now because the UTF-8 characters prove to be problematic for the player unless they are transparent enough when searching for cards and typing card names (including the deck editor).
- Before having to revert these changes I managed to get the game to recognize both accented and unaccented card names in decks and for the purposes of card picture file names. However, I was not successful in implementing the similar level of transparency in the deck editor and in the card search box (e.g. "Add Card To Hand" - that type of thing).
- To continue working on this project, feel free to revert this commit locally and update the functionality to be more transparent and intuitive for the end user.
2015-05-17 16:44:30 +00:00
Agetian
3ba9e7cd03 - Fix the encoding of files with UTF-8 symbols to make them compile properly and without warnings. 2015-05-17 14:22:02 +00:00
elcnesh
b3f38edef3 Huge cleanup: use collection interfaces (List, Set, Map) rather than
implementations (ArrayList etc.) in references to objects
2015-05-17 11:28:21 +00:00
Agetian
56cc9b7b25 - Reverting the last attempt at fixing the morph color leak, the idea didn't work out, resorting to the hackier but working fix for now. 2015-05-17 07:42:42 +00:00
Agetian
0d496c153f - Corrected a couple mistypes. 2015-05-17 06:34:04 +00:00
Agetian
ce924fafe1 - Added a toggleable option "Display Tokens on a Separate Row" that controls whether tokens are displayed on their own row or on the same row as other cards. Defaults to "on a separate row" for compliance with previous behavior (and at least until this mode is tested better). 2015-05-17 06:23:05 +00:00
Agetian
1393212cec - A better fix for Morph cards leaking their color in CardDetailPanel when face-down. 2015-05-17 05:00:20 +00:00
Agetian
4ef3bad62d - Fix the face-down card color being spoiled in the border of CardDetailPanel.
- Note that there may be a bigger problem in the related code that displays the card detail panel: canShow is always 'true' on line 199, but a lot of further code assumes that canShow may be either true or false (anybody who feels comfortable with the GUI code, feel free to take a better look at this code).
2015-05-16 19:45:09 +00:00
Sol
4f5d2da2c2 - Fix issue where End Turn is focused in certain cases (like using targeting through the dev controls) 2015-05-15 14:42:03 +00:00
Sol
ff415ab90f - Move targeting arcs to initialize at the beginning of games, instead when the match is created (as suggested by Sharkus) 2015-05-15 13:31:44 +00:00
elcnesh
49dc0e2e59 Cleanup: use Lists rather than arrays whenever applicable (removes some methods) 2015-05-11 14:22:08 +00:00
drdev
d15536ae4b Fix a couple warnings
Version bump to 1.5.40.002
2015-05-04 23:30:36 +00:00
elcnesh
41ff150984 - Load cards in UTF-8 so we don't have to manually format UTF symbols
- Some cleanup
2015-05-04 09:49:10 +00:00
Krazy
22b70dda08 Added missing file from last commit. 2015-05-03 01:56:05 +00:00
Krazy
1398b690ff Overhauled the quest starting pool generation and options. See CHANGES.txt for details. Color bias quest preference will need changing to work properly (value range is now 10 times greater). 2015-05-03 01:35:21 +00:00
Krazy
f0f741ace4 Cleaned up and the new quest section for readability and added an option to allow duplicate cards in a quest's starting pool 2015-05-02 00:39:34 +00:00