+++ /dev/null
-/***************************************************************************\r
- soft.h - description\r
- -------------------\r
- begin : Sun Oct 28 2001\r
- copyright : (C) 2001 by Pete Bernert\r
- web : www.pbernert.com \r
- ***************************************************************************/\r
-\r
-/***************************************************************************\r
- * *\r
- * This program is free software; you can redistribute it and/or modify *\r
- * it under the terms of the GNU General Public License as published by *\r
- * the Free Software Foundation; either version 2 of the License, or *\r
- * (at your option) any later version. See also the license.txt file for *\r
- * additional informations. *\r
- * *\r
- ***************************************************************************/\r
-\r
-//*************************************************************************// \r
-// History of changes:\r
-//\r
-// 2001/10/28 - Pete \r
-// - generic cleanup for the Peops release\r
-//\r
-//*************************************************************************// \r
-\r
-#ifndef _GPU_SOFT_H_\r
-#define _GPU_SOFT_H_\r
-\r
-// internally used defines\r
-\r
-#define RED(x) (x & 0xff)\r
-#define BLUE(x) ((x>>16) & 0xff)\r
-#define GREEN(x) ((x>>8) & 0xff)\r
-#define COLOR(x) (x & 0xffffff)\r
-\r
-///////////////////////////////////////////////////////////////////////\r
-\r
-void offsetPSXLine(void);\r
-void offsetPSX2(void);\r
-void offsetPSX3(void);\r
-void offsetPSX4(void);\r
-\r
-void FillSoftwareAreaTrans(short x0, short y0, short x1, short y1, unsigned short col);\r
-void FillSoftwareArea(short x0, short y0, short x1, short y1, unsigned short col);\r
-void drawPoly3G(int rgb1, int rgb2, int rgb3);\r
-void drawPoly4G(int rgb1, int rgb2, int rgb3, int rgb4);\r
-void drawPoly3F(int rgb);\r
-void drawPoly4F(int rgb);\r
-void drawPoly4FT(unsigned char *baseAddr);\r
-void drawPoly4GT(unsigned char *baseAddr);\r
-void drawPoly3FT(unsigned char *baseAddr);\r
-void drawPoly3GT(unsigned char *baseAddr);\r
-void DrawSoftwareSprite(unsigned char *baseAddr, short w, short h, int tx, int ty);\r
-void DrawSoftwareSpriteTWin(unsigned char *baseAddr, int w, int h);\r
-void DrawSoftwareSpriteMirror(unsigned char *baseAddr, int w, int h);\r
-\r
-#endif // _GPU_SOFT_H_\r