1 /***************************************************************************
\r
4 begin : Sun Oct 28 2001
\r
5 copyright : (C) 2001 by Pete Bernert
\r
6 email : BlackDove@addcom.de
\r
7 ***************************************************************************/
\r
8 /***************************************************************************
\r
10 * This program is free software; you can redistribute it and/or modify *
\r
11 * it under the terms of the GNU General Public License as published by *
\r
12 * the Free Software Foundation; either version 2 of the License, or *
\r
13 * (at your option) any later version. See also the license.txt file for *
\r
14 * additional informations. *
\r
16 ***************************************************************************/
\r
18 #ifndef _GPU_SOFT_H_
\r
19 #define _GPU_SOFT_H_
\r
21 void offsetPSXLine(void);
\r
22 void offsetPSX2(void);
\r
23 void offsetPSX3(void);
\r
24 void offsetPSX4(void);
\r
26 void FillSoftwareAreaTrans(short x0,short y0,short x1,short y1,unsigned short col);
\r
27 void FillSoftwareArea(short x0,short y0,short x1,short y1,unsigned short col);
\r
28 void drawPoly3G(int32_t rgb1, int32_t rgb2, int32_t rgb3);
\r
29 void drawPoly4G(int32_t rgb1, int32_t rgb2, int32_t rgb3, int32_t rgb4);
\r
30 void drawPoly3F(int32_t rgb);
\r
31 void drawPoly4F(int32_t rgb);
\r
32 void drawPoly4FT(unsigned char * baseAddr);
\r
33 void drawPoly4GT(unsigned char * baseAddr);
\r
34 void drawPoly3FT(unsigned char * baseAddr);
\r
35 void drawPoly3GT(unsigned char * baseAddr);
\r
36 void DrawSoftwareSprite(unsigned char * baseAddr,short w,short h,int32_t tx,int32_t ty);
\r
37 void DrawSoftwareSpriteTWin(unsigned char * baseAddr,int32_t w,int32_t h);
\r
38 void DrawSoftwareSpriteMirror(unsigned char * baseAddr,int32_t w,int32_t h);
\r
39 void DrawSoftwareLineShade(int32_t rgb0, int32_t rgb1);
\r
40 void DrawSoftwareLineFlat(int32_t rgb);
\r
42 #endif // _GPU_SOFT_H_
\r