-- --------------------------------------------------------------------------
-- Copyright © 2008 PlayFirst, Inc. All Rights Reserved.
--
-- This material is the confidential trade secret and proprietary
-- information of PlayFirst, Inc. It may not be reproduced, used, disclosed,
-- sold or transferred without the prior written consent of PlayFirst, Inc. 
-- All rights reserved.
-- --------------------------------------------------------------------------

kTeamSpaceX = 840;
kCenterTeam = 400;
kTeam_Drag_Speed	= 0.5;
kTeam_Drag_Speed_Losing	= 3.0;
kDinner_initPosX	= kCenterTeam - kTeamSpaceX/2+20;
kDinner_initPosY	= 375.0;
kOpponent_initPosX	= kCenterTeam + kTeamSpaceX/2;
kOpponent_initPosY	= 375.0;
kRange_Tugger		= 135.0;
kRopeX				= 410 - kDinner_initPosX;
kRopeSpaceX			= 196;
kFlagRopeX			= kRopeX-33;
kGroundXDin			= -95;
kGroundYDin			= 440;
kGroundXOp			= 910;
kGroundYOp			= 440;


Tug_Settings = nil;
Tug_Settings = 
{
	MatchPoint = 100,
	
	StoryMode =
	{
		Venue1 =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 4,
			Speed				= 800,
			OpponentEndurance		= 100,
			coefDifficulty			= 1.00,
			strenghtHomeTeam		= 0.94,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 80,
		},
		Venue2 =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 4,
			Speed				= 650,
			OpponentEndurance		= 100,
			coefDifficulty			= 0.99,
			strenghtHomeTeam		= 0.97,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 100,
		},
		Venue3 =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 4,
			Speed				= 500,
			OpponentEndurance		= 100,
			coefDifficulty			= 0.97,
			strenghtHomeTeam		= 0.98,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 130,
		},
		Venue4 =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 4,
			Speed				= 325,
			OpponentEndurance		= 100,
			coefDifficulty			= 0.95,
			strenghtHomeTeam		= 0.99,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 200,
		},
		Venue5 =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 4,
			Speed				= 250,
			OpponentEndurance		= 100,
			coefDifficulty			= 0.94,
			strenghtHomeTeam		= 0.99,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 325,
		},
	},
	EndlessMode =
	{
		--Those are for the GD for game balancing tweaking

		accelerationExpertPercentage 		= 20,
		barrierSpeedExpertMode			= 20000,	--below this speed the mode of acceleration switch to accelerationExpertPercentage

		acceleration				= 1,	--How fast do we go
		accelerationTimer			= 20000,--For how long do we go faster(10 seconds)
		limitRow				= 4,	--What row does a block have to be in to stop the acceleration of blocks
		--The Acceleration will stop as soon as we've reached the accelerationTimer or limitRow
			
		Easy =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 4,
			Speed				= 800,
			coefDifficulty			= 1.0,
			strenghtHomeTeam		= 0.88,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 200,
		},
		Medium =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 5,
			Speed				= 800,
			coefDifficulty			= 1.0,
			strenghtHomeTeam		= 0.88,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 200,
		},
		Hard =
		{
			BonusTimeEffect			= 3000,
			NbKindOfTiles			= 6,
			Speed				= 800,
			strenghtHomeTeam		= 1.0,
			coefDifficulty			= 0.88,
			NbTilesForMatch			= 4,
			speed3and5			= 1,
			speed6and9			= 1,
			speed10and19			= 4,
			speed20and29			= 8,
			speedOver30			= 200,
		},
	}
}