This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Deleted file not rendered

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -35,22 +35,25 @@ public Cell(int newID, int newType, int X, int Z)
}
public Vector3 GetLocation()
{
return boardObj.transform.position;
return boardObj.GetComponent<MeshRenderer>().bounds.center;
}

public Hashtable SaveCell()
{
Hashtable ht = new Hashtable();
ht["type"] = (int)type;
ht["location"] = GetLocation();
ht["character"] = character.id;
return ht;
}
}
public class CellMono: MonoBehaviour
{
public Material mat;
Vector3 midpoint;

void Awake()
{

mat = GetComponent<MeshRenderer>().material;

}

This file was deleted.

@@ -20,39 +20,110 @@
// }
//}


public class CustomGameClient : LoadBalancingClient
{
Message message;
byte actionCount = 0;
public byte MaxActions = 5;
public bool bTurnDone;
public const byte EndTurn = 1;
public const byte setPA = 2;
public const byte Execute = 2;
public const string PropTurn = "turn";
public const string PropNames = "names";
public Grid_Setup board;
PlayerAction[] pActions;
GameController gc;
PlayerAction[] myActions, oppActions;
bool P1Submitted, P2Submitted;
public FSM_Character[] characters;
int TurnNumber;
public GUIController gui;

public CustomGameClient()
{
pActions = new PlayerAction[5];
myActions = new PlayerAction[MaxActions];

}
public void GetFucked()
public void EndTurnEvent()
{
Hashtable content = GetActionsAsProps (myActions);
if (IsPlayerOne())
{
P1Submitted = true;
}else{P2Submitted=true;}

Debug.Log("Fuck you too");

this.loadBalancingPeer.OpRaiseEvent(EndTurn, null, true, new RaiseEventOptions() { Receivers = ReceiverGroup.All});
this.loadBalancingPeer.OpRaiseEvent(EndTurn, content, true, null);
}
bool IsPlayerOne()
{
return this.LocalPlayer.IsMasterClient;
}
bool BothPlayersHaveSubmitted()
{
return P1Submitted && P2Submitted;
}

public void SetPlayerAction(PlayerAction.Actions act, FSM_Character character, Cell loc)
public void SetPlayerAction(PlayerAction.Actions act, FSM_Character character, Cell targetCell)
{
if(actionCount<5)
if(actionCount<MaxActions&&character.actionCount<character.maxActions)
{
pActions[actionCount] = new PlayerAction(act, character, loc);
myActions[actionCount] = new PlayerAction(act, character, targetCell);
actionCount += 1;
if(act == PlayerAction.Actions.Move)
{
character.SetTarget(targetCell);
}
}
}
Hashtable GetActionsAsProps(PlayerAction[] actions)
{
Hashtable MoveSet = new Hashtable ();
for (int i = 0; i<actions.Length; i++)
{
if(actions[i]!=null)
{
MoveSet.Add(i.ToString(),actions[i].GetActionProp());
}

}
return MoveSet;
}

PlayerAction[] LoadActionsFromProps(Hashtable ht)
{
PlayerAction[] actions = new PlayerAction[ht.Count];
for(int i = 0;i<ht.Count;i++)
{
if(ht[i.ToString()]!=null)
{
Hashtable ion = ht[i.ToString()]as Hashtable;
PlayerAction.Actions act = (PlayerAction.Actions)ion["Act"];
FSM_Character ich = characters[ (int)ion["iCharacter"]];
Cell cell = board.cells[(int)ion["tCell"]];
actions[i] = new PlayerAction(act,ich,cell);
}
}
return actions;
}

public void ClearActions()
{
List<FSM_Character> affectedChars = new List<FSM_Character>();
for(int c= 0;c<myActions.Length;c++)
{
if(myActions[c]!=null)
{
if(!affectedChars.Contains(myActions[c].iCh))
{
affectedChars.Add(myActions[c].iCh);
}
myActions[c] = null;
}
}
foreach(FSM_Character c in affectedChars)
{
c.ClearActions();
}
board.TurnOffHiglighted ();
actionCount = 0;
}

public override void OnOperationResponse(OperationResponse operationResponse)
@@ -101,27 +172,40 @@ public override void OnEvent(EventData photonEvent)
{
case (byte)EndTurn:
{
message = new Message();
message.Type = MessageType.EndTurn;
MessageBus.Instance.SendMessage(message);
Debug.Log("Go and get yourself a good fucking");
//Debug.Log("Got Properties via Event. Update board by room props.");
//this.LoadBoardFromProperties(true);
//this.board.ShowFlippedTiles();
if(IsPlayerOne())
{
P2Submitted = true;
}else{P1Submitted=true;}
object content = photonEvent.Parameters[ParameterCode.CustomEventContent];
Hashtable turnClick = content as Hashtable;
oppActions = LoadActionsFromProps(turnClick);
if( BothPlayersHaveSubmitted())
{
CalcMoves();
Debug.Log("Go and get yourself a good fucking");
}

break;
}
case EventCode.PropertiesChanged:
//Debug.Log("Got Properties via Event. Update board by room props.");
this.LoadBoardFromProperties(true);
//this.board.ShowFlippedTiles();
break;

case (byte)Execute:
{
object content = photonEvent.Parameters[ParameterCode.CustomEventContent];
Hashtable turnClick = content as Hashtable;
ExecuteMoves(turnClick);
break;
}
case EventCode.Join:
if (this.CurrentRoom.Players.Count == 2 && this.CurrentRoom.IsOpen)
{
this.CurrentRoom.IsOpen = false;
this.CurrentRoom.IsVisible = false;
//this.SavePlayersInProps();
Debug.Log("Some faggot joined the room");
this.SavePlayersInProps();
}
break;
case EventCode.Leave:
@@ -155,7 +239,7 @@ public void LoadBoardFromProperties(bool calledByEvent)
Debug.LogError("Not loaded board from props?");
}

/*

// we set properties "pt" (player turn) and "t#" (turn number). those props might have changed
// it's easier to use a variable in gui, so read the latter property now
if (this.CurrentRoom.CustomProperties.ContainsKey("t#"))
@@ -166,7 +250,7 @@ public void LoadBoardFromProperties(bool calledByEvent)
{
this.TurnNumber = 1;
}
/*
if (this.CurrentRoom.CustomProperties.ContainsKey("pt"))
{
this.PlayerIdToMakeThisTurn = (int) this.CurrentRoom.CustomProperties["pt"];
@@ -202,14 +286,18 @@ public void CreateTurnbasedRoom()
};
this.OpCreateRoom(newRoomName, roomOptions, TypedLobby.Default);
}

public void SaveBoardToProperties()
{
Hashtable boardProps = board.GetBoardAsCustomProperties();
//boardProps.Add("pt", this.PlayerIdToMakeThisTurn); // "pt" is for "player turn" and contains the ID/actorNumber of the player who's turn it is
//boardProps.Add("t#", this.TurnNumber);
boardProps.Add("tx#", board.width);
boardProps.Add("tz#", board.length);
foreach(FSM_Character c in characters)
{
boardProps.Add("character#"+c.id,c.GetCharacterAsProp());
}
//boardProps.Add(GetPlayerPointsPropKey(this.LocalPlayer.ID), this.MyPoints); // we always only save "our" points. this will not affect the opponent's score.


@@ -219,4 +307,116 @@ public void SaveBoardToProperties()
//Debug.Log(string.Format("saved board to room-props {0}", SupportClass.DictionaryToString(boardProps)));
this.OpSetCustomPropertiesOfRoom(boardProps, webForwardToPush);
}
public void SavePlayersInProps()
{
if (this.CurrentRoom == null || this.CurrentRoom.CustomProperties == null || this.CurrentRoom.CustomProperties.ContainsKey(PropNames))
{
Debug.Log("Skipped saving names. They are already saved.");
return;
}

Debug.Log("Saving names.");
Hashtable boardProps = new Hashtable();
boardProps[PropNames] = string.Format("{0};{1}", this.LocalPlayer.NickName, this.Opponent.NickName);
this.OpSetCustomPropertiesOfRoom(boardProps, false);
}

public Player Opponent
{
get
{

Player opp = this.LocalPlayer.GetNext();
//Debug.Log("you: " + this.LocalPlayer.ToString() + " other: " + opp.ToString());
return opp;
}
}
public void CalcMoves()
{
List<FSM_Character> affectedChars = new List<FSM_Character>();
Hashtable MoveSet = new Hashtable();
for (int i = 0; i<myActions.Length; i++)
{
if(myActions[i]!=null)
{
MoveSet.Add(i.ToString(),myActions[i].GetActionProp());
}

}
for (int i = 0; i<oppActions.Length; i++)
{
if(oppActions[i]!=null)
{
MoveSet.Add((i+myActions.Length).ToString(),oppActions[i].GetActionProp());
}

}

// for(int h = 0; h < myActions.Length; h++)
// {
// if(myActions[h]!=null)
// {
// if(!affectedChars.Contains(myActions[h].iCh))
// {
// affectedChars.Add(myActions[h].iCh);
// }
// }else break;
// affected["charcter#"] = affectedChars[h].GetCharacterAsProp();
// }

// foreach(FSM_Character c in affectedChars)
// {
// c.StartCoroutine("ExecuteActions");
// }
// Cell tCell = new Cell();
// for(int h = 0; h < myActions.Length; h++)
// {
// tCell = myActions[h].cTo;
// for(int j = 0; j < oppActions.Length; j++)
// {
// if(tCell == oppActions[j].cTo)
// {
// }
// }
// }

this.loadBalancingPeer.OpRaiseEvent(Execute, MoveSet, true, new RaiseEventOptions{Receivers = ReceiverGroup.All });

//yield return null;

/*
Cell tCell = new Cell();
for(int h = 0; h < a.Length; h++)
{
tCell = a[h].cTo;
for(int j = 0; j < b.Length; j++)
{
if(tCell==b[j].cTo)
{
}
}
}
*/
}
void ExecuteMoves(Hashtable moves)
{
PlayerAction[] acts = LoadActionsFromProps (moves);
List<FSM_Character> affectedChars = new List<FSM_Character>();
for (int h = 0; h < acts.Length; h++)
{
if(acts[h]!=null)
{
Debug.Log(acts[h].action.ToString());
if(!affectedChars.Contains(acts[h].iCh))
{
affectedChars.Add(acts[h].iCh);
}
acts[h].iCh.SetPlayerAction(acts[h]);
}
}
foreach(FSM_Character c in affectedChars)
{
c.StartCoroutine("ExecuteActions");
}
}
}
@@ -1,5 +1,6 @@
using UnityEngine;
using System.Collections;
using Hashtable = ExitGames.Client.Photon.Hashtable;

