Commit Graph

8293 Commits

Author SHA1 Message Date
drdev
c32ade2bc0 Fix so combat arrows go away when combat ends 2014-10-13 03:36:43 +00:00
drdev
b663642d49 Prevent losing all planeswalker abilities after one activation 2014-10-13 03:28:30 +00:00
drdev
498283f9b4 Optimize getCardTypesFromList 2014-10-13 03:12:58 +00:00
drdev
d3c3e6fe43 Prevent passing game object to client when adding card to field 2014-10-13 02:29:42 +00:00
drdev
2b2e55a142 Prevent crash potential when updating attacker for view 2014-10-13 01:34:35 +00:00
drdev
7a1313d332 Fix crash when selecting a fake card in a list view 2014-10-13 01:29:44 +00:00
drdev
f905903db1 Fix bugs related to mana abilities being excluded 2014-10-13 01:17:02 +00:00
drdev
994903d080 Fix so log is updated immediately 2014-10-13 00:13:55 +00:00
drdev
57890310d8 Remove duplicate function for getting mana abilities 2014-10-12 22:52:11 +00:00
drdev
4cfb6a8659 Refactor card abilities into FCollections to protect access 2014-10-12 22:47:48 +00:00
drdev
6a299b89bf Fix crash when viewing Player pane 2014-10-12 21:32:37 +00:00
drdev
144f651fa0 Support caching ability text and certain keywords in view
Update names of certain classes and fields for better consistency
Fix so summoning sickness icon doesn't appear for creatures with Haste
2014-10-12 21:23:27 +00:00
drdev
7ec8d04eb7 Reduce how often updateState is called for CardView 2014-10-12 16:18:21 +00:00
drdev
d744f76024 Prevent commander effect appearing in UI 2014-10-12 15:59:20 +00:00
drdev
8bf08cf12a Prevent crash in updateSingleCard 2014-10-12 15:55:58 +00:00
drdev
c7b8a070f8 Fix so Enters the Battlefield triggers work 2014-10-12 15:43:31 +00:00
drdev
f172e72604 Prevent stack overflow error with FCollection.addAll 2014-10-12 14:22:34 +00:00
drdev
ecebe7e13d Remove unnecessary comments 2014-10-12 01:42:21 +00:00
drdev
92f187f6e3 Refactor card types to use class instead of a List<String>
Optimize Zone and other areas to use CardCollection
2014-10-12 01:37:27 +00:00
swordshine
351f0df19a - Attempt to fix NPE when handling the Legendary rule and Planeswalker rule 2014-10-11 04:32:00 +00:00
drdev
ce0266c3d5 Fix crash with chosen player 2014-10-10 16:38:38 +00:00
drdev
f74f438765 Fix crash with Battalion 2014-10-10 16:23:24 +00:00
drdev
ea5e4857af Prevent details mismatching in deck editor 2014-10-10 16:02:35 +00:00
drdev
d7d79d11cd Fix crash with split cards 2014-10-10 15:52:48 +00:00
drdev
1d67bcbcc1 Fix so card text shows up properly in details pane 2014-10-10 15:43:21 +00:00
drdev
dfb260286a Fix so summoning sickness icon appears initially 2014-10-10 14:27:57 +00:00
drdev
3538823e11 Swap out old GameView structure for new one 2014-10-10 05:52:18 +00:00
Sloth
42e3778778 - Added AI support for Perilous Research (given the right deck). 2014-10-09 21:57:45 +00:00
drdev
8f023aaed3 Support updating game view 2014-10-09 15:01:45 +00:00
drdev
91e509ffd6 Fix so player view has zone updated 2014-10-09 01:50:29 +00:00
drdev
1ac14d3a29 Code cleanup 2014-10-09 01:36:52 +00:00
drdev
5e22f01358 Remove old implementation of game state serialization that was never used anyway 2014-10-09 01:30:16 +00:00
drdev
122e1ca75a Fix crash when tapping mana 2014-10-09 01:12:59 +00:00
drdev
14c5e5242f Support updating mana for player view 2014-10-09 01:09:54 +00:00
drdev
4ee4919d58 Remove unnecessary comments 2014-10-09 00:49:22 +00:00
drdev
6c95af229a Support storing commander and commander damage in player view 2014-10-09 00:33:38 +00:00
drdev
5563d8b1c6 Support parsing keywords for players
Support updating PlayerView properties
2014-10-08 23:33:36 +00:00
drdev
9ba67076dc Add enum and instance classes for keywords 2014-10-08 19:34:14 +00:00
swordshine
fb882f0fdb - Fixed last commit 2014-10-07 07:47:25 +00:00
swordshine
267a9a2801 - Fixed copyParamsToMap 2014-10-07 07:05:17 +00:00
drdev
0851301985 Add serialize and deserialize logic for trackable objects 2014-10-07 05:39:35 +00:00
drdev
f0fc60b9dc Support easily serializing and deserializing the TrackableProperty enum values themselves 2014-10-07 04:34:54 +00:00
drdev
b8285e3694 Add TrackableTypes to facilitate determination of default values as well as provide methods for loading and saving the property to file 2014-10-07 04:24:57 +00:00
drdev
75d1f5dea6 Add CardCollection class and special methods to CardView to make it easier to track changes to collections and make it possible to prevent changes outside Card class
Add delayed initialization of certain collection fields to Card to reduce memory usage and improve performance
2014-10-06 23:12:49 +00:00
drdev
44664bd30e Optimize the logic around for attaching cards to other cards/players 2014-10-06 15:12:02 +00:00
drdev
5bfd8462b9 Fix crash when a split card is initialized 2014-10-06 05:46:57 +00:00
drdev
755fcfc087 Fix crash in WrappedAbility 2014-10-06 05:41:24 +00:00
drdev
2cedade957 Fix crash in tempShowCard
Fix crash that can occur from calling canPlay too early
2014-10-06 05:20:48 +00:00
drdev
255fc2ea5f Prevent crash when opening deck editor 2014-10-06 04:57:42 +00:00
drdev
afcad4e672 Commit stage 1 of large game view refactoring 2014-10-06 04:06:42 +00:00