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
drdev
30fbe55ac3
Add Net Decks support
2015-01-25 05:10:32 +00:00
Agetian
e50e7f575e
- Fixed the game spoiling card IDs when looking in the players' libraries, opponent's hand, etc.
2015-01-21 08:16:46 +00:00
Agetian
56dd767343
- Revert the last couple commits, looks like there is no unwanted console spamming if everything is set up properly.
2015-01-14 04:59:23 +00:00
Agetian
eaa80c9583
- Avoid spamming "picture not found" messages when looking for XLHQ art.
2015-01-13 19:57:17 +00:00
Agetian
3c3a830d04
- Refactored the XLHQ card zoom code, moved GetImageXlhq to FImageUtil where it belongs more.
2015-01-13 18:04:45 +00:00
Agetian
c9e4dd9ffc
- Support foiling XLHQ card images.
2015-01-13 17:55:36 +00:00
Agetian
1bd2aff0b1
- Added support for zooming in to XLHQ tokens (documented in CHANGES.txt).
2015-01-13 17:37:24 +00:00
Agetian
b7191150f0
- Reorganized the imports a little bit.
2015-01-13 16:56:06 +00:00
Agetian
027f0038e7
- Added a way to zoom to a XLHQ card picture if available (optional), documented it in CHANGES.txt.
...
- Fixed the planes and phenomena not being rotated 90 degrees when zooming in on them.
2015-01-13 16:54:12 +00:00
Agetian
3a45df9217
- Fixed the image sprite loading bar going to 116% instead of to 100%.
2015-01-13 14:29:37 +00:00
Myrd
1a8ab8dfd0
Move DeckHtmlSerializer.java to forge-gui-desktop from forge-gui and remove freemarker as a dependency of forge-gui.
...
This removes a couple thousand unused methods from the Android APK.
2014-12-30 21:03:57 +00:00
Myrd
bf34aec4fc
Get rid of global static Card cache and hang it off the Game instead.
...
This paves the way for having multiple simulataneous game objects (e.g. for simulation).
2014-12-28 16:31:23 +00:00