const SESSION_TIMEOUT = 300000;//ms
//
const GAME_WIDTH = 1280;
const GAME_LANDSCAPE_HEIGHT = 720;
const GAME_PORTRAIT_HEIGHT = 2160;

const GAME_PORTRAIT_OFFSET = 800;

const GAME_MAX_DYNAMIC_TEXT_WIDTH = 1180;

//symbols
const CHERRY = 0;
const LEMON = 1;
const ORANGE = 2;
const PLUM = 3;
const BELL = 4;
const GRAPE = 5;
const MELON = 6;
const STAR = 7;
const SEVEN = 8;
const BREAK = 9;
const SCATTER = 10;
const MYSTERY = 11;


//reel constants
const REEL_STATE_SHOW = 0;
const REEL_STATE_STOPPED = 1;
const REEL_STATE_BACKSPIN = 2;
const REEL_STATE_FORTHSPIN = 3;
const REEL_STATE_SPIN = 4;
const REEL_STATE_AFTERSPIN = 5;
const REEL_STATE_PLAY_WIN_LINES = 6;
const REEL_STATE_TOTAL_WIN = 7;
const REEL_STATE_SCATTER_WIN = 8;
const REEL_STATE_SHAKE = 9;


//reel manager constants

const RM_STATE_READY = 0;
const RM_STATE_SPIN = 1;
const RM_STATE_PLAY_WIN_LINES = 2;
const RM_STATE_TOTAL_WIN = 3;
const RM_STATE_S_SCATTER_WIN = 4;
const RM_STATE_PLAY_S_SCATTERS = 5;//scatter
const RM_STATE_SHAKE = 6;

//main scene constants

const GAME_STATE_NOT_CONNECTED = 0;
const GAME_STATE_NOT_INITIALIZED = 1;
const GAME_STATE_SHOW_REELS = 2;
const GAME_STATE_READY = 3;
const GAME_STATE_SPIN = 4;
const GAME_STATE_REELS_STOPPING = 5;
const GAME_STATE_WIN_LINES = 6;
const GAME_STATE_JACKPOT_WIN = 7;
const GAME_STATE_TOTAL_WIN = 8;
const GAME_STATE_CASHBACK_WIN = 9;
const GAME_STATE_PAYTABLE = 10;
const GAME_STATE_SERVER_RESPONSE_PENDING = 11;

//other

const REEL_RECT_WIDTH = 220;//width of reel rect in pixels
const REEL_RECT_HEIGHT = 200;