public class PlayerAction
{
@@ -27,6 +28,17 @@ public static PlayerAction MoveAction(FSM_Character iCharacter, Cell tCell)
{
return new PlayerAction(Actions.Move, iCharacter, tCell);
}
public Hashtable GetActionProp()
{
Hashtable actionProp = new Hashtable ();

actionProp.Add("Act",(int)action);
actionProp.Add ("iCharacter",(int)iCh.id);
if(tCh!=null)actionProp.Add ("tCharacter",(int)tCh.id);
if(cTo!=null)actionProp.Add("tCell",(int)cTo.id);
if(cFrom!=null)actionProp.Add("fCell",(int)cFrom.id);
return actionProp;
}
}

public class FSM_Character : FSM_Base
@@ -49,13 +61,8 @@ public Cell LastTargetCell
MeshRenderer currentMesh;
Animator anim;
public PlayerAction[] actions;
// public Vector3 MoveTarget
// {
// get{return moveTarget;}
// set{moveTarget = value; hasTarget = true;}
// }
GameController.Teams team;

public enum Stance
{
Neutral,
@@ -78,18 +85,25 @@ public void SetPlayerAction(PlayerAction act)
{
if(actionCount<maxActions)
{
if(act.action == PlayerAction.Actions.Move)
{

targetPins[targetCount] = Instantiate(destPin,act.cTo.GetLocation(),Quaternion.identity) as GameObject;
targetCount++;

}
actions[actionCount] = act;
actionCount += 1;
lastCell = act.cTo;
}
}
public Hashtable GetCharacterAsProp()
{
Hashtable props = new Hashtable ();
props["Stance"] = (int)(Stance)CurrentState;
props["Cell"] = (int)OccupiedCell.id;

return props;
}

public void SetTarget(Cell target)
{
targetPins[targetCount] = Instantiate(destPin,target.GetLocation(),Quaternion.identity) as GameObject;
targetCount++;
lastCell = target;
}
public void ClearActions()
{
for(int c= 0;c<actions.Length;c++)
@@ -103,6 +117,7 @@ public void ClearActions()
Destroy(targetPins[t]);
}
targetCount = 0;
lastCell = null;
}
public IEnumerator ExecuteActions()
{
@@ -183,12 +198,7 @@ public int RaycastToGround()
Physics.Raycast(ray,out hit,5f,layer);
return hit.transform.GetSiblingIndex();
}

