Commit Graph

2144 Commits

Author SHA1 Message Date
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
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
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
drdev
14ca6da9cf Avoid prompting user to choose which replacement effect to apply first if all options are the same 2015-04-06 20:11:53 +00:00
drdev
a340fcc6cd Support importing deck from clipboard on mobile app 2015-04-05 17:36:10 +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
edeeec11d1 Don't rethrow ALL exceptions when loading a Gauntlet, to ease debugging 2015-04-04 14:26:28 +00:00
elcnesh
be29014d59 Replace poison in player details panel with Command zone button 2015-04-04 13:17:47 +00:00
Sol
0584270a94 - Fix Jhoira of the Ghitu when activating multiple times in a row. 2015-04-03 16:41:32 +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
eb1f53ef54 Getting tired of these "bug" reports on selecting starting
player in multiplayer matches, added a sentence to the prompt
2015-04-02 09:28:39 +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
398ef0ac4f Don't allow confirm dialog without title 2015-04-02 08:48:12 +00:00
drdev
dd09d623c8 Prevent losing card reordering in hand 2015-03-22 18:50:44 +00:00
elcnesh
0da82f5c8e Prevent users from setting some quest preferences < 1. 2015-03-20 10:48:59 +00:00
elcnesh
72d40d7f49 Re-randomise decks when starting a new match from the same lobby. 2015-03-19 11:24:05 +00:00
elcnesh
bad910014c Fix some more issues.
- Fix issue where avatars would get mixed up or assigned randomly
- Fix issue where "{player's}" would display rather than name when revealing cards in hand
2015-03-18 17:54:42 +00:00
elcnesh
eeb67ab6e4 Fix many issues with the recent GUI and lobby refactorings.
- Fix closing screen of AI vs AI and multiplayer games
- Fix developer mode toggle boxes starting out in wrong state
- Fix storm count not displaying
- Fix deck selection when changing game variants
- Fix deck selection when returning to lobby after visiting a game
- Fix too many player panels appearing in games after a previous multiplayer game
2015-03-18 17:08:18 +00:00
elcnesh
b395d34eeb Finish ready buttons for network lobby. 2015-03-16 12:55:52 +00:00
elcnesh
82deb0c537 Add (for now nonfunctional) ready buttons to network lobby. 2015-03-16 08:11:55 +00:00
drdev
30c5114b3f Fix number input prompt 2015-03-15 17:01:23 +00:00
drdev
4611aca8f7 Make chat window movable and resizable 2015-03-15 02:52:15 +00:00
elcnesh
b98684877d Refactor lobby and add network support.
- Lobby code has been revised completely to support network lobbies;
  code has been separated into model and view parts.
- Added preliminary network game support; most of it should be working
  but hasn't been tested thoroughly.
- Fixed issue where controlling another player wouldn't be recognised
  by the GUI.
- Fixed issue where hand panels wouldn't display anymore.
- Minor fixes/cleanup.
2015-03-14 10:53:09 +00:00
drdev
30dfaaf6df Planar conquest updates 2015-03-14 01:39:40 +00:00
drdev
328057b722 Support moving around map 2015-03-13 12:36:43 +00:00
drdev
c809b1757b Support drawing planeswalker token 2015-03-13 11:37:29 +00:00
drdev
52cb888706 Add fog of war effect 2015-03-12 05:20:48 +00:00
drdev
af6cd2c896 Prevent boss being the wrong color 2015-03-12 05:08:20 +00:00
drdev
77204a913d Support rendering path through regions based on opponents 2015-03-12 04:26:21 +00:00
drdev
ebf40b96cc Start refactoring Planar Conquest to support new mobile friendly format 2015-03-12 02:15:10 +00:00
-gz
2d7a38db1a Fix r28874 bug in limited gauntlets preventing progress past the first round 2015-03-08 23:30:26 +00:00
drdev
c4397ba6e3 Fix Ponder crash 2015-03-08 23:21:49 +00:00
elcnesh
3de6d6c4a0 Fix bug in default preferences causing game to crash. 2015-02-27 19:17:36 +00:00
elcnesh
ca82a3b0d9 Some more network stuff. We almost have a working lobby! 2015-02-27 13:02:20 +00:00
elcnesh
7ff89bd6b2 Start fleshing out network support. Preliminary support for:
- Network communication (both chat and game data);
- Lobby including remote players.
Long way to go before actually starting a network game, but we're getting there!
2015-02-26 09:13:40 +00:00
elcnesh
eedb76c31e Fix (now really, I hope) ai vs ai matches in quest tournament mode. 2015-02-23 10:03:41 +00:00
asepetci
5d0bb6c28d Limited type games now start normally (mobile platform fix) 2015-02-22 16:10:13 +00:00
elcnesh
ab1d24cc8a - Fix match music not stopping when moving Forge to background
- Fix quit warning not mentioning matches when one or more are active
- Some minor fixes and cleanup
2015-02-22 00:18:50 +00:00
elcnesh
2e7d68581a Revert part of 28884 that caused the win/lose dialog to not appear anymore. 2015-02-21 00:41:02 +00:00
elcnesh
377093f23b Fix some issues with the new GUI code:
- Fix cards not showing up in image panel when hovering
  (both in match and deck editor)
- Fix win/lose screen and related parts of the interface
2015-02-20 19:41:06 +00:00
Agetian
33a9c169fd - Fix quest draft tournaments not available in Vintage and Legacy sanctioned format quests. 2015-02-20 16:45:55 +00:00
elcnesh
8267667a4d - Fix error when running AI vs AI games
- Fix display of battlefields (relative positions of creatures/lands)
- Fix being able to see hidden cards using mouse wheel
2015-02-19 08:14:25 +00:00
elcnesh
7d4364c036 Fix non-fatal error when starting a match. 2015-02-17 12:45:22 +00:00
elcnesh
4a38b0d817 Huge update to the GUI codebase.
- Make match screen in gui-desktop non-singleton, allowing multiple games to be played simultaneously.
- Separate global gui commands (IGuiBase) from game-specific gui commands (IGuiGame), allowing games to send their commands to the correct gui.
2015-02-17 08:47:55 +00:00
Myrd
3ecb80f8d2 Slightly better fix for make canceling Delve refund exiled cards. I think this fixes a bug in the previous fix where AI would never exile the cards they chose to delve. 2015-02-15 20:41:31 +00:00
drdev
883e011501 Prevent picking illegal commander deck when choosing random tiny leaders 2015-02-15 16:53:09 +00:00
Sol
c29aa269b9 - Don't prompt user for mandatory targeting of minTargets = 0 with no legal targets. 2015-02-15 15:51:51 +00:00