Commit Graph

1682 Commits

Author SHA1 Message Date
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
drdev
caf5817d0b Support generating proper Tiny Leaders decks 2015-02-15 15:33:18 +00:00
drdev
edaa52b507 Support restricting card pool at deck format level 2015-02-15 01:53:14 +00:00
drdev
2b4a509b78 Start fleshing out UI support for Tiny Leaders format 2015-02-14 23:01:35 +00:00
Hellfish
8e62e17f65 *Made Delved cards not exile until cost is fully paid 2015-02-14 09:09:04 +00:00
drdev
9e03f047a9 Update Net decks urls 2015-02-10 15:16:26 +00:00
Myrd
859a853499 Add a somewhat hidden option in the UI to turn on simulation via a context menu on the AI radio button on desktop.
This allows choosing the AI mode without recompiling and also allows things like making a non-simulation AI play a simulation AI.
2015-02-07 18:32:02 +00:00
Maxmtg
1eeaa685db another clean-up for quest drafts (add ROE x3 drafts, fix core set drafts) 2015-01-30 07:26:48 +00:00
Agetian
0594145a4f - Fix triple draft set choices in Quest draft tournaments. 2015-01-30 05:49:17 +00:00
Maxmtg
aea1512435 ref: CardBlock offers sets as unmodifiable list, QuestEventDraft takes up less code :) 2015-01-30 05:22:09 +00:00
Agetian
610c5d308c - Somewhat more meaningful and correct variable names. 2015-01-27 19:32:20 +00:00
Agetian
b112a63d22 - Fix the draft order for sets before Mirrodin Besieged in Quest draft tournaments. 2015-01-27 19:30:43 +00:00
elcnesh
864b967465 Don't ask to delve if graveyard is empty. 2015-01-27 15:42:32 +00:00