diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-05-09 10:25:10 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-05-09 10:25:10 +0000 |
| commit | 51cf70467dfbcca5fbce7f25761678dd8b487d4e (patch) | |
| tree | 151add86c7591d2a496422cf8790daec26059af8 /plugins/peopsxgl/soft.h | |
| parent | 29059dcf6e6fbc34c5eacd2a3c70995a1874f02b (diff) | |
| download | pcsxr-51cf70467dfbcca5fbce7f25761678dd8b487d4e.tar.gz | |
Integrated P.E.Op.S OpenGL plugin into the build tree (still does NOT work on x86_64)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23342 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/peopsxgl/soft.h')
| -rw-r--r-- | plugins/peopsxgl/soft.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/peopsxgl/soft.h b/plugins/peopsxgl/soft.h new file mode 100644 index 00000000..b0e540c9 --- /dev/null +++ b/plugins/peopsxgl/soft.h @@ -0,0 +1,58 @@ +/***************************************************************************
+ soft.h - description
+ -------------------
+ begin : Sun Oct 28 2001
+ copyright : (C) 2001 by Pete Bernert
+ web : www.pbernert.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. See also the license.txt file for *
+ * additional informations. *
+ * *
+ ***************************************************************************/
+
+//*************************************************************************//
+// History of changes:
+//
+// 2001/10/28 - Pete
+// - generic cleanup for the Peops release
+//
+//*************************************************************************//
+
+#ifndef _GPU_SOFT_H_
+#define _GPU_SOFT_H_
+
+// internally used defines
+
+#define RED(x) (x & 0xff)
+#define BLUE(x) ((x>>16) & 0xff)
+#define GREEN(x) ((x>>8) & 0xff)
+#define COLOR(x) (x & 0xffffff)
+
+///////////////////////////////////////////////////////////////////////
+
+void offsetPSXLine(void);
+void offsetPSX2(void);
+void offsetPSX3(void);
+void offsetPSX4(void);
+
+void FillSoftwareAreaTrans(short x0,short y0,short x1,short y1,unsigned short col);
+void FillSoftwareArea(short x0,short y0,short x1,short y1,unsigned short col);
+void drawPoly3G(long rgb1, long rgb2, long rgb3);
+void drawPoly4G(long rgb1, long rgb2, long rgb3, long rgb4);
+void drawPoly3F(long rgb);
+void drawPoly4F(long rgb);
+void drawPoly4FT(unsigned char * baseAddr);
+void drawPoly4GT(unsigned char * baseAddr);
+void drawPoly3FT(unsigned char * baseAddr);
+void drawPoly3GT(unsigned char * baseAddr);
+void DrawSoftwareSprite(unsigned char * baseAddr,short w,short h,long tx,long ty);
+void DrawSoftwareSpriteTWin(unsigned char * baseAddr,long w,long h);
+void DrawSoftwareSpriteMirror(unsigned char * baseAddr,long w,long h);
+
+#endif // _GPU_SOFT_H_
|
