Aladino e le Perle di Saggezza — 8 of 49

Leonardo Boselli

Release 7

Part II - Multimedia

[$%

Include Flexible Windows by Jon Ingold.

The main-window has back-colour g-light-grey;

Section 1 - Files

Figure of titolo is the file "titolo.jpg".

Figure of deserto-di-sabbia is the file "deserto-di-sabbia.jpg".

Figure of margini-dell-oasi is the file "margini-dell-oasi.jpg".

Figure of oasi is the file "oasi.jpg".

Figure of serraglio is the file "serraglio.jpg".

Figure of palmeto-dell-oasi is the file "palmeto-dell-oasi.jpg".

Figure of filatoio-dell-oasi is the file "filatoio-dell-oasi.jpg".

Figure of magazzino is the file "magazzino.jpg".

Figure of giardino-incantato is the file "giardino-incantato.jpg".

Figure of stalla is the file "stalla.jpg".

Figure of sorgente-dell-oasi is the file "sorgente-dell-oasi.jpg".

Figure of grotta-dei-quaranta-ladroni is the file "grotta-dei-quaranta-ladroni.jpg".

Figure of accesso-alla-grotta is the file "accesso-alla-grotta.jpg".

Figure of gola-tra-le-montagne is the file "gola-tra-le-montagne.jpg".

Figure of cima-della-montagna is the file "cima-della-montagna.jpg".

Figure of valle-delle-tombe is the file "valle-delle-tombe.jpg".

Figure of accampamento-dei-predoni is the file "accampamento-dei-predoni.jpg".

Figure of riva-sinistra-del-fiume is the file "riva-sinistra-del-fiume.jpg".

Figure of grande-fiume is the file "grande-fiume.jpg".

Figure of via-delle-carovane is the file "via-delle-carovane.jpg".

Figure of aperta-savana is the file "aperta-savana.jpg".

Figure of villaggio-degli-agricoltori is the file "villaggio-degli-agricoltori.jpg".

Figure of vigneti-delle-colline is the file "vigneti-delle-colline.jpg".

Figure of campi-di-grano is the file "campi-di-grano.jpg".

Figure of bosco-di-acacie is the file "bosco-di-acacie.jpg".

Figure of deserto-di-sassi is the file "deserto-di-sassi.jpg".

Figure of inferno-di-sassi is the file "inferno-di-sassi.jpg".

Figure of deserto-di-pietre is the file "deserto-di-pietre.jpg".

Figure of deserto-di-rocce is the file "deserto-di-rocce.jpg".

Figure of uomo-e-orme is the file "uomo-e-orme-V.jpg".

Figure of uomo-e-dario-1 is the file "uomo-e-dario-1-V.jpg".

Figure of uomo-e-dario-2 is the file "uomo-e-dario-2-V.jpg".

Figure of asino is the file "asino-V.jpg".

Figure of avvoltoio is the file "avvoltoio-V.jpg".

Figure of cascata is the file "cascata-V.jpg".

Figure of fune is the file "fune-V.jpg".

Figure of dario-in-piedi is the file "dario-1-V.jpg".

Figure of dario-seduto is the file "dario-2-V.jpg".

Figure of entrata-grotta is the file "entrata-grotta-V.jpg".

Figure of formicaio is the file "formicaio-V.jpg".

Figure of filati is the file "filati-V.jpg".

Figure of forziere is the file "forziere-V.jpg".

Figure of otri is the file "otri-V.jpg".

Figure of grano is the file "grano-V.jpg".

Figure of leone-in-piedi is the file "leone-in-piedi-V.jpg".

Figure of leone-sdraiato is the file "leone-sdraiato-V.jpg".

Figure of matasse is the file "matasse-V.jpg".

Figure of orda-di-predoni is the file "orda-di-predoni-V.jpg".

Figure of pappagallo is the file "pappagallo-V.jpg".

Figure of pesce is the file "pesce-V.jpg".

Figure of rosa is the file "rosa-V.jpg".

Figure of tappeti is the file "tappeti-V.jpg".

Figure of uva is the file "uva-V.jpg".

Figure of zattera is the file "zattera-V.jpg".

Figure of palme-1 is the file "palme-1-V.jpg".

Figure of palme-2 is the file "palme-2-V.jpg".

Figure of palme-3 is the file "palme-3-V.jpg".

Figure of forbici is the file "cesoie-V.jpg".

Figure of spray is the file "spray-V.jpg".

Figure of arnia is the file "arnia-V.jpg".

Figure of pala is the file "pala-V.jpg".

Figure of favo is the file "favo-V.jpg".

Figure of tino is the file "tino-V.jpg".

Sound of colonna sonora is the file "daydreaming.ogg".

Sound of applauso is the file "applauso.ogg".

Sound of avvoltoio-attacco is the file "aquila-attacco.ogg".

Sound of avvoltoio-in-volo is the file "aquila-in-volo.ogg".

Sound of asino is the file "asino.ogg".

Sound of caduta is the file "caduta.ogg".

Sound of cammello is the file "cammello.ogg".

Sound of cicale is the file "cicale.ogg".

Sound of leone is the file "leone.ogg".

Sound of onde is the file "onde.ogg".

Sound of tuffo is the file "tuffo.ogg".

Section 2 - Illustrazioni delle stanze

A room has a figure-name called top-illustration.

The image-setting rule is listed in the carry out looking rules.

This is the image-setting rule:

show-top the top-illustration of the location;

Section 3 - Immagini e suoni (for Glulx only)

First when play begins:

play sound of colonna sonora.

The top-window is a g-window spawned by the main-window.

The type is g-graphics. The position is g-placeabove. The scale method is g-fixed-size. The measurement is 150. The back-colour is g-black..

The current top-window figure is a figure-name that varies.

A window-drawing rule for the top-window:

if top-window is g-unpresent, rule fails;

move focus to top-window, clearing the window;

draw the current top-window figure in top-window with width 600 and height 150;

return to main screen.

The corner-window is a g-window spawned by the top-window.

The type is g-graphics. The position is g-placeleft. The scale method is g-fixed-size. The measurement is 150. The back-colour is g-black.

A window-drawing rule for the corner-window:

if corner-window is g-unpresent, rule fails;

move focus to corner-window, clearing the window;

draw the figure of titolo in corner-window with width 150 and height 150;

return to main screen.

The side-window is a g-window spawned by the main-window.

The type is g-graphics. The position is g-placeleft. The scale method is g-fixed-size. The measurement is 150. The back-colour is g-black.

The current side-window figure is a figure-name that varies.

A window-drawing rule for the side-window:

if side-window is g-unpresent, rule fails;

move focus to side-window, clearing the window;

draw the current side-window figure in side-window with width 150 and height 300;

return to main screen.

To show-side (figure - a figure-name):

change the current side-window figure to figure;

follow the window-drawing rules for the side-window.

To show-top (figure - a figure-name):

change the current top-window figure to figure;

follow the window-drawing rules for the top-window.

To draw the (f - a figure-name) in (g - a g-window) with width (w - a number) and height (h - a number):

(- glk_image_draw_scaled({g}.ref_number, {f}, 0, 0, {w}, {h}); -) .

When play begins:

open up the top-window;

open up the corner-window;

open up the side-window;

follow the window-drawing rules for the corner-window.

Section 4 - nessuna immagine o suono (for Z-machine only)

To show-side (figure - a figure-name):

do nothing.

To show-top (figure - a figure-name):

do nothing.

%$]