// Install script for the Settlers II Mission CD
// (c) 1995-6 Blue Byte Software GmbH
// RAZOR 1911 RULEZ!

// Set language
SET_LANGUAGE 2

// Load background image
LOAD_BACKGROUND "gfx\pics\install.lbm"

// Install main menu
:InstallMainMenu

MENU_START
MENU_ENTRY "Settlers II Mission Disk"
MENU_ENTRY "Sound Setup" SetupSound
MENU_ENTRY "Additional Informations" ReadDoc
MENU_ENTRY "Change Editor Screen Resolution" ChangeScreen
MENU_ENTRY "Quit Programm" ExitInstallFromInstall
MENU_END

:SetupSound

CD DRIVERS
EXECUTE_OWN_SCREEN SETSOUND.EXE
CD ..
GOTO InstallMainMenu

// change resolution
:ChangeScreen

MENU_START

MENU_ENTRY "Screen Resolutions"
MENU_ENTRY "640x480" ChangeTo640
MENU_ENTRY "800x600" ChangeTo800
MENU_ENTRY "1024x768" ChangeTo1024

MENU_END

// resolutions
:ChangeTo640

WRITE_INI_ENTRY EDIT_SCREEN 0

GOTO InstallMainMenu

:ChangeTo800

WRITE_INI_ENTRY EDIT_SCREEN 1

GOTO InstallMainMenu

:ChangeTo1024

WRITE_INI_ENTRY EDIT_SCREEN 2

GOTO InstallMainMenu

:ReadDoc
TEXT README.TXT
GOTO InstallMainMenu

:ExitInstallFromInstall
END