public void EndTurn()
{

}


void OnTriggerEnter(Collider other)
{
switch(other.tag)
@@ -1,24 +1,63 @@
using ExitGames.Client.Photon;
using ExitGames.Client.Photon;
using ExitGames.Client.Photon.LoadBalancing;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Collections;

public class GUIController: MonoBehaviour
{
private CustomGameClient GameClientInstance;
public string AppId; // set in inspector
// this is called when the client loaded and is ready to start

[SerializeField] LayerMask mask;
[SerializeField] Image panelFab;
[SerializeField] Button buttFab;
[SerializeField] Canvas can;
int currentID = -1;
FSM_Character[] characters;
public FSM_Character CurrentSelectedChar
{
get{return characters[currentID];}
}

public float offsetX,offsetY;
public static GameObject panel;
public float serviceInterval = 1;
public float timeSinceService;

Grid_Setup board;
public static bool bSelection;

void Awake()
{

this.board = GetComponent<Grid_Setup>();
this.GameClientInstance = new CustomGameClient();
this.GameClientInstance.AppId = AppId; // edit this!
this.GameClientInstance.board = board;
this.GameClientInstance.gui = this;

Application.runInBackground = true;
CustomTypes.Register();
// "eu" is the European region's token
bool connectInProcess = GameClientInstance.ConnectToRegionMaster("us"); // can return false for errors

GameObject[] charObjs = GameObject.FindGameObjectsWithTag("Player");
characters = new FSM_Character[charObjs.Length];
for(int i = 0; i< charObjs.Length;i++)
{
FSM_Character temp = charObjs[i].GetComponent<FSM_Character>();
if(temp!= null)
{
characters[i] = temp;
characters[i].id = i;
}
}
this.GameClientInstance.characters = this.characters;
this.board.characters = this.characters;
}
void Start()
{
GameClientInstance = GameController.Instance.GameClientInstance;
GameClientInstance.AppId = AppId; // edit this!

}

@@ -32,21 +71,152 @@ void Update()
timeSinceService = 0;
}
}

