Commit Graph

769 Commits

Author SHA1 Message Date
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
drdev
03b78eb1f1 Version bump to 1.5.40.001 2015-05-03 17:19:52 +00:00
Krazy
86aaac2dab [maven-release-plugin] prepare for next development iteration 2015-05-03 15:03:03 +00:00
Krazy
f05b0aee30 [maven-release-plugin] prepare release forge-1.5.39 2015-05-03 15:02:57 +00:00
Krazy
97aeacde09 Removed Maven release backup files. 2015-05-03 14:20:29 +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
elcnesh
bfdcaa6a1a Huge cleanup of gui and desktop code
- Remove lots of unused classes and methods
- Remove code related to transitioning deck format
- Refactor some interface structures
- General cleanup (imports, indentation etc.) thanks to Eclipse
- Some very minor bugfixes
2015-05-01 19:27:48 +00:00
elcnesh
0ab47360b2 Relax quest pref constraints and cleanup related code 2015-04-30 09:58:54 +00:00
Krazy
82e3586b9d Delete the quest save backups when deleting the quest. 2015-04-30 03:26:37 +00:00
elcnesh
efe6034837 - Move some files around in net code (plus some cleanup)
- Remove an unused method from IGuiGame
2015-04-29 18:50:12 +00:00
elcnesh
41fdcc9b50 - Fix NPE at end of network game
- Update some strings
2015-04-26 17:00:15 +00:00
elcnesh
addcece582 - Huge update to network play
- Updated protocol: now used everywhere for type checking
  - No more locks between server and client: client no longer expects any replies
  - More code reuse
  - Fixed issue with location of multiple abilities selection popup menu
  - Improved stability; actual games should now be possible
- Other updates
  - Mobile version player panel now uses same code as desktop
  - Remove automatic "view all cards" cheat in hotseat (no longer necessary)
  - Code cleanup
2015-04-26 10:54:55 +00:00
drdev
1018eb2db4 Add Draft and Sealed decks to Deck Manager 2015-04-25 14:29:24 +00:00
elcnesh
f4ce1d67ef Fix online lobby failing to update when menu item was clicked 2015-04-24 22:25:29 +00:00
elcnesh
91d9987c1f - Delegate network game communication to a new GameProtocol class
- Rename a method to make it compatible with the new protocol
2015-04-22 17:55:58 +00:00
elcnesh
705d6cb937 - Remove old net code
- Remove "Start/Stop Server" buttons (related to old code)
- Move new net code to forge-gui/forge/net/**
- Remove all dependencies on project forge-net
2015-04-20 14:40:26 +00:00
elcnesh
62a7b2b98d - Remove the Players and Command panels
- Some more cleanup
- Cleanup the Animation class (public method signatures unchanged)
2015-04-20 14:19:57 +00:00
elcnesh
586cb90697 Lots of cleanup: correct static field/method access,
proper fall-through documentation, and some minor things.
2015-04-20 13:49:01 +00:00
drdev
ea25e6ad1e Prevent Workshop always prompting to save right away 2015-04-20 13:30:28 +00:00
drdev
cbc44719ce Fix line endings to prevent Workshop always prompting to save right away 2015-04-20 13:22:36 +00:00
drdev
5a3e7b60c1 Avoid showing gauntlet progress dialog unless match is over 2015-04-19 20:42:55 +00:00
drdev
9a9ce51641 Deal with corrupt Gauntlet files more gracefully 2015-04-19 20:35:28 +00:00
drdev
42cfec383f Fix so Gauntlet game screen closed after continuing to next match 2015-04-19 20:16:58 +00:00
drdev
f46214c4e0 Support opening Deck Editor from home screen directly
Cleanup logic that builds deck lists
2015-04-19 17:06:18 +00:00
drdev
091556d284 Support Random Favorite Deck option 2015-04-19 15:43:07 +00:00
elcnesh
45f552bc22 Synchronise Dev mode toggle options (play lands/view cards)
between panel and menu
2015-04-15 15:49:02 +00:00