home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 15 / MA_Cover_15.iso / source / winquake / cybergraphics_protos_stub.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-25  |  8.0 KB  |  345 lines

  1. // Stub functions for protofile "cybergraphics_protos.h"
  2. // Generated by genPPCStub 1.1 for StormC
  3. // © 1996/97 HAAGE & PARTNER GmbH
  4.  
  5. // DO NOT EDIT
  6.  
  7. #ifndef PPC
  8. #define PPC
  9. #endif // PPC
  10.  
  11. #include <libraries/powerpc.h>
  12.  
  13. #include <ppcamiga.h>
  14.  
  15. void *AllocCModeListTagList(void *arg1)
  16. {
  17.     extern struct Library *CyberGfxBase;
  18.     ULONG regs[16];
  19.     regs[9] = (ULONG) arg1;
  20.     __CallLibrary(CyberGfxBase,-72,regs);
  21.     return (void *) regs[0];
  22. }
  23.  
  24. void *AllocCModeListTags(void *arg1)
  25. {
  26.     extern struct Library *CyberGfxBase;
  27.     ULONG regs[16];
  28.     regs[9] = (ULONG) &arg1;
  29.     __CallLibrary(CyberGfxBase,-72,regs);
  30.     return (void *) regs[0];
  31. }
  32.  
  33. ULONG BestCModeIDTagList(void *arg1)
  34. {
  35.     extern struct Library *CyberGfxBase;
  36.     ULONG regs[16];
  37.     regs[8] = (ULONG) arg1;
  38.     __CallLibrary(CyberGfxBase,-60,regs);
  39.     return (ULONG) regs[0];
  40. }
  41.  
  42. ULONG BestCModeIDTags(void *arg1)
  43. {
  44.     extern struct Library *CyberGfxBase;
  45.     ULONG regs[16];
  46.     regs[8] = (ULONG) &arg1;
  47.     __CallLibrary(CyberGfxBase,-60,regs);
  48.     return (ULONG) regs[0];
  49. }
  50.  
  51. ULONG CModeRequestTagList(void *arg1,void *arg2)
  52. {
  53.     extern struct Library *CyberGfxBase;
  54.     ULONG regs[16];
  55.     regs[8] = (ULONG) arg1;
  56.     regs[9] = (ULONG) arg2;
  57.     __CallLibrary(CyberGfxBase,-66,regs);
  58.     return (ULONG) regs[0];
  59. }
  60.  
  61. ULONG CModeRequestTags(void *arg1,void *arg2)
  62. {
  63.     extern struct Library *CyberGfxBase;
  64.     ULONG regs[16];
  65.     regs[8] = (ULONG) arg1;
  66.     regs[9] = (ULONG) &arg2;
  67.     __CallLibrary(CyberGfxBase,-66,regs);
  68.     return (ULONG) regs[0];
  69. }
  70.  
  71. VOID CVideoCtrlTagList(void *arg1,void *arg2)
  72. {
  73.     extern struct Library *CyberGfxBase;
  74.     ULONG regs[16];
  75.     regs[8] = (ULONG) arg1;
  76.     regs[9] = (ULONG) arg2;
  77.     __CallLibrary(CyberGfxBase,-162,regs);
  78. }
  79.  
  80. VOID CVideoCtrlTags(void *arg1,void *arg2)
  81. {
  82.     extern struct Library *CyberGfxBase;
  83.     ULONG regs[16];
  84.     regs[8] = (ULONG) arg1;
  85.     regs[9] = (ULONG) &arg2;
  86.     __CallLibrary(CyberGfxBase,-162,regs);
  87. }
  88.  
  89. VOID DoCDrawMethodTagList(void *arg1,void *arg2,void *arg3)
  90. {
  91.     extern struct Library *CyberGfxBase;
  92.     ULONG regs[16];
  93.     regs[8] = (ULONG) arg1;
  94.     regs[9] = (ULONG) arg2;
  95.     regs[10] = (ULONG) arg3;
  96.     __CallLibrary(CyberGfxBase,-156,regs);
  97. }
  98.  
  99. VOID DoCDrawMethodTags(void *arg1,void *arg2,void *arg3)
  100. {
  101.     extern struct Library *CyberGfxBase;
  102.     ULONG regs[16];
  103.     regs[8] = (ULONG) arg1;
  104.     regs[9] = (ULONG) arg2;
  105.     regs[10] = (ULONG) &arg3;
  106.     __CallLibrary(CyberGfxBase,-156,regs);
  107. }
  108.  
  109. ULONG ExtractColor(void *arg1,void *arg2,ULONG arg3,ULONG arg4,ULONG arg5,ULONG arg6,ULONG arg7)
  110. {
  111.     extern struct Library *CyberGfxBase;
  112.     ULONG regs[16];
  113.     regs[8] = (ULONG) arg1;
  114.     regs[9] = (ULONG) arg2;
  115.     regs[0] = (ULONG) arg3;
  116.     regs[1] = (ULONG) arg4;
  117.     regs[2] = (ULONG) arg5;
  118.     regs[3] = (ULONG) arg6;
  119.     regs[4] = (ULONG) arg7;
  120.     __CallLibrary(CyberGfxBase,-186,regs);
  121.     return (ULONG) regs[0];
  122. }
  123.  
  124. ULONG FillPixelArray(void *arg1,UWORD arg2,UWORD arg3,UWORD arg4,UWORD arg5,ULONG arg6)
  125. {
  126.     extern struct Library *CyberGfxBase;
  127.     ULONG regs[16];
  128.     regs[9] = (ULONG) arg1;
  129.     regs[0] = (ULONG) arg2;
  130.     regs[1] = (ULONG) arg3;
  131.     regs[2] = (ULONG) arg4;
  132.     regs[3] = (ULONG) arg5;
  133.     regs[4] = (ULONG) arg6;
  134.     __CallLibrary(CyberGfxBase,-150,regs);
  135.     return (ULONG) regs[0];
  136. }
  137.  
  138. VOID FreeCModeList(void *arg1)
  139. {
  140.     extern struct Library *CyberGfxBase;
  141.     ULONG regs[16];
  142.     regs[8] = (ULONG) arg1;
  143.     __CallLibrary(CyberGfxBase,-78,regs);
  144. }
  145.  
  146. ULONG GetCyberIDAttr(ULONG arg1,ULONG arg2)
  147. {
  148.     extern struct Library *CyberGfxBase;
  149.     ULONG regs[16];
  150.     regs[0] = (ULONG) arg1;
  151.     regs[1] = (ULONG) arg2;
  152.     __CallLibrary(CyberGfxBase,-102,regs);
  153.     return (ULONG) regs[0];
  154. }
  155.  
  156. ULONG GetCyberMapAttr(void *arg1,ULONG arg2)
  157. {
  158.     extern struct Library *CyberGfxBase;
  159.     ULONG regs[16];
  160.     regs[8] = (ULONG) arg1;
  161.     regs[0] = (ULONG) arg2;
  162.     __CallLibrary(CyberGfxBase,-96,regs);
  163.     return (ULONG) regs[0];
  164. }
  165.  
  166. ULONG InvertPixelArray(void *arg1,UWORD arg2,UWORD arg3,UWORD arg4,UWORD arg5)
  167. {
  168.     extern struct Library *CyberGfxBase;
  169.     ULONG regs[16];
  170.     regs[9] = (ULONG) arg1;
  171.     regs[0] = (ULONG) arg2;
  172.     regs[1] = (ULONG) arg3;
  173.     regs[2] = (ULONG) arg4;
  174.     regs[3] = (ULONG) arg5;
  175.     __CallLibrary(CyberGfxBase,-144,regs);
  176.     return (ULONG) regs[0];
  177. }
  178.  
  179. WORD IsCyberModeID(ULONG arg1)
  180. {
  181.     extern struct Library *CyberGfxBase;
  182.     ULONG regs[16];
  183.     regs[0] = (ULONG) arg1;
  184.     __CallLibrary(CyberGfxBase,-54,regs);
  185.     return (WORD) regs[0];
  186. }
  187.  
  188. void *LockBitMapTagList(void *arg1,void *arg2)
  189. {
  190.     extern struct Library *CyberGfxBase;
  191.     ULONG regs[16];
  192.     regs[8] = (ULONG) arg1;
  193.     regs[9] = (ULONG) arg2;
  194.     __CallLibrary(CyberGfxBase,-168,regs);
  195.     return (void *) regs[0];
  196. }
  197.  
  198. void *LockBitMapTags(void *arg1,void *arg2)
  199. {
  200.     extern struct Library *CyberGfxBase;
  201.     ULONG regs[16];
  202.     regs[8] = (ULONG) arg1;
  203.     regs[9] = (ULONG) &arg2;
  204.     __CallLibrary(CyberGfxBase,-168,regs);
  205.     return (void *) regs[0];
  206. }
  207.  
  208. ULONG MovePixelArray(UWORD arg1,UWORD arg2,void *arg3,UWORD arg4,UWORD arg5,UWORD arg6,UWORD arg7)
  209. {
  210.     extern struct Library *CyberGfxBase;
  211.     ULONG regs[16];
  212.     regs[0] = (ULONG) arg1;
  213.     regs[1] = (ULONG) arg2;
  214.     regs[9] = (ULONG) arg3;
  215.     regs[2] = (ULONG) arg4;
  216.     regs[3] = (ULONG) arg5;
  217.     regs[4] = (ULONG) arg6;
  218.     regs[5] = (ULONG) arg7;
  219.     __CallLibrary(CyberGfxBase,-132,regs);
  220.     return (ULONG) regs[0];
  221. }
  222.  
  223. ULONG ReadPixelArray(void *arg1,UWORD arg2,UWORD arg3,UWORD arg4,void *arg5,UWORD arg6,UWORD arg7,UWORD arg8,UWORD arg9,UBYTE arg10)
  224. {
  225.     extern struct Library *CyberGfxBase;
  226.     ULONG regs[16];
  227.     regs[8] = (ULONG) arg1;
  228.     regs[0] = (ULONG) arg2;
  229.     regs[1] = (ULONG) arg3;
  230.     regs[2] = (ULONG) arg4;
  231.     regs[9] = (ULONG) arg5;
  232.     regs[3] = (ULONG) arg6;
  233.     regs[4] = (ULONG) arg7;
  234.     regs[5] = (ULONG) arg8;
  235.     regs[6] = (ULONG) arg9;
  236.     regs[7] = (ULONG) arg10;
  237.     __CallLibrary(CyberGfxBase,-120,regs);
  238.     return (ULONG) regs[0];
  239. }
  240.  
  241. ULONG ReadRGBPixel(void *arg1,UWORD arg2,UWORD arg3)
  242. {
  243.     extern struct Library *CyberGfxBase;
  244.     ULONG regs[16];
  245.     regs[9] = (ULONG) arg1;
  246.     regs[0] = (ULONG) arg2;
  247.     regs[1] = (ULONG) arg3;
  248.     __CallLibrary(CyberGfxBase,-108,regs);
  249.     return (ULONG) regs[0];
  250. }
  251.  
  252. LONG ScalePixelArray(void *arg1,UWORD arg2,UWORD arg3,UWORD arg4,void *arg5,UWORD arg6,UWORD arg7,UWORD arg8,UWORD arg9,UBYTE arg10)
  253. {
  254.     extern struct Library *CyberGfxBase;
  255.     ULONG regs[16];
  256.     regs[8] = (ULONG) arg1;
  257.     regs[0] = (ULONG) arg2;
  258.     regs[1] = (ULONG) arg3;
  259.     regs[2] = (ULONG) arg4;
  260.     regs[9] = (ULONG) arg5;
  261.     regs[3] = (ULONG) arg6;
  262.     regs[4] = (ULONG) arg7;
  263.     regs[5] = (ULONG) arg8;
  264.     regs[6] = (ULONG) arg9;
  265.     regs[7] = (ULONG) arg10;
  266.     __CallLibrary(CyberGfxBase,-90,regs);
  267.     return (LONG) regs[0];
  268. }
  269.  
  270. VOID UnLockBitMap(void *arg1)
  271. {
  272.     extern struct Library *CyberGfxBase;
  273.     ULONG regs[16];
  274.     regs[8] = (ULONG) arg1;
  275.     __CallLibrary(CyberGfxBase,-174,regs);
  276. }
  277.  
  278. ULONG WritePixelArray(void *arg1,UWORD arg2,UWORD arg3,UWORD arg4,void *arg5,UWORD arg6,UWORD arg7,UWORD arg8,UWORD arg9,UBYTE arg10)
  279. {
  280.     extern struct Library *CyberGfxBase;
  281.     ULONG regs[16];
  282.     regs[8] = (ULONG) arg1;
  283.     regs[0] = (ULONG) arg2;
  284.     regs[1] = (ULONG) arg3;
  285.     regs[2] = (ULONG) arg4;
  286.     regs[9] = (ULONG) arg5;
  287.     regs[3] = (ULONG) arg6;
  288.     regs[4] = (ULONG) arg7;
  289.     regs[5] = (ULONG) arg8;
  290.     regs[6] = (ULONG) arg9;
  291.     regs[7] = (ULONG) arg10;
  292.     __CallLibrary(CyberGfxBase,-126,regs);
  293.     return (ULONG) regs[0];
  294. }
  295.  
  296. ULONG WriteLUTPixelArray(void *arg1,UWORD arg2,UWORD arg3,UWORD arg4,void *arg5,void *arg6,UWORD arg7,UWORD arg8,UWORD arg9,UWORD arg10,UBYTE arg11)
  297. {
  298.     extern struct Library *CyberGfxBase;
  299.     ULONG regs[16];
  300.     regs[8] = (ULONG) arg1;
  301.     regs[0] = (ULONG) arg2;
  302.     regs[1] = (ULONG) arg3;
  303.     regs[2] = (ULONG) arg4;
  304.     regs[9] = (ULONG) arg5;
  305.     regs[10] = (ULONG) arg6;
  306.     regs[3] = (ULONG) arg7;
  307.     regs[4] = (ULONG) arg8;
  308.     regs[5] = (ULONG) arg9;
  309.     regs[6] = (ULONG) arg10;
  310.     regs[7] = (ULONG) arg11;
  311.     __CallLibrary(CyberGfxBase,-198,regs);
  312.     return (ULONG) regs[0];
  313. }
  314.  
  315. LONG WriteRGBPixel(void *arg1,UWORD arg2,UWORD arg3,ULONG arg4)
  316. {
  317.     extern struct Library *CyberGfxBase;
  318.     ULONG regs[16];
  319.     regs[9] = (ULONG) arg1;
  320.     regs[0] = (ULONG) arg2;
  321.     regs[1] = (ULONG) arg3;
  322.     regs[2] = (ULONG) arg4;
  323.     __CallLibrary(CyberGfxBase,-114,regs);
  324.     return (LONG) regs[0];
  325. }
  326.  
  327. VOID UnLockBitMapTagList(void *arg1,void *arg2)
  328. {
  329.     extern struct Library *CyberGfxBase;
  330.     ULONG regs[16];
  331.     regs[8] = (ULONG) arg1;
  332.     regs[9] = (ULONG) arg2;
  333.     __CallLibrary(CyberGfxBase,-180,regs);
  334. }
  335.  
  336. VOID UnLockBitMapTags(void *arg1,void *arg2)
  337. {
  338.     extern struct Library *CyberGfxBase;
  339.     ULONG regs[16];
  340.     regs[8] = (ULONG) arg1;
  341.     regs[9] = (ULONG) &arg2;
  342.     __CallLibrary(CyberGfxBase,-180,regs);
  343. }
  344.  
  345.