Match UI multiplayer go for takeoff.

- Up to 8 fields can be used
- Up to 4 hands can be used
- Multiplayer submenu added in home screen

Please delete your old match_preferred.xml layout; old match layouts are invalid.
This commit is contained in:
Doublestrike
2012-10-13 07:01:29 +00:00
parent 9e675ff36c
commit e69ecb7abc
21 changed files with 626 additions and 117 deletions

View File

@@ -26,7 +26,6 @@ import com.google.common.base.Predicate;
import forge.AllZone;
import forge.AllZoneUtil;
import forge.Card;
import forge.CardLists;
import forge.CardPredicates.Presets;
import forge.Singletons;
@@ -426,8 +425,8 @@ public class PhaseUtil {
final Player p = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn();
final CMatchUI t = CMatchUI.SINGLETON_INSTANCE;
// Index of field; computer is 0, human is 1
int i = p.isComputer() ? 0 : 1;
// Index of field; computer is 1, human is 0
int i = p.isComputer() ? 1 : 0;
switch(s) {
case UPKEEP: