-- AddXFile( ID, X, Y, Z, XFileName, FLAGS, movieRGB, movieAlpha, linked ) -- AddSprite( ID, X, Y, W, H, PicFileName, FLAGS, movie, linked ); -- Flags: a combination of the following: VISIBLE, ACTIVE, HASALPHA function main() -- This is a 3D scene Is3D( TRUE ); -- Displayable items AddXFile( 0, 0, 0, 0, "panoMotel5.x", VISIBLE, 0, 0 ); AddXFile( OBert, 0, 0, 0, "bert.x", VISIBLE, 10, 0 ); AddXFile( OKatyMotel, 0, 0, 0, "katy.x", VISIBLE, 5, 0 ); -- Hotspots AddXFile( HPanoBert, 0, 0, 0, "hs_bert.x", ACTIVE, 0, 0, HotelBertCloseup ); AddXFile( HPanoKatyMotel, 0, 0, 0, "hs_katy.x", ACTIVE, 0, 0, HotelKatyCloseup ); AddXFile( HPanoWindow, 0, 0, 0, "hs_window.x", ACTIVE, 0, 0, HotelWindowInterior ); AddXFile( OPanoSound1, 0, 0, 0, "sound1.x", ACTIVE ); AddXFile( OPanoSound2, 0, 0, 0, "sound2.x", ACTIVE ); end