home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gvolumeName, gStartPath, gCDinDrive, gDeveloping, gDiskRequested, gOperatingSystem
- clearGlobals()
- set gOperatingSystem to "Win16"
- set the randomSeed to the ticks
- swapCast(2, 11 + random(3))
- set the loc of sprite 2 to point(320, 240)
- set the ink of sprite 2 to 0
- updateStage()
- set the stageColor to 255
- if the machineType <> 256 then
- set gCDinDrive to setUpMacPathNames()
- else
- set gCDinDrive to setupWinPathNames()
- end if
- set status to checkForExternals()
- if status <> EMPTY then
- alert(status)
- if gDeveloping then
- halt()
- else
- quit()
- end if
- else
- openAllXlibs()
- end if
- if (gCDinDrive = 0) and not gDeveloping then
- set gDiskRequested to -1
- go(char 1 to 3 of gOperatingSystem)
- else
- cursor(4)
- startAtmos()
- if gDeveloping then
- go(1, gStartPath & "MEANCITY")
- else
- go(1, gvolumeName & "MEANCITY")
- end if
- exit
- end if
- end
-