public void FixedUpdate()
{
if (Input.GetMouseButtonUp (0))
{
//message.Clear();

RaycastHit hit;
Ray ray = Camera.main.ScreenPointToRay (Input.mousePosition);

if (Physics.Raycast (ray, out hit, 100f, mask))
{
switch(hit.transform.tag)
{
case "Player":
{
bSelection = true;

int id = hit.transform.gameObject.GetComponent<FSM_Character>().id;
if(id!= currentID)
{
if(currentID!=-1)
{
CurrentSelectedChar.Highlight(false);
board.TurnOffHiglighted();
}

currentID = id;
CurrentSelectedChar.Highlight(true);
CurrentSelectedChar.OccupiedCell = board.cells[CurrentSelectedChar.RaycastToGround()];//this should be done when placing characters
}
CreateButtonPanel(CurrentSelectedChar.OccupiedCell.id);
break;

}
case "Field":
{
if(!EventSystem.current.IsPointerOverGameObject())
{
if(bSelection)
{
int index = hit.transform.GetSiblingIndex();
MovementClick( index);
}
}
break;
}
}
}
}
if (Input.GetMouseButtonUp (1))
{
//actionCount = 0; //make a button
}
}


void MovementClick(int index)
{
if (CurrentSelectedChar.maxActions - CurrentSelectedChar.targetCount > 0)
{
GameClientInstance.SetPlayerAction(PlayerAction.Actions.Move, CurrentSelectedChar, board.cells[index]);
board.HighlightAdjacent (true, index, CurrentSelectedChar.maxActions - CurrentSelectedChar.targetCount );
} else {
board.TurnOffHiglighted();
}

}

void CreateButtonPanel(int index)
{
if (panel!=null)
{
Destroy(panel.gameObject);
}
Vector3 loc = Camera.main.WorldToScreenPoint(board.cells[index].GetLocation());
loc += new Vector3(offsetX,offsetY,0f);
panel = Instantiate(panelFab.gameObject, loc, Quaternion.identity)as GameObject;
panel.transform.SetParent(can.transform,false);
panel.transform.SetAsLastSibling();

if ((CurrentSelectedChar.maxActions - CurrentSelectedChar.actionCount > 0))
{
if(CurrentSelectedChar.actionCount > 0|| CurrentSelectedChar.targetCount > 0)
{
Button clearButton = Instantiate (buttFab) as Button;
clearButton.transform.SetParent (panel.transform, false);
clearButton.GetComponentInChildren<Text> ().text = "Clear";
clearButton.onClick.AddListener (() =>
{
CurrentSelectedChar.ClearActions();
board.TurnOffHiglighted();
Destroy (panel.gameObject);
});
}

Button moveButton = Instantiate (buttFab) as Button;
moveButton.transform.SetParent (panel.transform, false);
moveButton.GetComponentInChildren<Text> ().text = "Move";
moveButton.onClick.AddListener (() =>
{
if(CurrentSelectedChar.targetCount>0)
{
board.HighlightAdjacent (true, CurrentSelectedChar.LastTargetCell.id, CurrentSelectedChar.maxActions - CurrentSelectedChar.targetCount);
}
else board.HighlightAdjacent (true, index, CurrentSelectedChar.maxActions - CurrentSelectedChar.targetCount);

Destroy (panel.gameObject);
});


if (CurrentSelectedChar.hasBall) {
Button passButton = Instantiate (buttFab) as Button;
passButton.transform.SetParent (panel.transform, false);
passButton.GetComponentInChildren<Text> ().text = "Pass";
passButton.onClick.AddListener (() =>
{
GameClientInstance.SetPlayerAction (PlayerAction.Actions.Pass, CurrentSelectedChar, board.cells [index]);
Destroy (panel.gameObject);
});
}

}

}

void OnApplicationQuit()
{
GameClientInstance.Disconnect();
}
public void NewGameButton()
{
this.GameClientInstance.CreateTurnbasedRoom();
//this.GameClientInstance.OpJoinRandomRoom(null, 0);
//this.GameClientInstance.CreateTurnbasedRoom();
this.GameClientInstance.OpJoinRandomRoom(null, 0);
}

public void ClearButton()
{
//this.GameClientInstance.CreateTurnbasedRoom();
this.GameClientInstance.ClearActions();
}

public void GetFuckedButton()
public void EndTurnButton()
{
Debug.Log("Fuck you");
this.GameClientInstance.GetFucked();
this.GameClientInstance.EndTurnEvent();

}

@@ -7,284 +7,46 @@
using UnityEngine.EventSystems;
using Hashtable = ExitGames.Client.Photon.Hashtable;

