function loadSettings()
{
   $version = "1.2";
   // $highScoreUrl = "http://localhost/miArts/highscores/";
   $highScoreUrl = "http://www.galagogames.com/highscores/";
	$saveGameDir = getUserDataDirectory() @ "/creepAttack/";
	$SplinePosFlag = 0;	// use spline or linear paths for creatures
	$lifeBarBgSize = "18 2";
	$lifeBarSize = "18 2";
	$sellBarBgSize = "26 6";
	$sellBarSize = "24 4";
	
	// level info
	$timeBetweenLevels = 20;
	
	// layers & groups
	$layer_background = 30;
	$layer_rangeCircle = 28;
	$layer_underTower = 27;
	$layer_towerBase = 26;
	$layer_towerHighlight = 25;
	$layer_towerBullet = 24;
	$layer_creep = 23;
	$layer_underGun = 22;
	$layer_towerGun = 21;
	$layer_flying = 20;
	$layer_creepEffects = 19;
	$layer_bulletEffects = 18;
	$layer_towerEffects = 17;
	$layer_backgroundTrees = 16;
	$layer_gridHighlights = 15;
	$layer_ui = 14;
	$layer_creepIcons = 13;
	$layer_timeMarker = 12;
	
	
	$towerInfo[numUpgradeLevels] = 6;
	
	// arrow tower
	$towerInfo[arrow,bulletSpeed] = 400;
	$towerInfo[arrow,name] = "Arrow Tower";
	$towerInfo[arrow,description] = "Long range but slow firing tower. Hits ground and air.";
	$towerInfo[arrow,bulletImageMap] = "whitePixelImageMap";
	$towerInfo[arrow,bulletSize] = "1 6";
	$towerInfo[arrow,hitAir] = true;
	$towerInfo[arrow,hitGround] = true;
	
	
	$towerInfo[arrow,1,towerImageMap] = "tower1ImageMap";
	$towerInfo[arrow,1,towerImageSize] = "40 40";
	$towerInfo[arrow,1,gunImageMap] = "towerArrowgunImageMap";
	$towerInfo[arrow,1,gunImageSize] = "40 40";
	$towerInfo[arrow,1,gunLinkPoint] = "0 0";
	$towerInfo[arrow,1,range] = 140;
	$towerInfo[arrow,1,reload] = 2000;
	$towerInfo[arrow,1,damage] = 1;
	$towerInfo[arrow,1,cost] = 5;
	$towerInfo[arrow,1,sell] = myRound($towerInfo[arrow,1,cost] * 0.6);
	$towerInfo[arrow,1,splashArea] = 0;
	$towerInfo[arrow,1,splashDamage] = 0;
	$towerInfo[arrow,1,stun] = 0;
	$towerInfo[arrow,1,slow] = 0;
	
	$towerInfo[arrow,2,towerImageMap] = "tower2ImageMap";
	$towerInfo[arrow,2,towerImageSize] = "40 40";
	$towerInfo[arrow,2,gunImageMap] = "towerArrowgunImageMap";
	$towerInfo[arrow,2,gunImageSize] = "40 40";
	$towerInfo[arrow,2,gunLinkPoint] = "0 0";
	$towerInfo[arrow,2,range] = 145;
	$towerInfo[arrow,2,reload] = 2000;
	$towerInfo[arrow,2,damage] = $towerInfo[arrow,1,damage] * 2;
	$towerInfo[arrow,2,cost] = $towerInfo[arrow,1,cost] * 2;
	$towerInfo[arrow,2,sell] = myRound($towerInfo[arrow,2,cost] * 0.6);
	$towerInfo[arrow,2,splashArea] = 0;
	$towerInfo[arrow,2,splashDamage] = 0;
	$towerInfo[arrow,2,stun] = 0;
	$towerInfo[arrow,2,slow] = 0;
	
	$towerInfo[arrow,3,towerImageMap] = "tower3ImageMap";
	$towerInfo[arrow,3,towerImageSize] = "40 40";
	$towerInfo[arrow,3,gunImageMap] = "towerArrowgunImageMap";
	$towerInfo[arrow,3,gunImageSize] = "40 40";
	$towerInfo[arrow,3,gunLinkPoint] = "0 0";
	$towerInfo[arrow,3,range] = 150;
	$towerInfo[arrow,3,reload] = 2000;
	$towerInfo[arrow,3,damage] = $towerInfo[arrow,2,damage] * 2;
	$towerInfo[arrow,3,cost] = $towerInfo[arrow,2,cost] * 2;
	$towerInfo[arrow,3,sell] = myRound($towerInfo[arrow,3,cost] * 0.6);
	$towerInfo[arrow,3,splashArea] = 0;
	$towerInfo[arrow,3,splashDamage] = 0;
	$towerInfo[arrow,3,stun] = 0;
	$towerInfo[arrow,3,slow] = 0;
	
	$towerInfo[arrow,4,towerImageMap] = "tower4ImageMap";
	$towerInfo[arrow,4,towerImageSize] = "40 40";
	$towerInfo[arrow,4,gunImageMap] = "towerArrowgunImageMap";
	$towerInfo[arrow,4,gunImageSize] = "40 40";
	$towerInfo[arrow,4,gunLinkPoint] = "0 0";
	$towerInfo[arrow,4,range] = 155;
	$towerInfo[arrow,4,reload] = 2000;
	$towerInfo[arrow,4,damage] = $towerInfo[arrow,3,damage] * 2;
	$towerInfo[arrow,4,cost] = $towerInfo[arrow,3,cost] * 2;
	$towerInfo[arrow,4,sell] = myRound($towerInfo[arrow,4,cost] * 0.6);
	$towerInfo[arrow,4,splashArea] = 0;
	$towerInfo[arrow,4,splashDamage] = 0;
	$towerInfo[arrow,4,stun] = 0;
	$towerInfo[arrow,4,slow] = 0;
	
	$towerInfo[arrow,5,towerImageMap] = "tower5ImageMap";
	$towerInfo[arrow,5,towerImageSize] = "40 40";
	$towerInfo[arrow,5,gunImageMap] = "towerArrowgunImageMap";
	$towerInfo[arrow,5,gunImageSize] = "40 40";
	$towerInfo[arrow,5,gunLinkPoint] = "0 0";
	$towerInfo[arrow,5,range] = 160;
	$towerInfo[arrow,5,reload] = 2000;
	$towerInfo[arrow,5,damage] = $towerInfo[arrow,4,damage] * 2;
	$towerInfo[arrow,5,cost] = $towerInfo[arrow,4,cost] * 2;
	$towerInfo[arrow,5,sell] = myRound($towerInfo[arrow,5,cost] * 0.6);
	$towerInfo[arrow,5,splashArea] = 0;
	$towerInfo[arrow,5,splashDamage] = 0;
	$towerInfo[arrow,5,stun] = 0;
	$towerInfo[arrow,5,slow] = 0;
	
	$towerInfo[arrow,6,towerImageMap] = "tower6ImageMap";
	$towerInfo[arrow,6,towerImageSize] = "40 40";
	$towerInfo[arrow,6,gunImageMap] = "towerArrowgunImageMap";
	$towerInfo[arrow,6,gunImageSize] = "40 40";
	$towerInfo[arrow,6,gunLinkPoint] = "0 0";
	$towerInfo[arrow,6,range] = 165;
	$towerInfo[arrow,6,reload] = 2000;
	$towerInfo[arrow,6,damage] = $towerInfo[arrow,5,damage] * 2;
	$towerInfo[arrow,6,cost] = $towerInfo[arrow,5,cost] * 2;
	$towerInfo[arrow,6,sell] = myRound($towerInfo[arrow,6,cost] * 0.6);
	$towerInfo[arrow,6,splashArea] = 0;
	$towerInfo[arrow,6,splashDamage] = 0;
	$towerInfo[arrow,6,stun] = 0;
	$towerInfo[arrow,6,slow] = 0;
	
	
	
	// canon tower
	$towerInfo[canon,bulletSpeed] = 400;
	$towerInfo[canon,name] = "Cannon Tower";
	$towerInfo[canon,description] = "Very powerful short range tower. Hits ground and air.";
	$towerInfo[canon,bulletImageMap] = "whitePixelImageMap";
	$towerInfo[canon,bulletSize] = "2 8";
	$towerInfo[canon,hitAir] = true;
	$towerInfo[canon,hitGround] = true;
	
	
	$towerInfo[canon,1,towerImageMap] = "tower1ImageMap";
	$towerInfo[canon,1,towerImageSize] = "40 40";
	$towerInfo[canon,1,gunImageMap] = "towerCanonGunImageMap";
	$towerInfo[canon,1,gunImageSize] = "40 40";
	$towerInfo[canon,1,gunLinkPoint] = "0 -0.8";
	$towerInfo[canon,1,range] = 80;
	$towerInfo[canon,1,reload] = 1000;
	$towerInfo[canon,1,damage] = 4;
	$towerInfo[canon,1,cost] = 15;
	$towerInfo[canon,1,sell] = myRound($towerInfo[canon,1,cost] * 0.6);
	$towerInfo[canon,1,splashArea] = 0;
	$towerInfo[canon,1,splashDamage] = 0;
	$towerInfo[canon,1,stun] = 0;
	$towerInfo[canon,1,slow] = 0;
	
	$towerInfo[canon,2,towerImageMap] = "tower2ImageMap";
	$towerInfo[canon,2,towerImageSize] = "40 40";
	$towerInfo[canon,2,gunImageMap] = "towerCanonGunImageMap";
	$towerInfo[canon,2,gunImageSize] = "40 40";
	$towerInfo[canon,2,gunLinkPoint] = "0 -0.8";
	$towerInfo[canon,2,range] = 85;
	$towerInfo[canon,2,reload] = 950;
	$towerInfo[canon,2,damage] = $towerInfo[canon,1,damage] * 2;
	$towerInfo[canon,2,cost] = $towerInfo[canon,1,cost] * 2;
	$towerInfo[canon,2,sell] = myRound($towerInfo[canon,2,cost] * 0.6);
	$towerInfo[canon,2,splashArea] = 0;
	$towerInfo[canon,2,splashDamage] = 0;
	$towerInfo[canon,2,stun] = 0;
	$towerInfo[canon,2,slow] = 0;
	
	$towerInfo[canon,3,towerImageMap] = "tower3ImageMap";
	$towerInfo[canon,3,towerImageSize] = "40 40";
	$towerInfo[canon,3,gunImageMap] = "towerCanonGunImageMap";
	$towerInfo[canon,3,gunImageSize] = "40 40";
	$towerInfo[canon,3,gunLinkPoint] = "0 -0.8";
	$towerInfo[canon,3,range] = 90;
	$towerInfo[canon,3,reload] = 900;
	$towerInfo[canon,3,damage] = $towerInfo[canon,2,damage] * 2;
	$towerInfo[canon,3,cost] = $towerInfo[canon,2,cost] * 2;
	$towerInfo[canon,3,sell] = myRound($towerInfo[canon,3,cost] * 0.6);
	$towerInfo[canon,3,splashArea] = 0;
	$towerInfo[canon,3,splashDamage] = 0;
	$towerInfo[canon,3,stun] = 0;
	$towerInfo[canon,3,slow] = 0;
	
	$towerInfo[canon,4,towerImageMap] = "tower4ImageMap";
	$towerInfo[canon,4,towerImageSize] = "40 40";
	$towerInfo[canon,4,gunImageMap] = "towerCanonGunImageMap";
	$towerInfo[canon,4,gunImageSize] = "40 40";
	$towerInfo[canon,4,gunLinkPoint] = "0 -0.8";
	$towerInfo[canon,4,range] = 95;
	$towerInfo[canon,4,reload] = 850;
	$towerInfo[canon,4,damage] = $towerInfo[canon,3,damage] * 2;
	$towerInfo[canon,4,cost] = $towerInfo[canon,3,cost] * 2;
	$towerInfo[canon,4,sell] = myRound($towerInfo[canon,4,cost] * 0.6);
	$towerInfo[canon,4,splashArea] = 0;
	$towerInfo[canon,4,splashDamage] = 0;
	$towerInfo[canon,4,stun] = 0;
	$towerInfo[canon,4,slow] = 0;
	
	$towerInfo[canon,5,towerImageMap] = "tower5ImageMap";
	$towerInfo[canon,5,towerImageSize] = "40 40";
	$towerInfo[canon,5,gunImageMap] = "towerCanonGunImageMap";
	$towerInfo[canon,5,gunImageSize] = "40 40";
	$towerInfo[canon,5,gunLinkPoint] = "0 -0.8";
	$towerInfo[canon,5,range] = 100;
	$towerInfo[canon,5,reload] = 800;
	$towerInfo[canon,5,damage] = $towerInfo[canon,4,damage] * 2;
	$towerInfo[canon,5,cost] = $towerInfo[canon,4,cost] * 2;
	$towerInfo[canon,5,sell] = myRound($towerInfo[canon,5,cost] * 0.6);
	$towerInfo[canon,5,splashArea] = 0;
	$towerInfo[canon,5,splashDamage] = 0;
	$towerInfo[canon,5,stun] = 0;
	$towerInfo[canon,5,slow] = 0;
	
	$towerInfo[canon,6,towerImageMap] = "tower6ImageMap";
	$towerInfo[canon,6,towerImageSize] = "40 40";
	$towerInfo[canon,6,gunImageMap] = "towerCanonGunImageMap";
	$towerInfo[canon,6,gunImageSize] = "40 40";
	$towerInfo[canon,6,gunLinkPoint] = "0 -0.8";
	$towerInfo[canon,6,range] = 105;
	$towerInfo[canon,6,reload] = 750;
	$towerInfo[canon,6,damage] = $towerInfo[canon,5,damage] * 2;
	$towerInfo[canon,6,cost] = $towerInfo[canon,5,cost] * 2;
	$towerInfo[canon,6,sell] = myRound($towerInfo[canon,6,cost] * 0.6);
	$towerInfo[canon,6,splashArea] = 0;
	$towerInfo[canon,6,splashDamage] = 0;
	$towerInfo[canon,6,stun] = 0;
	$towerInfo[canon,6,slow] = 0;
	
	// fire tower
	$towerInfo[fire,bulletSpeed] = 400;
	$towerInfo[fire,name] = "Fire Tower";
	$towerInfo[fire,description] = "Long distance splash damage.  Damages ground only.";
	$towerInfo[fire,bulletImageMap] = "whitePixelImageMap";
	$towerInfo[fire,bulletSize] = "2 8";
	$towerInfo[fire,hitAir] = false;
	$towerInfo[fire,hitGround] = true;
	
	
	$towerInfo[fire,1,towerImageMap] = "tower1ImageMap";
	$towerInfo[fire,1,towerImageSize] = "40 40";
	$towerInfo[fire,1,gunImageMap] = "towerFireGunImageMap";
	$towerInfo[fire,1,gunImageSize] = "40 40";
	$towerInfo[fire,1,gunLinkPoint] = "0 -0.8";
	$towerInfo[fire,1,range] = 100;
	$towerInfo[fire,1,reload] = 1800;
	$towerInfo[fire,1,damage] = 1;
	$towerInfo[fire,1,cost] = 35;
	$towerInfo[fire,1,sell] = myRound($towerInfo[fire,1,cost] * 0.6);
	$towerInfo[fire,1,splashArea] = 35;
	$towerInfo[fire,1,splashDamage] = 2;
	$towerInfo[fire,1,stun] = 0;
	$towerInfo[fire,1,slow] = 0;
	
	$towerInfo[fire,2,towerImageMap] = "tower2ImageMap";
	$towerInfo[fire,2,towerImageSize] = "40 40";
	$towerInfo[fire,2,gunImageMap] = "towerFireGunImageMap";
	$towerInfo[fire,2,gunImageSize] = "40 40";
	$towerInfo[fire,2,gunLinkPoint] = "0 -0.8";
	$towerInfo[fire,2,range] = 105;
	$towerInfo[fire,2,reload] = 1700;
	$towerInfo[fire,2,damage] = 2;
	$towerInfo[fire,2,cost] = $towerInfo[fire,1,cost] * 2;
	$towerInfo[fire,2,sell] = myRound($towerInfo[fire,2,cost] * 0.6);
	$towerInfo[fire,2,splashArea] = 40;
	$towerInfo[fire,2,splashDamage] = $towerInfo[fire,1,splashDamage] * 2;
	$towerInfo[fire,2,stun] = 0;
	$towerInfo[fire,2,slow] = 0;
	
	$towerInfo[fire,3,towerImageMap] = "tower3ImageMap";
	$towerInfo[fire,3,towerImageSize] = "40 40";
	$towerInfo[fire,3,gunImageMap] = "towerFireGunImageMap";
	$towerInfo[fire,3,gunImageSize] = "40 40";
	$towerInfo[fire,3,gunLinkPoint] = "0 -0.8";
	$towerInfo[fire,3,range] = 110;
	$towerInfo[fire,3,reload] = 1600;
	$towerInfo[fire,3,damage] = 4;
	$towerInfo[fire,3,cost] = $towerInfo[fire,2,cost] * 2;
	$towerInfo[fire,3,sell] = myRound($towerInfo[fire,3,cost] * 0.6);
	$towerInfo[fire,3,splashArea] = 45;
	$towerInfo[fire,3,splashDamage] = $towerInfo[fire,2,splashDamage] * 2;
	$towerInfo[fire,3,stun] = 0;
	$towerInfo[fire,3,slow] = 0;
	
	$towerInfo[fire,4,towerImageMap] = "tower4ImageMap";
	$towerInfo[fire,4,towerImageSize] = "40 40";
	$towerInfo[fire,4,gunImageMap] = "towerFireGunImageMap";
	$towerInfo[fire,4,gunImageSize] = "40 40";
	$towerInfo[fire,4,gunLinkPoint] = "0 -0.8";
	$towerInfo[fire,4,range] = 115;
	$towerInfo[fire,4,reload] = 1500;
	$towerInfo[fire,4,damage] = 8;
	$towerInfo[fire,4,cost] = $towerInfo[fire,3,cost] * 2;
	$towerInfo[fire,4,sell] = myRound($towerInfo[fire,4,cost] * 0.6);
	$towerInfo[fire,4,splashArea] = 50;
	$towerInfo[fire,4,splashDamage] = $towerInfo[fire,3,splashDamage] * 2;
	$towerInfo[fire,4,stun] = 0;
	$towerInfo[fire,4,slow] = 0;
	
	$towerInfo[fire,5,towerImageMap] = "tower5ImageMap";
	$towerInfo[fire,5,towerImageSize] = "40 40";
	$towerInfo[fire,5,gunImageMap] = "towerFireGunImageMap";
	$towerInfo[fire,5,gunImageSize] = "40 40";
	$towerInfo[fire,5,gunLinkPoint] = "0 -0.8";
	$towerInfo[fire,5,range] = 120;
	$towerInfo[fire,5,reload] = 1400;
	$towerInfo[fire,5,damage] = 16;
	$towerInfo[fire,5,cost] = $towerInfo[fire,4,cost] * 2;
	$towerInfo[fire,5,sell] = myRound($towerInfo[fire,5,cost] * 0.6);
	$towerInfo[fire,5,splashArea] = 55;
	$towerInfo[fire,5,splashDamage] = $towerInfo[fire,4,splashDamage] * 2;
	$towerInfo[fire,5,stun] = 0;
	$towerInfo[fire,5,slow] = 0;
	
	$towerInfo[fire,6,towerImageMap] = "tower6ImageMap";
	$towerInfo[fire,6,towerImageSize] = "40 40";
	$towerInfo[fire,6,gunImageMap] = "towerFireGunImageMap";
	$towerInfo[fire,6,gunImageSize] = "40 40";
	$towerInfo[fire,6,gunLinkPoint] = "0 -0.8";
	$towerInfo[fire,6,range] = 125;
	$towerInfo[fire,6,reload] = 1300;
	$towerInfo[fire,6,damage] = 32;
	$towerInfo[fire,6,cost] = $towerInfo[fire,5,cost] * 2;
	$towerInfo[fire,6,sell] = myRound($towerInfo[fire,6,cost] * 0.6);
	$towerInfo[fire,6,splashArea] = 60;
	$towerInfo[fire,6,splashDamage] = $towerInfo[fire,5,splashDamage] * 2;
	$towerInfo[fire,6,stun] = 0;
	$towerInfo[fire,6,slow] = 0;
	
	
	
	
	// bash tower
	$towerInfo[bash,bulletSpeed] = 400;
	$towerInfo[bash,name] = "Quake Tower";
	$towerInfo[bash,description] = "Stun and hurt nearby creeps. Damages ground only.";
	$towerInfo[bash,bulletImageMap] = "whitePixelImageMap";
	$towerInfo[bash,bulletSize] = "2 2";
	$towerInfo[bash,hitAir] = false;
	$towerInfo[bash,hitGround] = true;
	
	
	$towerInfo[bash,1,towerImageMap] = "tower1ImageMap";
	$towerInfo[bash,1,towerImageSize] = "40 40";
	$towerInfo[bash,1,gunImageMap] = "towerBashGunImageMap";
	$towerInfo[bash,1,gunImageSize] = "40 40";
	$towerInfo[bash,1,gunLinkPoint] = "0 -0.8";
	$towerInfo[bash,1,range] = 60;
	$towerInfo[bash,1,reload] = 2000;
	$towerInfo[bash,1,damage] = 0;
	$towerInfo[bash,1,cost] = 50;
	$towerInfo[bash,1,sell] = myRound($towerInfo[bash,1,cost] * 0.6);
	$towerInfo[bash,1,splashArea] = $towerInfo[bash,1,range];
	$towerInfo[bash,1,splashDamage] = 4;
	$towerInfo[bash,1,stun] = 2000;
	$towerInfo[bash,1,slow] = 0;
	
	$towerInfo[bash,2,towerImageMap] = "tower2ImageMap";
	$towerInfo[bash,2,towerImageSize] = "40 40";
	$towerInfo[bash,2,gunImageMap] = "towerBashGunImageMap";
	$towerInfo[bash,2,gunImageSize] = "40 40";
	$towerInfo[bash,2,gunLinkPoint] = "0 -0.8";
	$towerInfo[bash,2,range] = 65;
	$towerInfo[bash,2,reload] = 1900;
	$towerInfo[bash,2,damage] = 0;
	$towerInfo[bash,2,cost] = $towerInfo[bash,1,cost] * 2;
	$towerInfo[bash,2,sell] = myRound($towerInfo[bash,2,cost] * 0.6);
	$towerInfo[bash,2,splashArea] = $towerInfo[bash,2,range];
	$towerInfo[bash,2,splashDamage] = $towerInfo[bash,1,splashDamage] * 2;
	$towerInfo[bash,2,stun] = 2200;
	$towerInfo[bash,2,slow] = 0;
	
	$towerInfo[bash,3,towerImageMap] = "tower3ImageMap";
	$towerInfo[bash,3,towerImageSize] = "40 40";
	$towerInfo[bash,3,gunImageMap] = "towerBashGunImageMap";
	$towerInfo[bash,3,gunImageSize] = "40 40";
	$towerInfo[bash,3,gunLinkPoint] = "0 -0.8";
	$towerInfo[bash,3,range] = 70;
	$towerInfo[bash,3,reload] = 1800;
	$towerInfo[bash,3,damage] = 0;
	$towerInfo[bash,3,cost] = $towerInfo[bash,2,cost] * 2;
	$towerInfo[bash,3,sell] = myRound($towerInfo[bash,3,cost] * 0.6);
	$towerInfo[bash,3,splashArea] = $towerInfo[bash,3,range];
	$towerInfo[bash,3,splashDamage] = $towerInfo[bash,2,splashDamage] * 2;
	$towerInfo[bash,3,stun] = 2400;
	$towerInfo[bash,3,slow] = 0;
	
	$towerInfo[bash,4,towerImageMap] = "tower4ImageMap";
	$towerInfo[bash,4,towerImageSize] = "40 40";
	$towerInfo[bash,4,gunImageMap] = "towerBashGunImageMap";
	$towerInfo[bash,4,gunImageSize] = "40 40";
	$towerInfo[bash,4,gunLinkPoint] = "0 -0.8";
	$towerInfo[bash,4,range] = 75;
	$towerInfo[bash,4,reload] = 1700;
	$towerInfo[bash,4,damage] = 0;
	$towerInfo[bash,4,cost] = $towerInfo[bash,3,cost] * 2;
	$towerInfo[bash,4,sell] = myRound($towerInfo[bash,4,cost] * 0.6);
	$towerInfo[bash,4,splashArea] = $towerInfo[bash,4,range];
	$towerInfo[bash,4,splashDamage] = $towerInfo[bash,3,splashDamage] * 2;
	$towerInfo[bash,4,stun] = 2600;
	$towerInfo[bash,4,slow] = 0;
	
	$towerInfo[bash,5,towerImageMap] = "tower5ImageMap";
	$towerInfo[bash,5,towerImageSize] = "40 40";
	$towerInfo[bash,5,gunImageMap] = "towerBashGunImageMap";
	$towerInfo[bash,5,gunImageSize] = "40 40";
	$towerInfo[bash,5,gunLinkPoint] = "0 -0.8";
	$towerInfo[bash,5,range] = 80;
	$towerInfo[bash,5,reload] = 1600;
	$towerInfo[bash,5,damage] = 0;
	$towerInfo[bash,5,cost] = $towerInfo[bash,4,cost] * 2;
	$towerInfo[bash,5,sell] = myRound($towerInfo[bash,5,cost] * 0.6);
	$towerInfo[bash,5,splashArea] = $towerInfo[bash,5,range];
	$towerInfo[bash,5,splashDamage] = $towerInfo[bash,4,splashDamage] * 2;
	$towerInfo[bash,5,stun] = 2800;
	$towerInfo[bash,5,slow] = 0;
	
	$towerInfo[bash,6,towerImageMap] = "tower6ImageMap";
	$towerInfo[bash,6,towerImageSize] = "40 40";
	$towerInfo[bash,6,gunImageMap] = "towerBashGunImageMap";
	$towerInfo[bash,6,gunImageSize] = "40 40";
	$towerInfo[bash,6,gunLinkPoint] = "0 -0.8";
	$towerInfo[bash,6,range] = 85;
	$towerInfo[bash,6,reload] = 1500;
	$towerInfo[bash,6,damage] = 0;
	$towerInfo[bash,6,cost] = $towerInfo[bash,5,cost] * 2;
	$towerInfo[bash,6,sell] = myRound($towerInfo[bash,6,cost] * 0.6);
	$towerInfo[bash,6,splashArea] = $towerInfo[bash,6,range];
	$towerInfo[bash,6,splashDamage] = $towerInfo[bash,5,splashDamage] * 2;
	$towerInfo[bash,6,stun] = 3000;
	$towerInfo[bash,6,slow] = 0;
	
	
	
	
	// air tower
	$towerInfo[air,bulletSpeed] = 400;
	$towerInfo[air,name] = "Lightning Tower";
	$towerInfo[air,description] = "Anti-air tower.";
	$towerInfo[air,bulletImageMap] = "whitePixelImageMap";
	$towerInfo[air,bulletSize] = "0 0";
	$towerInfo[air,hitAir] = true;
	$towerInfo[air,hitGround] = false;
	
	
	$towerInfo[air,1,towerImageMap] = "tower1ImageMap";
	$towerInfo[air,1,towerImageSize] = "40 40";
	$towerInfo[air,1,gunImageMap] = "towerLightningGunImageMap";
	$towerInfo[air,1,gunImageSize] = "30 30";
	$towerInfo[air,1,gunLinkPoint] = "0 -0.8";
	$towerInfo[air,1,range] = 130;
	$towerInfo[air,1,reload] = 900;
	$towerInfo[air,1,damage] = 6;
	$towerInfo[air,1,cost] = 25;
	$towerInfo[air,1,sell] = myRound($towerInfo[air,1,cost] * 0.6);
	$towerInfo[air,1,splashArea] = 0;
	$towerInfo[air,1,splashDamage] = 0;
	$towerInfo[air,1,stun] = 0;
	$towerInfo[air,1,slow] = 0;
	
	$towerInfo[air,2,towerImageMap] = "tower2ImageMap";
	$towerInfo[air,2,towerImageSize] = "40 40";
	$towerInfo[air,2,gunImageMap] = "towerLightningGunImageMap";
	$towerInfo[air,2,gunImageSize] = "30 30";
	$towerInfo[air,2,gunLinkPoint] = "0 -0.8";
	$towerInfo[air,2,range] = 140;
	$towerInfo[air,2,reload] = 850;
	$towerInfo[air,2,damage] = $towerInfo[air,1,damage] * 2;
	$towerInfo[air,2,cost] = $towerInfo[air,1,cost] * 2;
	$towerInfo[air,2,sell] = myRound($towerInfo[air,2,cost] * 0.6);
	$towerInfo[air,2,splashArea] = 0;
	$towerInfo[air,2,splashDamage] = 0;
	$towerInfo[air,2,stun] = 0;
	$towerInfo[air,2,slow] = 0;
	
	$towerInfo[air,3,towerImageMap] = "tower3ImageMap";
	$towerInfo[air,3,towerImageSize] = "40 40";
	$towerInfo[air,3,gunImageMap] = "towerLightningGunImageMap";
	$towerInfo[air,3,gunImageSize] = "30 30";
	$towerInfo[air,3,gunLinkPoint] = "0 -0.8";
	$towerInfo[air,3,range] = 150;
	$towerInfo[air,3,reload] = 800;
	$towerInfo[air,3,damage] = $towerInfo[air,2,damage] * 2;
	$towerInfo[air,3,cost] = $towerInfo[air,2,cost] * 2;
	$towerInfo[air,3,sell] = myRound($towerInfo[air,3,cost] * 0.6);
	$towerInfo[air,3,splashArea] = 0;
	$towerInfo[air,3,splashDamage] = 0;
	$towerInfo[air,3,stun] = 0;
	$towerInfo[air,3,slow] = 0;
	
	$towerInfo[air,4,towerImageMap] = "tower4ImageMap";
	$towerInfo[air,4,towerImageSize] = "40 40";
	$towerInfo[air,4,gunImageMap] = "towerLightningGunImageMap";
	$towerInfo[air,4,gunImageSize] = "30 30";
	$towerInfo[air,4,gunLinkPoint] = "0 -0.8";
	$towerInfo[air,4,range] = 160;
	$towerInfo[air,4,reload] = 750;
	$towerInfo[air,4,damage] = $towerInfo[air,3,damage] * 2;
	$towerInfo[air,4,cost] = $towerInfo[air,3,cost] * 2;
	$towerInfo[air,4,sell] = myRound($towerInfo[air,4,cost] * 0.6);
	$towerInfo[air,4,splashArea] = 0;
	$towerInfo[air,4,splashDamage] = 0;
	$towerInfo[air,4,stun] = 0;
	$towerInfo[air,4,slow] = 0;
	
	$towerInfo[air,5,towerImageMap] = "tower5ImageMap";
	$towerInfo[air,5,towerImageSize] = "40 40";
	$towerInfo[air,5,gunImageMap] = "towerLightningGunImageMap";
	$towerInfo[air,5,gunImageSize] = "30 30";
	$towerInfo[air,5,gunLinkPoint] = "0 -0.8";
	$towerInfo[air,5,range] = 170;
	$towerInfo[air,5,reload] = 700;
	$towerInfo[air,5,damage] = $towerInfo[air,4,damage] * 2;
	$towerInfo[air,5,cost] = $towerInfo[air,4,cost] * 2;
	$towerInfo[air,5,sell] = myRound($towerInfo[air,5,cost] * 0.6);
	$towerInfo[air,5,splashArea] = 0;
	$towerInfo[air,5,splashDamage] = 0;
	$towerInfo[air,5,stun] = 0;
	$towerInfo[air,5,slow] = 0;
	
	$towerInfo[air,6,towerImageMap] = "tower6ImageMap";
	$towerInfo[air,6,towerImageSize] = "40 40";
	$towerInfo[air,6,gunImageMap] = "towerLightningGunImageMap";
	$towerInfo[air,6,gunImageSize] = "30 30";
	$towerInfo[air,6,gunLinkPoint] = "0 -0.8";
	$towerInfo[air,6,range] = 180;
	$towerInfo[air,6,reload] = 650;
	$towerInfo[air,6,damage] = $towerInfo[air,5,damage] * 2;
	$towerInfo[air,6,cost] = $towerInfo[air,5,cost] * 2;
	$towerInfo[air,6,sell] = myRound($towerInfo[air,6,cost] * 0.6);
	$towerInfo[air,6,splashArea] = 0;
	$towerInfo[air,6,splashDamage] = 0;
	$towerInfo[air,6,stun] = 0;
	$towerInfo[air,6,slow] = 0;
	
	
	
	
	// frost tower
	$towerInfo[frost,bulletSpeed] = 400;
	$towerInfo[frost,name] = "Frost Tower";
	$towerInfo[frost,description] = "Freeze creeps to slow them down. Hits ground and air.";
	$towerInfo[frost,bulletImageMap] = "whitePixelImageMap";
	$towerInfo[frost,bulletSize] = "2 8";
	$towerInfo[frost,hitAir] = true;
	$towerInfo[frost,hitGround] = true;
	
	
	$towerInfo[frost,1,towerImageMap] = "tower1ImageMap";
	$towerInfo[frost,1,towerImageSize] = "40 40";
	$towerInfo[frost,1,gunImageMap] = "towerFrostGunImageMap";
	$towerInfo[frost,1,gunImageSize] = "40 40";
	$towerInfo[frost,1,gunLinkPoint] = "0 -0.8";
	$towerInfo[frost,1,range] = 100;
	$towerInfo[frost,1,reload] = 1500;
	$towerInfo[frost,1,damage] = 1;
	$towerInfo[frost,1,cost] = 25;
	$towerInfo[frost,1,sell] = myRound($towerInfo[frost,1,cost] * 0.6);
	$towerInfo[frost,1,splashArea] = 0;
	$towerInfo[frost,1,splashDamage] = 0;
	$towerInfo[frost,1,stun] = 0;
	$towerInfo[frost,1,slow] = 5000;
	
	$towerInfo[frost,2,towerImageMap] = "tower2ImageMap";
	$towerInfo[frost,2,towerImageSize] = "40 40";
	$towerInfo[frost,2,gunImageMap] = "towerFrostGunImageMap";
	$towerInfo[frost,2,gunImageSize] = "40 40";
	$towerInfo[frost,2,gunLinkPoint] = "0 -0.8";
	$towerInfo[frost,2,range] = 105;
	$towerInfo[frost,2,reload] = 1400;
	$towerInfo[frost,2,damage] = 2;
	$towerInfo[frost,2,cost] = $towerInfo[frost,1,cost] * 2;
	$towerInfo[frost,2,sell] = myRound($towerInfo[frost,3,cost] * 0.6);
	$towerInfo[frost,2,splashArea] = 0;
	$towerInfo[frost,2,splashDamage] = 0;
	$towerInfo[frost,2,stun] = 0;
	$towerInfo[frost,2,slow] = 6000;
	
	$towerInfo[frost,3,towerImageMap] = "tower3ImageMap";
	$towerInfo[frost,3,towerImageSize] = "40 40";
	$towerInfo[frost,3,gunImageMap] = "towerFrostGunImageMap";
	$towerInfo[frost,3,gunImageSize] = "40 40";
	$towerInfo[frost,3,gunLinkPoint] = "0 -0.8";
	$towerInfo[frost,3,range] = 110;
	$towerInfo[frost,3,reload] = 1300;
	$towerInfo[frost,3,damage] = 4;
	$towerInfo[frost,3,cost] = $towerInfo[frost,2,cost] * 2;
	$towerInfo[frost,3,sell] = myRound($towerInfo[frost,3,cost] * 0.6);
	$towerInfo[frost,3,splashArea] = 0;
	$towerInfo[frost,3,splashDamage] = 0;
	$towerInfo[frost,3,stun] = 0;
	$towerInfo[frost,3,slow] = 7000;
	
	$towerInfo[frost,4,towerImageMap] = "tower4ImageMap";
	$towerInfo[frost,4,towerImageSize] = "40 40";
	$towerInfo[frost,4,gunImageMap] = "towerFrostGunImageMap";
	$towerInfo[frost,4,gunImageSize] = "40 40";
	$towerInfo[frost,4,gunLinkPoint] = "0 -0.8";
	$towerInfo[frost,4,range] = 115;
	$towerInfo[frost,4,reload] = 1200;
	$towerInfo[frost,4,damage] = 8;
	$towerInfo[frost,4,cost] = $towerInfo[frost,3,cost] * 2;
	$towerInfo[frost,4,sell] = myRound($towerInfo[frost,4,cost] * 0.6);
	$towerInfo[frost,4,splashArea] = 0;
	$towerInfo[frost,4,splashDamage] = 0;
	$towerInfo[frost,4,stun] = 0;
	$towerInfo[frost,4,slow] = 8000;
	
	$towerInfo[frost,5,towerImageMap] = "tower5ImageMap";
	$towerInfo[frost,5,towerImageSize] = "40 40";
	$towerInfo[frost,5,gunImageMap] = "towerFrostGunImageMap";
	$towerInfo[frost,5,gunImageSize] = "40 40";
	$towerInfo[frost,5,gunLinkPoint] = "0 -0.8";
	$towerInfo[frost,5,range] = 120;
	$towerInfo[frost,5,reload] = 1100;
	$towerInfo[frost,5,damage] = 16;
	$towerInfo[frost,5,cost] = $towerInfo[frost,4,cost] * 2;
	$towerInfo[frost,5,sell] = myRound($towerInfo[frost,5,cost] * 0.6);
	$towerInfo[frost,5,splashArea] = 0;
	$towerInfo[frost,5,splashDamage] = 0;
	$towerInfo[frost,5,stun] = 0;
	$towerInfo[frost,5,slow] = 9000;
	
	$towerInfo[frost,6,towerImageMap] = "tower6ImageMap";
	$towerInfo[frost,6,towerImageSize] = "40 40";
	$towerInfo[frost,6,gunImageMap] = "towerFrostGunImageMap";
	$towerInfo[frost,6,gunImageSize] = "40 40";
	$towerInfo[frost,6,gunLinkPoint] = "0 -0.8";
	$towerInfo[frost,6,range] = 125;
	$towerInfo[frost,6,reload] = 1000;
	$towerInfo[frost,6,damage] = 32;
	$towerInfo[frost,6,cost] = $towerInfo[frost,5,cost] * 2;
	$towerInfo[frost,6,sell] = myRound($towerInfo[frost,6,cost] * 0.6);
	$towerInfo[frost,6,splashArea] = 0;
	$towerInfo[frost,6,splashDamage] = 0;
	$towerInfo[frost,6,stun] = 0;
	$towerInfo[frost,6,slow] = 10000;
	
	
	
	
	//////////////////////////////////////////////////////////////////////
	
	$creepInfo[normal,name] = "Basic Creeps";
	$creepInfo[normal,imageMap] = creepAnimAnimation;
	$creepInfo[normal,iconImageMap] = creepIconBasicImageMap;
	$creepInfo[normal,imageSize] = "20 24";
	$creepInfo[normal,speed] = 50;
	$creepInfo[normal,maxHealth] = 0.9;
	$creepInfo[normal,gold] = 1;
	$creepInfo[normal,blendColor] = "1, 0.35, 0.35, 1";
	$creepInfo[normal,score] = 1;
	
	$creepInfo[group,name] = "Group of Creeps";
	$creepInfo[group,imageMap] = creepAnimAnimation;
	$creepInfo[group,iconImageMap] = creepIconGroupImageMap;
	$creepInfo[group,imageSize] = "14 18";
	$creepInfo[group,speed] = 55;
	$creepInfo[group,maxHealth] = 0.4;
	$creepInfo[group,gold] = 1;
	$creepInfo[group,blendColor] = "1, 0.35, 0.35, 1";
	$creepInfo[group,score] = 0.8;
	
	$creepInfo[flying,name] = "Flying Creeps";
	$creepInfo[flying,imageMap] = creepFlyingAnimAnimation;
	$creepInfo[flying,iconImageMap] = creepIconFlyingImageMap;
	$creepInfo[flying,imageSize] = "30 24";
	$creepInfo[flying,speed] = 50;
	$creepInfo[flying,maxHealth] = 0.3;
	$creepInfo[flying,gold] = 1;
	$creepInfo[flying,blendColor] = "1, 0.35, 0.35, 1";
	$creepInfo[flying,score] = 1.2;
	
	$creepInfo[fast,name] = "Fast Creeps";
	$creepInfo[fast,imageMap] = creepAnimAnimation;
	$creepInfo[fast,iconImageMap] = creepIconFastImageMap;
	$creepInfo[fast,imageSize] = "16 30";
	$creepInfo[fast,speed] = 80;
	$creepInfo[fast,maxHealth] = 0.7;
	$creepInfo[fast,gold] = 1;
	$creepInfo[fast,blendColor] = "1, 0.35, 0.35, 1";
	$creepInfo[fast,score] = 1.2;
	
	$creepInfo[immune,name] = "Immune Creeps";
	$creepInfo[immune,imageMap] = creepAnimAnimation;
	$creepInfo[immune,iconImageMap] = creepIconImmuneImageMap;
	$creepInfo[immune,imageSize] = "20 24";
	$creepInfo[immune,speed] = 50;
	$creepInfo[immune,maxHealth] = 0.9;
	$creepInfo[immune,gold] = 1;
	$creepInfo[immune,blendColor] = "1, 0.35, 0.35, 1";
	$creepInfo[immune,score] = 1.2;
	
	$creepInfo[boss,name] = "Boss Creeps";
	$creepInfo[boss,imageMap] = creepAnimAnimation;
	$creepInfo[boss,iconImageMap] = creepIconBossImageMap;
	$creepInfo[boss,imageSize] = "28 38";
	$creepInfo[boss,speed] = 45;
	$creepInfo[boss,maxHealth] = 3.1;
	$creepInfo[boss,gold] = 5;
	$creepInfo[boss,blendColor] = "1, 0.35, 0.35, 1";
	$creepInfo[boss,score] = 3;
	

///////////////////////////////////////////////////////////////////////////


}