home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
_
/
3deditor
/
!3DEditor
/
!Run
< prev
next >
Wrap
Text File
|
1994-01-08
|
2KB
|
52 lines
| !Run file for !3DEditor version 2.16
| (c) Simon Wilkinson 1993,1994
|
| Some sections of this file can be commented out to alter the way 3DEditor
| behaves.
|
Set 3DEditor$Dir <Obey$Dir>
IconSprites <3DEditor$Dir>.!Sprites
Set File$Type_050 3DPlanes
Set Alias$@RunType_050 Run <Obey$Dir>.!Run -file
|
| Comment out the following line if you are using RiscOs 3.00 or above
| as the modules I need are already in ROM.
|
If "<System$Path>"="" THEN Error 0 System resources not found. Locate your system folder and try again
|
| Load in the modules I need for display processing. All of these are
| vital, if they aren't loaded then the editor won't run.
|
RMEnsure ColourTrans 0.51 RmLoad System:Modules.Colours
RMEnsure ColourTrans 0.51 Error 0 This application requires version 0.51 or later of the ColourTrans module to work
RMEnsure FontManager 2.42 Error 0 Font Manager 2.42 or later is required. Locate your !Fonts directory and try again.
|
| The section below checks to see if Newlook, and more importantly,
| NewLook's 3D sprites have been loaded. This probably won't work with the
| next version of RiscOs as the new sprites will be in ROM.
|
Set 3DEditor$Info NewLook
RMEnsure ROMApps3D 0 Set 3DEditor$Info NoNewLook
IF "<NewLook$Loaded>"="" THEN Set 3DEditor$Info NoNewLook
|
| If you don't want to use the Newlook radio and option buttons and prefer
| the 3DEditor ones uncomment the line below :
|
| Set 3DEditor$Info NoNewLook
|
| The line below tells 3D Editor which version of the templates to use.
| RiscOs2 - the RiscOs 2 templates
| RiscOs3 - the RiscOs 3 templates
| System - Use templates appropriate to the current version of RiscOs
| The RiscOs 3 templates are faster, but don't look quite as nice
| (as outline fonts don't greyout or invert properly - ah well)
|
Set 3DEditor$Wimp RiscOs2
|
| 640k Wimpslot is a fairly reasonable size, if you remove some of the
| modules then this could probably be reduced, but be careful - reduce it
| too far and strange crashes will start appearing in the middle of
| execution as the program runs out of variable and/or stack space.
|
Wimpslot -min 640k -max 640k
Run <Obey$Dir>.!RunImage %*0