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/stdafx.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/stdafx.h')
| -rw-r--r-- | plugins/peopsxgl/stdafx.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/peopsxgl/stdafx.h b/plugins/peopsxgl/stdafx.h new file mode 100644 index 00000000..1d845ff2 --- /dev/null +++ b/plugins/peopsxgl/stdafx.h @@ -0,0 +1,45 @@ +/***************************************************************************
+ stdafx.h - description
+ -------------------
+ begin : Sun Mar 08 2009
+ copyright : (C) 1999-2009 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. *
+ * *
+ ***************************************************************************/
+
+#define __X11_C_ +#define __inline inline + +#include <stdio.h> +#include <stdlib.h> +#include <stdint.h> +#include <string.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/time.h> +#include <GL/gl.h> +#include <GL/glx.h> +#include <math.h> +#include <X11/cursorfont.h> + +#define CALLBACK /* */ +#define __inline inline + +#include "gl_ext.h" + +#define SHADETEXBIT(x) ((x>>24) & 0x1) +#define SEMITRANSBIT(x) ((x>>25) & 0x1) + +#ifndef GL_BGRA_EXT +#define GL_BGRA_EXT GL_BGRA +#endif +#define GL_COLOR_INDEX8_EXT 0x80E5 |
