;
; Breathless Installer Utility
;
; This script is Copyright ©1995 by FIELDS of VISION Software Design
;

(
	; Setup Italian strings

	(set #intro
		(cat
			"- BREATHLESS 3D engine v1.1-\n"
			"\n"
			"Copyright ©1995-96\n" 
			"by\n"
			"FIELDS of VISION Software Design\n"
		)
	)

	(set #askdir
		(cat
			"Seleziona dove vuoi copiare "
			"Breathless 3d engine v1.1"
		)
	)

	(set #askdir_help
		(cat
			"Breathless 3d engine v1.1 sarą copiato "
			"nella directory da te scelta.\n\n"
		)
	)

	(set #yes
		(cat
			"Si"
		)
	)

	(set #no
		(cat
			"No"
		)
	)

	(set #quit
		(cat
			"Esci"
		)
	)

	(set #installed
		(cat
			"Breathless 3d engine v1.1 sarą copiato in "
		)
	)

	(set #copyingexe
		(cat
			"Sto copiando Breathless 3d engine v1.1 ..."
		)
	)

	(set #goodbye
		(cat
			"Grazie! E buon divertimento con Breathless!"
		)
	)

	; Start! Show intro message...

	(message #intro)

	; Ask where to install breathless directory...

	(if (exists "BREATHLESS:")
		((set @default-dest (expandpath "BREATHLESS:")))
	)

	(set destdir
		(askdir
			(prompt #askdir)
			(help #askdir_help)
			(default @default-dest)
			(disk)
		)
	)

	(set @default-dest destdir)

	; Prompt for choosed dir

	(message #installed @default-dest)

	; Start copy

	(complete 0)

	; Install the Breathless executable file

	(working #copyingexe)

	(copyfiles
		(source "Breathless")
		(dest @default-dest)
		(infos)
	)

	(complete 100)

	; Say goodbye

	(message #goodbye)
)
