home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / _ / 3deditor / !3DEditor / !Run < prev    next >
Text File  |  1994-01-08  |  2KB  |  52 lines

  1. | !Run file for !3DEditor version 2.16
  2. | (c) Simon Wilkinson 1993,1994
  3. |
  4. | Some sections of this file can be commented out to alter the way 3DEditor
  5. | behaves.
  6. |
  7. Set 3DEditor$Dir <Obey$Dir>
  8. IconSprites <3DEditor$Dir>.!Sprites
  9. Set File$Type_050 3DPlanes
  10. Set Alias$@RunType_050 Run <Obey$Dir>.!Run -file 
  11. |
  12. | Comment out the following line if you are using RiscOs 3.00 or above 
  13. | as the modules I need are already in ROM.
  14. |
  15. If "<System$Path>"="" THEN Error 0 System resources not found. Locate your system folder and try again
  16. |
  17. | Load in the modules I need for display processing. All of these are
  18. | vital, if they aren't loaded then the editor won't run.
  19. |
  20. RMEnsure ColourTrans 0.51 RmLoad System:Modules.Colours
  21. RMEnsure ColourTrans 0.51 Error 0 This application requires version 0.51 or later of the ColourTrans module to work
  22. RMEnsure FontManager 2.42 Error 0 Font Manager 2.42 or later is required. Locate your !Fonts directory and try again.
  23. | The section below checks to see if Newlook, and more importantly,
  24. | NewLook's 3D sprites have been loaded. This probably won't work with the
  25. | next version of RiscOs as the new sprites will be in ROM.
  26. Set 3DEditor$Info NewLook
  27. RMEnsure ROMApps3D 0 Set 3DEditor$Info NoNewLook
  28. IF "<NewLook$Loaded>"="" THEN Set 3DEditor$Info NoNewLook
  29. |
  30. | If you don't want to use the Newlook radio and option buttons and prefer
  31. | the 3DEditor ones uncomment the line below :
  32. |
  33. | Set 3DEditor$Info NoNewLook
  34. | The line below tells 3D Editor which version of the templates to use.
  35. | RiscOs2 - the RiscOs 2 templates
  36. | RiscOs3 - the RiscOs 3 templates
  37. | System  - Use templates appropriate to the current version of RiscOs
  38. | The RiscOs 3 templates are faster, but don't look quite as nice
  39. | (as outline fonts don't greyout or invert properly - ah well)
  40. |
  41. Set 3DEditor$Wimp RiscOs2
  42. |
  43. | 640k Wimpslot is a fairly reasonable size, if you remove some of the
  44. | modules then this could probably be reduced, but be careful - reduce it
  45. | too far and strange crashes will start appearing in the middle of
  46. | execution as the program runs out of variable and/or stack space.
  47. |
  48. Wimpslot -min 640k -max 640k
  49. Run <Obey$Dir>.!RunImage %*0