Commit Graph

2254 Commits

Author SHA1 Message Date
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
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
elcnesh
8530af204a - Add menu item to open chat panel
- More cleanup
2015-04-15 15:47:34 +00:00
elcnesh
f61a1aa179 Cleanup
- Use collection interfaces (List) rather than classes (ArrayList)
- Remove some unnecessary null pointer checks
2015-04-15 15:40:54 +00:00
elcnesh
bbd6db8078 Fix sound pausing when minimising (both in menu and games) 2015-04-12 07:41:28 +00:00
elcnesh
edbebf27c0 - Saving a deck now properly updates the deck in the lobby
- Prevent NPE when loading a deck with nonexistent cards
- Clean up warning messages about deck conformity
- Lots of code cleanup and simplifications
2015-04-09 22:11:12 +00:00
elcnesh
4182d581ec Refactor zone updates to be more stable and a bit faster. 2015-04-08 11:57:52 +00:00
elcnesh
77b69f2f1e Add heart icon to life total label when gaining poison counters
(similar to mobile version)
2015-04-08 11:56:43 +00:00
elcnesh
8acb8a7f23 - Fix vanguard avatar selection in lobby
- Fix card (image) viewing with multiple players in same GUI
- Fix dev mode toggle buttons with multiple players in same GUI
- Fix possible NPE in Quest mode (related to Antes)
- Some cleanup
2015-04-08 09:03:33 +00:00
drdev
5f68844fa4 Refactor deck import logic to be reusable by mobile game
Don't prompt about replacing deck contents if deck is empty
2015-04-05 16:36:02 +00:00
elcnesh
259291367f Prevent NPE when watching a game 2015-04-04 14:24:25 +00:00
elcnesh
be29014d59 Replace poison in player details panel with Command zone button 2015-04-04 13:17:47 +00:00
elcnesh
dc4559c577 Attempt to combat game memory leaks after game finishes.
- Make PLAY_LAND_SURROGATE a game field rather than static
- Remove games from cache more aggressively
- Remove targeting overlay from global view after game ends
2015-04-02 14:35:42 +00:00
elcnesh
b7a47736bf Fix Vanguard avatar selection in lobby 2015-04-02 12:33:55 +00:00
elcnesh
6bc69d0935 Update stability and fix issues in lobby and network games.
- Fix closing the lobby/client so that it notifies the clients/server.
- Improve deck selection in lobby (no longer adds Planes to deck and saves)
- Improve responsiveness of lobby over network
- In 2-player game over network, always assign local player to slot 0
- Warn when starting a commander deck without a commander
- Put poison counters next to life total (frees up space in the details panel)
2015-04-02 08:56:31 +00:00
elcnesh
d3bcc089e3 Prevent some NPE's in the card zoomer 2015-04-02 08:51:23 +00:00
elcnesh
13ec102371 Hide "start new game" overlay after game is started. 2015-04-02 08:49:48 +00:00
drdev
dd09d623c8 Prevent losing card reordering in hand 2015-03-22 18:50:44 +00:00
elcnesh
44cfbd5179 Add tooltip to player avatar with player details. 2015-03-22 15:26:30 +00:00