home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / commercial / 4mation / poster / !Poster / !Run < prev    next >
Text File  |  1993-01-25  |  2KB  |  45 lines

  1. | !Poster
  2. | Version 1.66
  3. |
  4. IconSprites <Obey$Dir>.!Sprites
  5. if "<System$Path>" = "" then Error 0 System resources cannot be found
  6. |
  7. RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
  8. RMEnsure ColourTrans 0.52 Error You need ColourTrans 0.52 or later
  9. |
  10. set clib$flag 0
  11. RMensure SharedClibrary 3.75 set clib$flag 1
  12. RMensure SharedClibrary 0 set clib$flag 0
  13. if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory.
  14. unset clib$flag
  15. |  
  16. RMensure SharedClibrary 3.75 RMload System:modules.clib
  17. RMensure SharedClibrary 3.75 Error You need at least version 3.75 of the shared C library
  18. |
  19. RMensure FPEmulator 2.80 RMload System:modules.FPEmulator
  20. RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
  21. |
  22. | Grab extra memory for resources
  23. Wimpslot -min 520K -max 520K
  24. |
  25. Set Alias$@RunType_CC3 Run <Obey$Dir>.!Run %%*0
  26. Set Alias$@PrintType_CC3 Run <Obey$Dir>.!Run -Print %%*0
  27. Set File$Type_CC3 Poster
  28. |
  29. Set File$Type_C4B CmprDraw
  30. Set Alias$@RunType_C4B Run <Obey$Dir>.!Run %%*0
  31. Set Alias$@PrintType_C4B Run <Obey$Dir>.!Run -Print %%*0
  32. |
  33. | If Poster being run then make it the default drawfile editor
  34. Set Alias$@RunType_AFF Run <Obey$Dir>.!Run %%*0
  35. Set Alias$@PrintType_AFF Run <Obey$Dir>.!Run -Print %%*0
  36. Set File$Type_AFF DrawFile
  37. |
  38. If "<Poster$BorderPrefix>" = "" Then SetMacro Poster$BorderPath <Poster$BorderPrefix>.
  39. If "<Poster$BorderPrefix>" = "" Then Set Poster$BorderPrefix <Obey$Dir>
  40. |
  41. Set Poster$Dir <Obey$Dir>
  42. Wimpslot -min 448K -max 448K
  43. |
  44. Run <Poster$Dir>.!RunImage %*0
  45.