( ----------------------------------------------------
( FILE:         view.rpl
( DESCRIPTION:  Internal structure of View window
( PLATFORM: 	AMIGA
( VERSION:      2.4
( DATE:	        16-Dec-93
( ----------------------------------------------------
( Copyright © 1993,1994 Realsoft.  All rights reserved
( ----------------------------------------------------

?& VIEW.RPL NOT ?IF
17 CONSTANT VIEW.RPL

( Internal structure of View window 

0   CONSTANT V.TYPE
4   CONSTANT V.FLAGS
298 CONSTANT V.RSPEC  ( struct RSPEC defined below starts here 


( Flag values. Some reserved bits has not been documented here; 
( You MUST not change the values of these bits

2 0  POW CONSTATNT lPF_SEPARATE         ( separate IO
2 3  POW CONSTATNT lPF_GRID	        ( visible grid  
2 4  POW CONSTATNT lPF_SNAPTOGRID       ( snap to grid  
2 6  POW CONSTATNT lPF_BUSYREQ          ( open a busy requester for renderer  
2 7  POW CONSTATNT lPF_ABSGRID	        ( draw absolute grid  
2 8  POW CONSTATNT lPF_CAMERAVIEW       ( camview in anim play
2 10 POW CONSTATNT lPF_COLORSHADING	( color palette shading 
2 12 POW CONSTATNT lPF_NOREFRESH	( ignore all refresh requests  
2 13 POW CONSTATNT lPF_RAYTRACED	( view window is being rendered  
2 14 POW CONSTATNT lPF_DRAWCTRLPOL      ( draw control polygon 
2 15 POW CONSTATNT lPF_DRAWCURVE        ( draw curve/surface 
2 16 POW CONSTATNT lPF_DRAWKNOTS        ( draw knot points  
2 17 POW CONSTATNT lPF_DRAWTEXTURES     ( draw textures  
2 18 POW CONSTATNT lPF_DRAWRAYTRC       ( draw objects using ray tracing  
2 19 POW CONSTATNT lPF_DRAWCOORD        ( draw coordinates on view window  
2 20 POW CONSTATNT lPF_CAMERAMODE       ( mouse is used for vcam controlling  
2 21 POW CONSTATNT lPF_HLOCK            ( lock to horiz. input axis    
2 22 POW CONSTATNT lPF_VLOCK            ( lock to vert. input axis    
2 23 POW CONSTATNT lPF_CAMPOSMODE       ( mouse is used for vcam positioning  
2 24 POW CONSTATNT lPF_DRAWW	        ( oncreased surface drawing density
2 25 POW CONSTATNT lPF_DRAWNAMES        ( draw names on project window  
2 26 POW CONSTATNT lPF_WIRERENDER	( render always as wire frame  
2 27 POW CONSTATNT lPF_DRAWMORPH	( draw eval. information  
2 30 POW CONSTATNT lPF_DRAWCTRLELEM     ( draw control elements on window  
2 31 POW CONSTATNT lPF_DRAWREFSYS       ( draw coordsys on window  


( Internal structure of View/RSPEC. Note - RSPEC itself is included in 
( View specific data, not the address of it

0   CONSTANT V.sBackPic
256 CONSTANT V.sEnvMap
512 CONSTANT V.uMode
514 CONSTANT V.uOutput
516 CONSTANT V.cDither
517 CONSTANT V.bDitScale
518 CONSTANT V.bAADepth
520 CONSTANT VR.vPos
532 CONSTANT VR.vTilt
544 CONSTANT VR.vAimp
556 CONSTANT VR.fScreen
560 CONSTANT VR.fScale 	
564 CONSTANT VR.iFlags
568 CONSTANT VR.iARatio
572 CONSTANT VR.bWidth
574 CONSTANT VR.bHeight
576 CONSTANT VR.bBoxLeft
578 CONSTANT VR.bBoxTop
580 CONSTANT VR.bBoxWidth
582 CONSTANT VR.bBoxHeight
584 CONSTANT VR.bDX
586 CONSTANT VR.bDY
588 CONSTANT VR.bSkipX
590 CONSTANT VR.bSkipY
592 CONSTANT VR.bSamples
594 CONSTANT VR.bRecursion
596 CONSTANT VR.bBrightness
598 CONSTANT VR.cAmbient
602 CONSTANT VR.cBgr
606 CONSTANT VR.cBgrGrad
610 CONSTANT VR.cEnv
614 CONSTANT VR.cEnvGrad
618 CONSTANT VR.iOverlight
622 CONSTANT VR.bSubdiv
624 CONSTANT VR.fDOF
628 CONSTANT VR.fDOFW
632 CONSTANT VR.bMSamples 	
634 CONSTANT VR.sFilename 	

?ENDIF ( VIEW.RPL 
