'This BMX file was edited with BLIde ( http://www.blide.org )

Global IonLauncher:Weapon = Weapon.AddWeapon(greenLaserImg, 10, 40, 6, 10, 117000, "Ion", 0, 0, 0.5, 0.5, 255, 0, 170)
Global BulletLauncher:Weapon = Weapon.AddWeapon(BulletImg, 1, 1, 1, 10, 1000, "", 0, 0, 0.5, 0.5)
Global BigBulletLauncher:Weapon = Weapon.AddWeapon(BulletImg, 2, 1, 1.5, 10, 7000, "", 0, 0, 1, 1)
Global IonLaser:Weapon = Weapon.AddWeapon(greenLaserImg, 4, 2, 2, 10, 25000, "", 0, 0, 0.5, 0.25)
Global RocketLauncher:Weapon = Weapon.AddWeapon(MissileImg, 20, 0, 180, 8, 35000, "", 0, 0)
Global WaweLauncher:Weapon = Weapon.AddWeapon(redLaserImg, 6, 3, 2, 10, 45000, "", 0, 0, 0.5, 0.25)
Global PlasmaGun:Weapon = Weapon.AddWeapon(PlasmaImg, 2, 0, 1.5, 10, 7000, "", 0, 0, 1)
Global GrenadeLauncher:Weapon = Weapon.AddWeapon(GrenadeImg, 40, 0, 9, 7, 0, "", 0)

Global Weapons:Weapon[] = New Weapon[10]
Weapons[0] = IonLauncher
Weapons[1] = BulletLauncher
Weapons[2] = BigBulletLauncher
Weapons[3] = IonLaser
Weapons[4] = RocketLauncher
Weapons[5] = WaweLauncher
Weapons[6] = PlasmaGun
Weapons[7] = GrenadeLauncher



Type Weapon
	Field damage
	Field img:TImage
	Field speed:Float
	Field ReloadTime:Float
	Field energy
	Field Rc, Gc, Bc
	Field scalex:Float
	Field scaley:Float
	Field price
	Field description:String
	Field id
	Field had ' 0 - none; 1 - had
	Field link:TLink
	
	Function AddWeapon:Weapon(img:TImage, damage, energy, reload:Float, speed:Float, price, description:String, had, id = 0, scalex:Float = 1, scaley:Float = 1, Rc = 255, Gc = 255, Bc = 255)
		Local weap:Weapon = New Weapon
		weap.img = img
		weap.damage = damage
		weap.speed = speed
		weap.ReloadTime = reload
		weap.price = price
		weap.description = description
		weap.id = id
		weap.energy = energy
		weap.had = had
		weap.scalex = scalex
		weap.scaley = scaley
		weap.Rc = Rc
		weap.Gc = Gc
		weap.Bc = Bc
		weap.link = SWeapons.AddLast(weap)
		Return weap
	End Function
End Type