-- 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, "pano_motel.x", VISIBLE, 0, 0 ); AddXFile( OPanoBert, 0, 0, 0, "bert.x", VISIBLE, 8, 0 ); AddXFile( OPanoBracelet, 0, 0, 0, "bracelet.x", VISIBLE+HASALPHA, 0, 0 ); AddXFile( KylieDeadBodyObject, 0, 0, 0, "kylie.x", VISIBLE+HASALPHA, 0, 0 ); AddXFile( OGrissomCrouch, 0, 0, 0, "grissom1.x", VISIBLE, 5, 0 ); AddXFile( KylieBedSheetObject, 0, 0, 0, "cloth.x", VISIBLE+HASALPHA, 0, 0 ); AddXFile( OGrissomStand, 0, 0, 0, "grissom2.x", 0, 6, 0 ); AddXFile( MotelSoundTV, 0, 0, 0, "sound_tv.x", 0, 0, 0 ); AddXFile( MotelSoundWindow, 0, 0, 0, "sound_window.x", 0, 0, 0 ); -- Hotspots AddXFile( BathroomHotspot, 0, 0, 0, "hs_bathroom.x", ACTIVE, 0, 0, HotelBathroom ); AddXFile( KylieBodyHotspot, 0, 0, 0, "hs_body.x", ACTIVE, 0, 0, KylieBody ); AddXFile( HPanoBert, 0, 0, 0, "hs_bert.x", ACTIVE, 0, 0, HotelBert ); AddXFile( KylieBraceletHotspot, 0, 0, 0, "bracelet.x", ACTIVE+VISIBLE, 0, 0, KylieBraceletCloseup ); AddXFile( HPanoGrissomCrouch, 0, 0, 0, "hs_grissom1.x", ACTIVE, 0, 0, GrissomCrouch ); AddXFile( 6, 0, 0, 0, "hs_remote.x", ACTIVE, 0, 0, RemoteFingerPrintCloseup ); AddXFile( 7, 0, 0, 0, "hs_tv.x", ACTIVE, 0, 0, TVFingerPrintCloseup ); AddXFile( BedSheetHotspot, 0, 0, 0, "hs_cloth.x", 0, 0, 0, HotelStrangleSheetView ); AddXFile( HPanoGrissomStand, 0, 0, 0, "hs_grissom2.x", 0, 0, 0, GrissomStand ); end