Commit Graph

2144 Commits

Author SHA1 Message Date
drdev
63304d006a Attempt to fix issue with saving deck favorites 2015-05-05 00:06:07 +00:00
drdev
2e1d4de1cd Avoid using java.nio since it breaks Quest Mode in Android app 2015-05-04 23:48:54 +00:00
drdev
d1f6e6361a For non-network lobby, default new players to AI 2015-05-03 17:47:58 +00:00
drdev
33305205c6 Use 30 life instead of 40 for 2 player Commander 2015-05-03 17:45:41 +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
47712e5841 Quest save backups now get renamed when the quest does. 2015-05-02 00:42:30 +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
d0ffa1c4e3 Fix constructor for GauntletMini 2015-04-30 10:07:34 +00:00
elcnesh
0ab47360b2 Relax quest pref constraints and cleanup related code 2015-04-30 09:58:54 +00:00
Krazy
82adcf8103 Backups are now created for quest files when saving in the event that the save is corrupted. 2015-04-30 02:50:55 +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
ca21f3a298 Clean up CardType
- Treat core types and super types as static, no longer
  read them from a file. Adding types this way isn't compatible
  with the program so it served no purpose for users anyway.
- Merge instant and sorcery types into "spell types", as specified
  by the comp rules.
- Remove some unused methods and restructure/clean up some others.
2015-04-29 18:24:58 +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
4b7b38506e Add Net Commander Decks to Deck Manager 2015-04-25 15:44:55 +00:00
drdev
1018eb2db4 Add Draft and Sealed decks to Deck Manager 2015-04-25 14:29:24 +00:00
drdev
6a8c0ddece Support viewing and editing variant deck types on Deck Manager 2015-04-25 14:14:42 +00:00
drdev
0eba04016a Start working on Online screens 2015-04-24 14:36:35 +00:00
drdev
bd13f48890 Rename Deck Editor to Deck Manager 2015-04-24 13:41:38 +00:00
drdev
1f7c8d3a50 Prevent AI taking over from double-clicking Auto button 2015-04-23 03:09:44 +00:00
drdev
172c172fa5 Start working on new menu screens 2015-04-22 22:42:51 +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
7538d552eb Commit some files that were somehow left out of previous commit. 2015-04-20 14:41:03 +00:00
elcnesh
f6b1c11c62 Commit some files that were somehow left out of previous commit. 2015-04-20 14:40: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
2b328f9bdd Prevent matches you quit early sticking around 2015-04-20 13:41:40 +00:00
drdev
4b9fa55f05 Fixed switch statements 2015-04-20 12:55:59 +00:00
Krazy
49074ad0ec Fixed a bug that resulted in cards being removed from the shop more than the number of times they should have been. 2015-04-19 22:31:34 +00:00
drdev
75ba19d5af Fix Net Decks in Deck Editor 2015-04-19 22:28:11 +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
6eac1843e7 Show "Next Round (X/Y)" when between Gauntlet matches 2015-04-19 20:21:52 +00:00
drdev
42cfec383f Fix so Gauntlet game screen closed after continuing to next match 2015-04-19 20:16:58 +00:00
drdev
4ea3e7cf46 Fix so gauntlet opponent win count is accurate 2015-04-19 19:19:25 +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
drdev
3bdc842fde Save single card zoom setting between sessions 2015-04-19 14:59:03 +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
6dacb83c37 Lots of code cleanup, including removing some useless null checks,
preventing some NPE's before they ever occur, and clean up some
of the inheritance hierarchy.
2015-04-13 14:29:01 +00:00
drdev
6b59666dab Fix so manlands are moved to creature row properly in mobile app 2015-04-12 20:12:23 +00:00
drdev
7af4cf87ea Fix filtering when only multicolor selected 2015-04-12 19:30:11 +00:00
drdev
3c80291124 Fix so deck colors don't automatically include all hybrid colors 2015-04-12 19:26:21 +00:00
drdev
82cd3cc1fe Tweak previous fix 2015-04-12 19:06:20 +00:00
drdev
09ee764b20 Make it easier to filter down to lands for your deck 2015-04-12 18:36:29 +00:00
elcnesh
bbd6db8078 Fix sound pausing when minimising (both in menu and games) 2015-04-12 07:41:28 +00:00
drdev
41a466ea23 Showing "Waiting for opponent..." while opponent declares blockers 2015-04-10 21:16:01 +00:00
elcnesh
a859902c20 - Add UPnP support to Forge game server
- Fix closing of server
- Fix server (Netty) log configuration
2015-04-10 13:39:53 +00:00