public class GameController : MonoBehaviour
public class GameController
{
public static GameController Instance = null;

Grid_Setup board;
public Grid_Setup Grid{get{return board;}}
public Grid_Setup Board{get{return board;}}
public int length, width, currentID = -1;
bool bWaitingOnPlayers;
//public Cell[] cells;
CustomGameClient gameClientInstance;
public CustomGameClient GameClientInstance{get{return gameClientInstance;}}
Player[] players ;
PlayerAction[] Actions;
FSM_Character[] characters;
public enum Teams{TeamOne,TeamTwo}
byte actionCount = 0;
public byte MaxActions = 5;
PlayerAction[] acts;

[SerializeField] Image panelFab;
[SerializeField] Button buttFab;
[SerializeField] Canvas can;
public float offsetX,offsetY;
public static GameObject panel;


Message message;
public static bool bSelection;
//public static GameObject CurrentSelectedObj;
public FSM_Character CurrentSelectedChar
{
get{return characters[currentID];}
}

[SerializeField] LayerMask mask;

void Awake()
{
if (Instance == null)
Instance = this;
else if (Instance != this)
Destroy(gameObject);

this.board = GetComponent<Grid_Setup>();
this.gameClientInstance = new CustomGameClient();
this.gameClientInstance.board = board;
Application.runInBackground = true;
CustomTypes.Register();
// "eu" is the European region's token
bool connectInProcess = GameClientInstance.ConnectToRegionMaster("us"); // can return false for errors
}
void Start ()
{
acts = new PlayerAction[5];
GameObject[] charObjs = GameObject.FindGameObjectsWithTag("Player");
characters = new FSM_Character[charObjs.Length];
for(int i = 0; i< charObjs.Length;i++)
{
FSM_Character temp = charObjs[i].GetComponent<FSM_Character>();
if(temp!= null)
{
characters[i] = temp;
characters[i].id = i;
}
}
message = new Message ();
}
public void EndTurn()
{
bSelection = false;
//Destroy(oldPin);
if(acts.Length>0)
{
ExecuteMoves();
}
}

void Update()
{
if(!HaveBothPlayersSubmitted())
{
}

}
bool HaveBothPlayersSubmitted()
{
return true;
}

public void ClearActions()
{
List<FSM_Character> affectedChars = new List<FSM_Character>();
for(int c= 0;c<acts.Length;c++)
{
if(acts[c]!=null)
{
if(!affectedChars.Contains(acts[c].iCh))
{
affectedChars.Add(acts[c].iCh);
}
acts[c] = null;
}
}
foreach(FSM_Character c in affectedChars)
{
c.ClearActions();
}
board.TurnOffHiglighted ();
actionCount = 0;
}


void ExecuteMoves()
/* Singleton */
static GameController instance = null;

public static GameController Instance
{
List<FSM_Character> affectedChars = new List<FSM_Character>();
for(int h = 0; h < acts.Length; h++)
get
{
if(acts[h]!=null)
{
if(!affectedChars.Contains(acts[h].iCh))
{
affectedChars.Add(acts[h].iCh);
}

acts[h].iCh.SetPlayerAction(acts[h]);
//
}else break;
}
foreach(FSM_Character c in affectedChars)
{
c.StartCoroutine("ExecuteActions");
}
ClearActions();
//yield return null;

/*
Cell tCell = new Cell();
for(int h = 0; h < a.Length; h++)
{
tCell = a[h].cTo;
for(int j = 0; j < b.Length; j++)
{
if(tCell==b[j].cTo)
{
}
}
}
*/
}

public void SetPlayerAction(PlayerAction.Actions act, FSM_Character character, Cell targetCell)
{
if(actionCount<MaxActions&&character.actionCount<character.maxActions)
{
acts[actionCount] = new PlayerAction(act, character, targetCell);
character.SetPlayerAction(acts[actionCount]);
actionCount += 1;
}
}
void MovementClick(int index)
{
SetPlayerAction(PlayerAction.Actions.Move, CurrentSelectedChar, board.cells[index]);
if (CurrentSelectedChar.maxActions - CurrentSelectedChar.actionCount > 0)
{
//board.HighlightAdjacent (false, CurrentSelectedChar.OccupiedCell.id, CurrentSelectedChar.maxActions);
board.HighlightAdjacent (true, index, CurrentSelectedChar.maxActions - CurrentSelectedChar.actionCount );
} else {
board.TurnOffHiglighted();
if(instance == null)
instance = new GameController();

return instance;
}

}
void CreateButtonPanel(int index)

private GameController()
{
if (panel!=null)
{
Destroy(panel.gameObject);
}
Vector3 loc = Camera.main.WorldToScreenPoint(board.cells[index].GetLocation());
loc += new Vector3(offsetX,offsetY,0f);
panel = Instantiate(panelFab.gameObject, loc, Quaternion.identity)as GameObject;
panel.transform.SetParent(can.transform,false);
panel.transform.SetAsLastSibling();

if ((CurrentSelectedChar.maxActions - CurrentSelectedChar.actionCount > 0))
{
if(CurrentSelectedChar.actionCount > 0)
{
Button clearButton = Instantiate (buttFab) as Button;
clearButton.transform.SetParent (panel.transform, false);
clearButton.GetComponentInChildren<Text> ().text = "Clear";
clearButton.onClick.AddListener (() =>
{
CurrentSelectedChar.ClearActions();
board.TurnOffHiglighted();
Destroy (panel.gameObject);
});
}

Button moveButton = Instantiate (buttFab) as Button;
moveButton.transform.SetParent (panel.transform, false);
moveButton.GetComponentInChildren<Text> ().text = "Move";
moveButton.onClick.AddListener (() =>
{
if(CurrentSelectedChar.targetCount>0)
{
board.HighlightAdjacent (true, CurrentSelectedChar.LastTargetCell.id, CurrentSelectedChar.maxActions - CurrentSelectedChar.actionCount);
}
else board.HighlightAdjacent (true, index, CurrentSelectedChar.maxActions - CurrentSelectedChar.actionCount);

Destroy (panel.gameObject);
});

if (CurrentSelectedChar.hasBall) {
Button passButton = Instantiate (buttFab) as Button;
passButton.transform.SetParent (panel.transform, false);
passButton.GetComponentInChildren<Text> ().text = "Pass";
passButton.onClick.AddListener (() =>
{
SetPlayerAction (PlayerAction.Actions.Pass, CurrentSelectedChar, board.cells [index]);
Destroy (panel.gameObject);
});
}

}

players = new Player[2];
Actions = new PlayerAction[2];
}

public void FixedUpdate()
{
if (Input.GetMouseButtonUp (0))
{
message.Clear();

RaycastHit hit;
Ray ray = Camera.main.ScreenPointToRay (Input.mousePosition);

if (Physics.Raycast (ray, out hit, 100f, mask))
{
switch(hit.transform.tag)
{
case "Player":
{
bSelection = true;
Debug.Log ("Dick");

int id = hit.transform.gameObject.GetComponent<FSM_Character>().id;
if(id!= currentID)
{
if(currentID!=-1)
{
CurrentSelectedChar.Highlight(false);
board.TurnOffHiglighted();
}


currentID = id;
CurrentSelectedChar.Highlight(true);
CurrentSelectedChar.OccupiedCell = board.cells[CurrentSelectedChar.RaycastToGround()];//this should be done when placing characters
}
CreateButtonPanel(CurrentSelectedChar.OccupiedCell.id);
break;

}
case "Field":
{
if(!EventSystem.current.IsPointerOverGameObject())
{
if(bSelection)
{
int index = hit.transform.GetSiblingIndex();
MovementClick( index);
}
}
break;
}
}
}
//p = Camera.main.ScreenToWorldPoint (Input.mousePosition);

}
if (Input.GetMouseButtonUp (1))
{
//actionCount = 0; //make a button
}
}

}
@@ -35,12 +35,14 @@ public AdjacentIndexes(int index, int distance, int boardLength)

