|
| !Run file for !Amp
|
<Obey$Dir>.!Boot
|
| 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
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 Run:,Squash:,<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