Commit Graph

3343 Commits

Author SHA1 Message Date
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
Sol
d56de04577 - Improve breath of fury choose card title 2015-04-29 03:21:59 +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
cbc44719ce Fix line endings to prevent Workshop always prompting to save right away 2015-04-20 13:22:36 +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
drdev
e18f327ebe Update CHANGES.txt 2015-04-16 15:29:02 +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
drdev
b6932249a8 Update net-decks.txt 2015-04-10 20:06:59 +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
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
Sol
f046d43a42 - Reverting change to blocks.txt, Khans of Tarkir and Dragons of Tarkir are not drafted together. (See Innistrad/Avacyn Restored higher up the list) 2015-04-08 23:04:35 +00:00
drdev
7ba88086b0 Fix so you don't get prompted multiple times to select order of simultaneous triggers 2015-04-08 13:26:18 +00:00
elcnesh
4182d581ec Refactor zone updates to be more stable and a bit faster. 2015-04-08 11:57:52 +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
swordshine
c4e4f02f93 - Fixed Ruthless Deathfang 2015-04-07 03:55:38 +00:00
drdev
b0175662ee Avoid prompting user to select order abilities go on the stack if all abilities are the same 2015-04-06 20:20:29 +00:00