Commit Graph

2877 Commits

Author SHA1 Message Date
drdev
655e1f7e0f Support rotating top player panel when playing Human v. Human on same device 2014-09-25 13:29:51 +00:00
drdev
62ab06b188 Support drawing prompt rotated 180 degrees 2014-09-25 12:52:11 +00:00
drdev
4e2729b4f0 Prevent showing menu bar when there are two prompts 2014-09-25 11:41:49 +00:00
drdev
1b0346219d Code cleanup 2014-09-25 11:37:24 +00:00
drdev
42af632ccf Fix so opponent's hand shown for duration of mindslave turn 2014-09-25 11:33:00 +00:00
drdev
b92f67aa7e Change API version back to 19 to see if that helps
Version bump to 1.5.28.005
2014-09-24 21:19:38 +00:00
drdev
1af5223b82 Fix so ability selection dialog formats text correctly 2014-09-24 21:12:52 +00:00
drdev
c9e131a1f0 Refactor code to prevent duplication of match code 2014-09-24 21:03:49 +00:00
elcnesh
6db5685906 Make LocalGameView a bit faster, plus some minor refactoring. 2014-09-24 14:16:42 +00:00
drdev
efefedd445 Support showing prompt for second human player 2014-09-23 13:38:39 +00:00
drdev
1d965da35e Fix so second player's prompt appears and button images don't extend outside their bounds 2014-09-23 11:52:50 +00:00
drdev
6a5cd5f39f Start refactoring to make Human v. Human support better 2014-09-23 11:22:36 +00:00
drdev
86ecc75dbe Support showing card associated with achievement using double click or middle/long press 2014-09-22 15:31:09 +00:00
drdev
9ea8d84ee8 Refactor achievements so they're not packaged with the game 2014-09-22 14:11:43 +00:00
elcnesh
99626fc9b7 Add new dev mode option to menus, and remove a superfluous synchronized() call. 2014-09-22 13:12:55 +00:00
drdev
b5aa3b429e Commit first set of alternate win achievements 2014-09-21 15:22:59 +00:00
drdev
4696b5ccbc Make stack wider (particularly on tablets) to prevent it wrapping as much 2014-09-21 13:46:25 +00:00
drdev
ef25938d8e Clarify comment 2014-09-21 05:23:33 +00:00
drdev
d98a617592 Use height ratio for scaling instead of the min of width and height ratios 2014-09-21 05:21:57 +00:00
drdev
9663105622 Tweak scaling logic so Android app looks better on tablets and so there's only 1 scaling function instead of 4
Version bump to 1.5.28.004
2014-09-21 03:49:57 +00:00
drdev
829d0f82e9 Fix GUI refactoring issue that was preventing Android app from working on mobile devices 2014-09-21 02:14:49 +00:00
drdev
591b59df05 Make it easier to show a scaled version of the mobile dev app 2014-09-20 12:37:12 +00:00
drdev
96ca7d1df8 Version bump to 1.5.28.003 2014-09-19 22:09:05 +00:00
drdev
4cb64a18aa Refactor dev mode cheat functions into separate class that through it's restricted access allows determining if a player as cheated during a game 2014-09-19 21:45:24 +00:00
drdev
1d092bf821 PLuralize certain dev mode actions 2014-09-19 20:54:35 +00:00
drdev
3b2a992999 Make name and order of Dev menu items be consistent 2014-09-19 20:47:27 +00:00
drdev
854030e6d4 Prevent remembering Dev Mode unlimited lands between games to prevent accidentally leaving it that way and then playing more than one land per turn
Clean up Dev Mode pane so case is consistent and toggle color is consistent with other labels
2014-09-19 20:33:49 +00:00
drdev
25b862ef5d Improve Achievement Earned dialog for mobile game 2014-09-19 19:50:22 +00:00
drdev
b6222582fa Add support for displaying achievement earned dialog nicer 2014-09-18 18:25:59 +00:00
drdev
25842fe5ca Fix so Magic card back doesn't show through for transparent trophy 2014-09-18 14:37:59 +00:00
elcnesh
ac4a6049a5 - Hopefully reduce the P/T flickering.
- Assign a random negative int to each hidden CardView to prevent awt from crashing.
2014-09-18 08:26:42 +00:00
drdev
547b570406 Refactor achievements to use new trophy style and offer 4 tiers 2014-09-18 05:39:47 +00:00
drdev
2ab70d64c4 Fix selection issue 2014-09-17 04:44:24 +00:00
drdev
57e1cfe6b3 Simplify the way custom achievement images are loaded 2014-09-17 04:30:24 +00:00
drdev
69255650a8 Refactor shared parts of certain descriptions into separate field so it can be displayed on its own line 2014-09-17 04:13:17 +00:00
drdev
6d0f1364be Support custom achievement images for mobile app 2014-09-17 03:04:18 +00:00
drdev
9c5d6179aa Fix how shelf count is calculated 2014-09-17 01:27:18 +00:00
elcnesh
d3b6893d33 Fix (hopefully) attack icons on cards and a possible NPE. 2014-09-16 21:05:39 +00:00
drdev
aa197aaeef Switch to using hi-res shelf for achievements 2014-09-16 18:30:07 +00:00
elcnesh
12e331e2bd Fix some display problems:
- Update GUI after clone effects.
- Fix foil display on face-down cards.
- Update icons on card panels more aggressively.
2014-09-16 14:17:03 +00:00
drdev
4f1aca385d Fix so command zone actually shows up 2014-09-15 23:14:11 +00:00
drdev
b2af1be3ea Fix so card type appears properly on card list items 2014-09-15 22:39:32 +00:00
drdev
42b99b0b5e Refactor creation of Gui and AI lobby players into GamePlayerUtil
Fix so gui player name updated
Fix so multiple human players receive separate LobbyPlayerHuman instances
2014-09-15 22:26:55 +00:00
drdev
e658588771 Prevent duplicating class 2014-09-15 21:41:31 +00:00
drdev
a612161db2 Prevent stack order being reversed 2014-09-15 21:28:21 +00:00
drdev
d83fcbd26f Fix compile error 2014-09-15 20:59:08 +00:00
drdev
89e8899aba Resolve some merge conflicts and actually commit mobile game Auto-Yields menu item to SVN 2014-09-15 20:58:41 +00:00
elcnesh
0c896f4110 Some minor GUI fixes, amongst which fixes for Morph display and Ponder effects. 2014-09-15 19:29:48 +00:00
elcnesh
1922a83c44 Merge GuiRefactoring back into trunk.
Note that this changes ALL the display code to not pass game objects directly into the GUI, so bear that in mind when merging local changes (and in future commits).
2014-09-15 12:12:02 +00:00
elcnesh
8bc99d7a5b Merged changes from trunk to GuiRefactoring: 27390-27405. 2014-09-15 11:17:15 +00:00