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
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
Hellfish
a73b67dc04
Do not draw targeting arc stack->player if player avatar isn't showing. Fixes IllegalComponentStateExceptions.
2015-03-14 09:56:47 +00:00
drdev
d5de183042
Prevent mulligans resulting in face down cards
2015-03-12 22:13:11 +00:00
drdev
f71a12d824
Remove outdated references to Card class
2015-03-12 21:15:50 +00:00
Myrd
219eae0a00
Refactor logic for continuing simulation to SimulationController class.
2015-03-08 17:13:43 +00:00
drdev
e1457ad744
Make FDialogs more mobile-friendly
...
Fix Concede so dialog shown
2015-03-07 16:49:33 +00:00
elcnesh
600566a8c7
Fix possible runtime exceptions with Targeting Overlay.
2015-03-03 08:27:29 +00:00
Myrd
3b54fd2fce
Fix copying game objects with chosen things (for simulation AI).
2015-03-03 00:50:52 +00:00
Myrd
8fd250409c
Fix NPE with abilities that require player to "divide as you choose" in simulation AI.
2015-03-01 18:08:25 +00:00
Myrd
3430877613
Fix copying game with permanents changed to creatures in AI simulation.
2015-02-28 15:42:13 +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
aa5529a4b0
Fix card display in multiple-zone selection list (eg Scavenging Ooze's ability).
2015-02-23 11:00:32 +00:00
elcnesh
5a0531b045
Fix card display being wrong when opening floating card windows.
2015-02-23 10:37:57 +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
elcnesh
2e6452d03f
Prevent possible NPE.
2015-02-22 00:23:08 +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
215ccc4c78
Fix possible NPE related to card picture (plus some cleanup for those classes).
2015-02-21 14:52:48 +00:00
Agetian
b3800ee4d4
- Fix CMatchUI.confirm not updating the card picture/detail box when querying the player about a card.
2015-02-21 13:44:10 +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
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
Myrd
8e1c0d5d08
Fix NPE when switching to Workshop tab.
2015-02-18 02:23:36 +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
4ac5d67a02
Fix game copy error with manifested non-creatures.
2015-02-16 07:43:34 +00:00
Myrd
cbdfea1749
Delete duplicate unused class.
2015-02-16 03:48:08 +00:00
Myrd
3ee94e67f4
- Copying a deck list table now copies it in the same format as accepted by the importer.
2015-02-16 03:47:55 +00:00
drdev
883e011501
Prevent picking illegal commander deck when choosing random tiny leaders
2015-02-15 16:53:09 +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
Myrd
6af65c0db9
Fix GameCopier to preserve tracking of loyalty ability activations.
2015-02-14 18:56:26 +00:00
Myrd
7006d85d25
Fix some problems with recursive simulation and tweak debug output. Also, optimize evaluation in summon sick mode.
2015-02-14 16:13:04 +00:00
Myrd
edbbc582c7
Fix game copy error with monstrous with a test.
2015-02-13 05:17:22 +00:00
Myrd
5617b87c28
Re-enable test now that it's fixed.
2015-02-12 04:44:08 +00:00
Myrd
1963cc94ad
Fix simulated AI finding wrong card in hand when simulating and add a test.
2015-02-08 20:21:23 +00:00
Myrd
2766caec2c
Fix simulation of unmorph abilities that don't use the stack, with a test.
...
Also, disables a test that started to fail for some reason. Will investigate why it's failing after this commit.
2015-02-08 18:08:51 +00:00
Sloth
74d25c7ce1
- Fixed two typos.
2015-02-08 12:59:08 +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
Myrd
4e1706ad22
Remove some assumptions about ordering of players in simulation AI code.
2015-02-07 17:54:43 +00:00
Myrd
cfd38b7111
Fix game copy inconsistency with paid echo cost during simulation.
2015-02-07 02:55:48 +00:00
Myrd
2c25351a2e
Fix ETB effects not triggering during simulation and add a test.
2015-02-06 04:06:11 +00:00
Myrd
392e8e7008
Fix game copy error with equipment.
2015-02-05 02:52:15 +00:00
Myrd
8d5706b36e
Fix copying game with static effects to not double count them along with expanded tests for this.
2015-02-03 04:43:40 +00:00
Myrd
16ac1713c5
Add a failing simulation test related to static abilities.
...
Will enable the test in the CL that fixes it.
2015-02-03 03:26:58 +00:00
Myrd
58b2e2b24a
Add first unit test for game simulation AI - tests the fix for activations of ability triggers from my last commit.
2015-01-31 19:02:37 +00:00
elcnesh
92b80c69ff
Refactoring changes and other updates:
...
- Completely refactor continuous static effects. Layers are now implemented properly in the sense that every effect applies the relevant parts in the relevant layer, while locking in the set of cards to which it applies.
- Refactor the (un)freezing of Trackable objects to a per-game Tracker object rather than static methods, to allow multiple games hosted on the same machine.
- Refactor the changing of card colours to match other parts of the code (like type and P/T changing) more closely. Also get rid of some static parameters in that code.
- Some changes in how split cards on the stack are handled to make them more robust.
- Some more minor changes/cleanup.
2015-01-26 10:41:06 +00:00
drdev
6d5416c175
Fix how net deck categories appear in select list
2015-01-25 05:12:54 +00:00