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

// 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 "Setup soundcard" SetupSound
MENU_ENTRY "Additional information" ReadDoc
MENU_ENTRY "Change editor-screen-resolution" ChangeScreen
MENU_ENTRY "Exit" ExitInstallFromInstall
MENU_END

:SetupSound

CD DRIVERS
EXECUTE_OWN_SCREEN SETSOUND.EXE
CD ..
GOTO InstallMainMenu

// change resolution
:ChangeScreen

MENU_START

MENU_ENTRY "Screen resolution"
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

