-- 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( OPano_Car, 0, 0, 0, "pano_car.x", VISIBLE, 0, 0 ); AddXFile( OPano_NO_Car, 0, 0, 0, "pano_nocar.x", 0, 0, 0 ); AddXFile( OPanoGun1, 0, 0, 0, "gun1.x", HASALPHA, 0, 0 ); AddXFile( OPanoGun2, 0, 0, 0, "gun2.x", VISIBLE+HASALPHA, 0, 0 ); AddXFile( OPanoTireIron, 0, 0, 0, "tireIron.x", VISIBLE, 0, 0 ); AddXFile( NickCar, 0, 0, 0, "nick1.x", VISIBLE, 21, 0 ); AddXFile( NickNoCar, 0, 0, 0, "nick2.x", 0, 22, 0 ); AddXFile( OPanoLights1, 0, 0, 0, "lights1.x", VISIBLE, 17, 0 ); -- AddXFile( OPanoLights2, 0, 0, 0, "lights2.x", VISIBLE, 18, 0 ); AddXFile( OPanoLights3, 0, 0, 0, "lights3.x", VISIBLE, 19, 0 ); AddXFile( OPanoLights4, 0, 0, 0, "lights4.x", VISIBLE, 20, 0 ); AddXFile( PanoSound1, 0, 0, 0, "sound1.x", 0, 0, 0 ); AddXFile( PanoSound2, 0, 0, 0, "sound1.x", 0, 0, 0 ); -- Hotspots AddXFile( HPanoGun1, 0, 0, 0, "hs_gun1.x", 0, 0, 0, TropicanaGun1 ); AddXFile( HPanoGun2, 0, 0, 0, "hs_gun2.x", ACTIVE, 0, 0, TropicanaGun2 ); AddXFile( HPanoTireIron, 0, 0, 0, "hs_tireIron.x", ACTIVE, 0, 0, TropicanaIron ); AddXFile( HPanoBlood, 0, 0, 0, "hs_blood.x", ACTIVE, 0, 0, TropicanaBlood ); AddXFile( HPanoBody, 0, 0, 0, "hs_body.x", ACTIVE, 0, 0, TropicanaOfficer ); AddXFile( HPanoNick, 0, 0, 0, "hs_nick.x", ACTIVE, 0, 0, TropicanaNickCU ); AddXFile( HPanoCar, 0, 0, 0, "hs_car.x", ACTIVE, 0, 0, TropicanaCar ); end