/*
    This file is part of Society Chess.
    Society Chess is a network chess game.
    Copyright (C) 2011  Sterling Pickens

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
#include "extern_globals.h"

int My_argc;
char **My_argv;

//0 white 1 black
int my_team_color;
//0 no 1 yes
int my_turn;
int check = 0;
int op_check = 0;
int checkmate = 0;
int op_checkmate = 0;

int local_game;
int IS_Server;
int Send_OK;
char *Port;
char *Remote_IP;

//struct movement move;
struct pieces my_pieces[16];
struct pieces oponent_pieces[16];

int saved_remote = 0;

