summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/externals.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-18 01:34:01 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-18 01:34:01 +0000
commitc4f5208806fe4136b19cce9f63f03820fc49d0cf (patch)
treec1f42770d9fc0f88538993f0fb4cc78c364c056e /plugins/peopsxgl/externals.h
parentc4a77870fcb7793bd5a7611b9994a5b15a335a3c (diff)
downloadpcsxr-c4f5208806fe4136b19cce9f63f03820fc49d0cf.tar.gz
peopsxgl: Readded windows support.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56180 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/peopsxgl/externals.h')
-rw-r--r--plugins/peopsxgl/externals.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/peopsxgl/externals.h b/plugins/peopsxgl/externals.h
index 8ce2b914..a2775fe9 100644
--- a/plugins/peopsxgl/externals.h
+++ b/plugins/peopsxgl/externals.h
@@ -78,6 +78,8 @@
#define KEY_STEPDOWN 256
#define KEY_TOGGLEFBREAD 512
+#ifndef _WINDOWS
+
#define FALSE 0
#define TRUE 1
#define BOOL unsigned short
@@ -96,6 +98,8 @@ typedef struct RECTTAG
int bottom;
}RECT;
+#endif
+
typedef struct VRAMLOADTAG
{
short x;
@@ -194,6 +198,12 @@ extern char *pConfigFile;
#endif
+#ifdef _WINDOWS
+
+extern HINSTANCE hInst;
+
+#endif
+
#ifndef _IN_DRAW
extern int iResX;
@@ -219,6 +229,9 @@ extern unsigned char gl_ux[8];
extern unsigned char gl_vy[8];
extern OGLVertex vertex[4];
extern short sprtY,sprtX,sprtH,sprtW;
+#ifdef _WINDOWS
+extern HWND hWWindow;
+#endif
extern BOOL bIsFirstFrame;
extern int iWinSize;
extern int iZBufferDepth;