home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 10
/
AU_CD10.iso
/
Archived
/
Updates
/
amp
/
!Amp
/
!Run
< prev
next >
Wrap
Text File
|
2000-05-14
|
981b
|
39 lines
|
| !Run file for !Amp
|
<Obey$Dir>.!Boot
|
Set Amp$PluginDir <Amp$Dir>.Plug-ins
Set Amp$ModuleDir <Amp$PluginDir>.Modules
Set Amp$TemplateDir <Amp$PluginDir>.Templates
Set Amp$ResDir <Amp$Dir>
Set Amp$SkinDir <Amp$Dir>.Skins
|
| We need the nested Window Manager
|
RMEnsure WindowManager 3.80 Error !Amp needs the nested Window Manager
|
| Check to see if we can support high colour sprites
|
Set Amp$HighColour YES
|Set Amp$HighColour NO
RMEnsure SpriteExtend 0.99 Set Amp$HighColour NO
|
| Set up a path to find the Squash app
| If you have it somewhere else, add it BEFORE <Amp$Dir>.
|
Set AmpSquash$Path Squash:,Run:,<Amp$Dir>.
|
| Check for PlayIt
|
If "<PlayIt$Path>" = "" Then Set PlayIt$Path <Amp$ModuleDir>.PlayIt.
|
| Path to find choices
|
SetMacro AmpChoices$Path Choices:Amp.,<Amp$Dir>.
If "<Choices$Write>" <> "" Then SetMacro Amp$ChoicesSave <Choices$Write>.Amp Else SetMacro Amp$ChoicesSave <Amp$Dir>
|
| And run the program
|
Set Amp$Args "%*0"
<Amp$Dir>.CheckRun