public class Grid_Setup : MonoBehaviour
{
public int length, width, cellCount;
public GameObject[] boardCell;
[SerializeField] GameObject[] boardCell;
[SerializeField] GameObject ball;
public static GameObject Ball;
public FSM_Character[] characters;
public Cell[] cells;
public GameObject ball;
public int length, width, cellCount;
GameObject field;
public Transform fieldTran;
Transform fieldTran;
AdjacentIndexes adjacent;
bool isHighlighted;

@@ -56,14 +58,23 @@ void Awake()
fieldTran = field.transform;
}

void DestroyBoard ()
{
for (int i=0; i<cellCount; i++)
{
Destroy(cells[i].boardObj);
}
Destroy (Ball);
}
public void Generate (int w, int l)
{
DestroyBoard ();
width = w;
length = l;
int i = 0;
cellCount = (w+3)*(l+3);
cellCount = (w+3)*(l+3);//
cells = new Cell[cellCount];
for (int x = -1; x<=w+1; x++)
for (int x = -1; x<=w+1; x++)//this is actually one unit too long, buy I don't feel like changinging it
{
for (int z = -1; z<=l+1; z++)
{
@@ -99,7 +110,7 @@ public void Generate (int w, int l)
type = 3; rot = 0f;
if(x==w/2&&z==l/2)
{
GameObject newBall = Instantiate(ball,new Vector3(x,0.2f,z), Quaternion.identity)as GameObject;
Ball = Instantiate(ball,new Vector3(x,0.2f,z), Quaternion.identity)as GameObject;
}
}
cells[i] = new Cell(i,type);
@@ -108,12 +119,15 @@ public void Generate (int w, int l)
i++;
}
}
for (int c = 0; c<characters.Length; c++)
{
characters[c].OccupiedCell = cells[characters[c].RaycastToGround()];
characters[c].OccupiedCell.character = characters[c];
}
}
GameObject CreateCell(int type,int x, int z, float rotation)
{
GameObject cell = Instantiate(boardCell[type],new Vector3(x,0,z), Quaternion.identity)as GameObject;
//cell.GetComponent<Renderer>().material.shader = Shader.Find("Custon/RotateUVs");
//cell.transform.rotation = Quaternion.AngleAxis(rotation, Vector3.up);
cell.transform.SetParent (fieldTran);
if(cell.GetComponent<Renderer>().material.GetFloat("_RotationDegree")!= null)
{
@@ -179,7 +193,7 @@ protected internal bool SetBoardByCustomProperties(Hashtable customProps, bool c
length = (int)customProps["tz#"];
}

//this.Generate(width, length);
this.Generate(width, length);
}

int readTiles = 0;
File renamed without changes.
File renamed without changes.
@@ -3,10 +3,10 @@

public class ControllerHandler : MessageHandler
{
GameController gc;

void Awake()
{
gc = GetComponent<GameController> ();

}

public override void HandleMessage(Message message)
@@ -15,7 +15,7 @@ public override void HandleMessage(Message message)
{
case MessageType.EndTurn:
{
gc.EndTurn();

break;
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -0,0 +1,18 @@
using ExitGames.Client.Photon;
using ExitGames.Client.Photon.LoadBalancing;

using UnityEngine;
using System.Collections;
using Hashtable = ExitGames.Client.Photon.Hashtable;

public class SSB_Player : Player
{

protected internal SSB_Player(string name, int actorID, bool isLocal, Hashtable actorProperties) : base(name, actorID, isLocal, actorProperties)
{
}
public override string ToString()
{
return base.ToString() + ((this.IsInactive) ? " (inactive)" : "");
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,42 @@
<!--
This file defines some of the browsers that Microsoft's implementation provides in
<windir>\Microsoft.NET\Framework\<ver>\CONFIG\Browsers\*.browser

It is not derived from any file distributed with Microsoft's implementation. Since
we can't distribute MS's browser files, we use browscap.ini to determine
browser capabilities. Then, if and only if the application contains App_Browser/*.browser
files and we are using .NET 2.0 or higher, we supplement the capabilities with the
information in those files and the files in this directory. The primary goal of this file
is provide browser definitions that might be referenced in App_Browser/*.browser files.
-->
<browsers>
<defaultBrowser id="Default">
</defaultBrowser>
<browser id="Default">
<identification>
<userAgent match="." />
</identification>
</browser>
<browser id="IE6to9" parentID="Default">
<identification>
<capability name="majorver" match="^[6-9]" />
<capability name="browser" match="^(IE|AOL)$" />
</identification>
</browser>
<browser id="Opera8to9" parentID="Default">
<identification>
<capability name="majorver" match="^[8-9]" />
<capability name="browser" match="^Opera$" />
</identification>
</browser>
<browser id="Safari" parentID="Default">
<identification>
<capability name="browser" match="^Safari$" />
</identification>
</browser>
<browser id="Mozilla" parentID="Default">
<identification>
<capability name="browser" match="^Mozilla" />
</identification>
</browser>
</browsers>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8" ?>
<settingsMap>
<map sectionType="System.Web.Configuration.MembershipSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, Mono.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">

<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
any expression understood by the mapper to designate the section region to modify.
-->
<what value="providers">
<!-- 'what' can contain any number of occurrences of any three elements:
replace - replace the designated region
add - add a new entry to the region
clear - clear the region
remove - remove the designatedregion
The attributes to any of the above are freeform and are not processed by the mapper manager. They are stored verbatim for the
mapper to peruse.
-->
<replace name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqliteMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqliteServer" />
</what>
</map>

<map sectionType="System.Web.Configuration.RoleManagerSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.RoleManagerSectionMapper, Mono.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">

<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
any expression understood by the mapper to designate the section region to modify.
-->
<what value="providers">
<!-- 'what' can contain any number of occurrences of any three elements:
replace - replace the designated region
add - add a new entry to the region
clear - clear the region
remove - remove the designatedregion
The attributes to any of the above are freeform and are not processed by the mapper manager. They are stored verbatim for the
mapper to peruse.
-->
<replace name="AspNetSqlRoleProvider"
type="System.Web.Security.SqliteRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqliteServer" />
</what>
</map>
</settingsMap>
@@ -0,0 +1,154 @@
<?xml version="1.0" encoding="utf-8"?>

<configuration>

<system.web>
<monoSettings>
<compilersCompatibility>
<compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/nowarn:0169"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilersCompatibility>
</monoSettings>

<authorization>
<allow users="*" />
</authorization>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.master" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.resources" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.skin" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.browser" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.sitemap" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.webinfo" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.resx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.Config" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.vb" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.csproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.vbproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.licx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.dll" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.svc" type="System.ServiceModel.Channels.SvcHttpHandlerFactory, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="RoleManager" type="System.Web.Security.RoleManagerModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
<credentials passwordFormat="Clear">
<!--<user name="gonzalo" password="gonz"/>-->
</credentials>
</forms>
</authentication>
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
<!--
culture="en-US"
uiculture="en-US" />
-->
<sessionState mode="InProc" />
<pages>
<namespaces>
<add namespace="System" />
<add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" />
<add namespace="System.Configuration" />
<add namespace="System.Text" />
<add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" />
<add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" />
<add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<!-- <add namespace="System.Web.UI.WebControls.WebParts" /> -->
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
</pages>
<webControls clientScriptsLocation="/web_scripts" />
<compilation debug="false" defaultLanguage="c#" explicit="true" strict="false" >
<assemblies>
<!--<add assembly="mscorlib" /> -->
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
<add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
<add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
<expressionBuilders>
<add expressionPrefix="Resources"
type="System.Web.Compilation.ResourceExpressionBuilder, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="ConnectionStrings"
type="System.Web.Compilation.ConnectionStringsExpressionBuilder, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="AppSettings"
type="System.Web.Compilation.AppSettingsExpressionBuilder, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</expressionBuilders>
<buildProviders>
<add extension=".aspx" type="System.Web.Compilation.PageBuildProvider" />
<add extension=".ascx" type="System.Web.Compilation.UserControlBuildProvider" />
<add extension=".master" type="System.Web.Compilation.MasterPageBuildProvider" />
<add extension=".asmx" type="System.Web.Compilation.WebServiceBuildProvider" />
<add extension=".ashx" type="System.Web.Compilation.WebHandlerBuildProvider" />
<add extension=".soap" type="System.Web.Compilation.WebServiceBuildProvider" />
<add extension=".resx" type="System.Web.Compilation.ResXBuildProvider" />
<add extension=".resources" type="System.Web.Compilation.ResourcesBuildProvider" />
<add extension=".wsdl" type="System.Web.Compilation.WsdlBuildProvider" />
<add extension=".xsd" type="System.Web.Compilation.XsdBuildProvider" />
<add extension=".js" type="System.Web.Compilation.ForceCopyBuildProvider" />
<add extension=".lic" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".licx" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".exclude" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".refresh" type="System.Web.Compilation.IgnoreFileBuildProvider" />
</buildProviders>
</compilation>
<httpRuntime executionTimeout="110"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="5000" />
<clientTarget>
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="downlevel" userAgent="Unknown" />
</clientTarget>

<siteMap>
<providers>
<add name="AspNetXmlSiteMapProvider"
description="Default site map provider that reads in .sitemap xml files."
type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
siteMapFile="Web.sitemap" />
</providers>
</siteMap>
</system.web>

</configuration>

Large diffs are not rendered by default.

@@ -0,0 +1,27 @@
<configuration>
<dllmap dll="i:cygwin1.dll" target="libc.dylib" os="!windows" />
<dllmap dll="libc" target="libc.dylib" os="!windows"/>
<dllmap dll="intl" target="libintl.dylib" os="!windows"/>
<dllmap dll="intl" name="bind_textdomain_codeset" target="libc.dylib" os="solaris"/>
<dllmap dll="libintl" name="bind_textdomain_codeset" target="libc.dylib" os="solaris"/>
<dllmap dll="libintl" target="libintl.dylib" os="!windows"/>
<dllmap dll="i:libxslt.dll" target="libxslt.dylib" os="!windows"/>
<dllmap dll="i:odbc32.dll" target="libodbc.dylib" os="!windows"/>
<dllmap dll="i:odbc32.dll" target="libiodbc.dylib" os="osx"/>
<dllmap dll="oci" target="libclntsh.dylib" os="!windows"/>
<dllmap dll="db2cli" target="libdb2_36.dylib" os="!windows"/>
<dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.dylib" os="!windows" />
<dllmap dll="i:msvcrt" target="libc.dylib" os="!windows"/>
<dllmap dll="i:msvcrt.dll" target="libc.dylib" os="!windows"/>
<dllmap dll="sqlite" target="libsqlite.0.dylib" os="!windows"/>
<dllmap dll="sqlite3" target="libsqlite3.0.dylib" os="!windows"/>
<dllmap dll="libX11" target="libX11.dylib" os="!windows" />
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
<dllmap dll="libcups" target="libcups.so.2" os="!windows"/>
<dllmap dll="i:kernel32.dll">
<dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/>
<dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/>
<dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/>
<dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/>
</dllmap>
</configuration>

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -23,7 +23,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
Policies = $0
$0.TextStylePolicy = $1
@@ -35,7 +35,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
Policies = $0
$0.TextStylePolicy = $1
@@ -1,24 +1,39 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.Workbench ActiveDocument="Assets\_Scripts\PlayerMovement.cs">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.Workbench ActiveDocument="Assets\_Scripts\GUIController.cs">
<Files>
<File FileName="Assets\_Scripts\PlayerMovement.cs" Line="24" Column="3" />
<File FileName="Assets\_Scripts\playerMovementRotation.cs" Line="1" Column="1" />
<File FileName="Assets\_Scripts\GameController.cs" Line="267" Column="1" />
<File FileName="Assets\_Scripts\CellMono.cs" Line="1" Column="1" />
<File FileName="Assets\_Scripts\FSM_Character.cs" Line="1" Column="1" />
<File FileName="Assets\_Scripts\FSM_Character.cs" Line="86" Column="1" />
<File FileName="Assets\_Scripts\GUIController.cs" Line="70" Column="1" />
<File FileName="Assets\_Scripts\CustomGameClient.cs" Line="415" Column="5" />
<File FileName="Assets\Plugins\PhotonAssets\PhotonLoadbalancingApi\LoadBalancingClient.cs" Line="732" Column="1" />
<File FileName="Assets\_Scripts\Grid_Setup.cs" Line="1" Column="1" />
<File FileName="Assets\_Scripts\CellMono.cs" Line="1" Column="1" />
<File FileName="Assets\_Scripts\MemoryGame\CustomTypes.cs" Line="1" Column="1" />
<File FileName="Assets\Plugins\PhotonAssets\PhotonLoadbalancingApi\LoadBalancingPeer.cs" Line="742" Column="18" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State expanded="True" selected="True">
<Node name="Assembly-CSharp" expanded="True" />
<State expanded="True">
<Node name="Assembly-CSharp" expanded="True">
<Node name="_Scripts" expanded="True">
<Node name="GUIController.cs" selected="True" />
</Node>
</Node>
<Node name="Assembly-CSharp-firstpass" expanded="True">
<Node name="Plugins" expanded="True">
<Node name="PhotonAssets" expanded="True">
<Node name="PhotonLoadbalancingApi" expanded="True" />
</Node>
</Node>
</Node>
</State>
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
<BreakpointStore>
<Breakpoint file="C:\Users\Tubocass\Projects\Sport Club\Super Sport Club\Assets\_Scripts\CustomGameClient.cs" line="410" />
</BreakpointStore>
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>