mdl = {
	player = model.load "ships/protector-mk1.f3d",
	enemy1 = model.load "ships/t33.f3d",
	enemy2 = model.load "ships/t48.f3d",
	enemy3 = model.load "ships/t26.f3d",
	enemy4 = model.load "ships/t21.f3d",
	enemy5 = model.load "ships/c89.f3d",
	
	asteroid01 = model.load "asteroid01.f3d"
}

snd = {
	explode1 = sound.load "explode.wav",
	explode2 = sound.load "explode1.wav",
	explode3 = sound.load "explode2.wav",
	hit1 = sound.load "hit1.wav",
	hit2 = sound.load "hit2.wav",
	laser = sound.load "laser1.wav",
	proton = sound.load "proton1.wav",
	typewriter = sound.load "typewriter.wav",
}

tex = {
	power = texture.load "power.png",
	trail1 = texture.load "trails/burner.jpg",
	laser = texture.load "trails/burner.jpg",
	tractor = texture.load "trails/tractor.jpg",
	crate = texture.load "crate.png",
	["edit.start"] = texture.load "edit/start.png",
	["galaxy.nebula01"] = texture.load "galaxy/nebula.jpg",
	["galaxy.nebula02"] = texture.load "galaxy/nebula2.jpg",
	["galaxy.nebula03"] = texture.load "galaxy/nebula3.jpg",
	["galaxy.nebula04"] = texture.load "galaxy/nebula4.jpg",
	["galaxy.nebula05"] = texture.load "galaxy/nebula5.jpg",
	["galaxy.star01"] = texture.load "galaxy/star1.jpg",
	["galaxy.star02"] = texture.load "galaxy/star2.jpg",
	["galaxy.star03"] = texture.load "galaxy/star3.jpg",
	["galaxy.star04"] = texture.load "galaxy/star4.jpg",
	["galaxy.star05"] = texture.load "galaxy/star5.jpg", -- red
	["galaxy.star06"] = texture.load "galaxy/star6.jpg", -- green
	["galaxy.galaxy01"] = texture.load "galaxy/galaxy1.jpg",
}

for i,name in ipairs{"galaxy.nebula01","galaxy.star01"} do
	tex[name]:clamp(true)
end
tex["edit.start"]:clamp(false,true,true)