gpu_unai: pcsx-rearmed port
[pcsx_rearmed.git] / plugins / dfxvideo / soft.h
CommitLineData
ef79bbde
P
1/***************************************************************************\r
2 soft.h - description\r
3 -------------------\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
9 * *\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
15 * *\r
16 ***************************************************************************/\r
17\r
18#ifndef _GPU_SOFT_H_\r
19#define _GPU_SOFT_H_\r
20\r
21void offsetPSXLine(void);\r
22void offsetPSX2(void);\r
23void offsetPSX3(void);\r
24void offsetPSX4(void);\r
25\r
26void FillSoftwareAreaTrans(short x0,short y0,short x1,short y1,unsigned short col);\r
27void FillSoftwareArea(short x0,short y0,short x1,short y1,unsigned short col);\r
28void drawPoly3G(int32_t rgb1, int32_t rgb2, int32_t rgb3);\r
29void drawPoly4G(int32_t rgb1, int32_t rgb2, int32_t rgb3, int32_t rgb4);\r
30void drawPoly3F(int32_t rgb);\r
31void drawPoly4F(int32_t rgb);\r
32void drawPoly4FT(unsigned char * baseAddr);\r
33void drawPoly4GT(unsigned char * baseAddr);\r
34void drawPoly3FT(unsigned char * baseAddr);\r
35void drawPoly3GT(unsigned char * baseAddr);\r
36void DrawSoftwareSprite(unsigned char * baseAddr,short w,short h,int32_t tx,int32_t ty);\r
37void DrawSoftwareSpriteTWin(unsigned char * baseAddr,int32_t w,int32_t h);\r
38void DrawSoftwareSpriteMirror(unsigned char * baseAddr,int32_t w,int32_t h);\r
39void DrawSoftwareLineShade(int32_t rgb0, int32_t rgb1);\r
40void DrawSoftwareLineFlat(int32_t rgb);\r
41\r
42#endif // _GPU_SOFT_H_\r