home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / programmieren / c / cybergl / fd / cybergl_lib.fd
Encoding:
Text File  |  1998-03-12  |  823 b   |  20 lines

  1. ##base _CyberGLBase
  2. ##bias 30
  3. ##private
  4. openGLWindowTagList(width,height,taglist)(D0,D1,A0)
  5. closeGLWindow(glwnd)(A0)
  6. attachGLWindowTagList(window,width,height,taglist)(A0,D0,D1,A1)
  7. disposeGLWindow(glwnd)(A0)
  8. resizeGLWindow(glwnd,width,height)(A0,D0,D1)
  9. getWindow(glwnd)(A0)
  10. allocColor(glwnd,redval,greenval,blueval)(a0,d0,d1,d2)
  11. allocColorRange(glwnd,r1,g1,b1,r2,g2,b2)(a0,d0,d1,d2,d3,d4,d5,d6)
  12. attachGLWndToRPTagList(screen,rp,width,height,taglist)(a0,a1,d0,d1,a2)
  13. *
  14. * Since some of the gl....() calls use real fpu registers as parameters
  15. * we stop here defining cybergl library functions in the fd file since
  16. * fd only supports cpu registers. We provide a pragma file for SAS/C
  17. * since SAS/C supports fpu registers in pragma files. GNU C or other
  18. * compilers probably need special stub libraries, we can't provide yet.
  19. *
  20.