add visual studio project files

This commit is contained in:
FunkyFr3sh 2018-05-06 10:52:06 +02:00
parent aaf35ec5cf
commit 5a2748f3d1
12 changed files with 11601 additions and 33 deletions

View file

@ -37,17 +37,17 @@ typedef struct IDirectDrawClipperImpl
struct IDirectDrawClipperImplVtbl
{
/* IUnknown */
HRESULT __stdcall (*QueryInterface)(IDirectDrawClipperImpl *, REFIID, void **);
ULONG __stdcall (*AddRef)(IDirectDrawClipperImpl *);
ULONG __stdcall (*Release)(IDirectDrawClipperImpl *);
HRESULT (__stdcall *QueryInterface)(IDirectDrawClipperImpl *, REFIID, void **);
ULONG (__stdcall *AddRef)(IDirectDrawClipperImpl *);
ULONG (__stdcall *Release)(IDirectDrawClipperImpl *);
/* IDirectDrawClipper */
HRESULT __stdcall (*GetClipList)(IDirectDrawClipperImpl *, LPRECT, LPRGNDATA, LPDWORD);
HRESULT __stdcall (*GetHWnd)(IDirectDrawClipperImpl *, HWND FAR *);
HRESULT __stdcall (*Initialize)(IDirectDrawClipperImpl *, LPDIRECTDRAW, DWORD);
HRESULT __stdcall (*IsClipListChanged)(IDirectDrawClipperImpl *, BOOL FAR *);
HRESULT __stdcall (*SetClipList)(IDirectDrawClipperImpl *, LPRGNDATA,DWORD);
HRESULT __stdcall (*SetHWnd)(IDirectDrawClipperImpl *, DWORD, HWND );
HRESULT (__stdcall *GetClipList)(IDirectDrawClipperImpl *, LPRECT, LPRGNDATA, LPDWORD);
HRESULT (__stdcall *GetHWnd)(IDirectDrawClipperImpl *, HWND FAR *);
HRESULT (__stdcall *Initialize)(IDirectDrawClipperImpl *, LPDIRECTDRAW, DWORD);
HRESULT (__stdcall *IsClipListChanged)(IDirectDrawClipperImpl *, BOOL FAR *);
HRESULT (__stdcall *SetClipList)(IDirectDrawClipperImpl *, LPRGNDATA,DWORD);
HRESULT (__stdcall *SetHWnd)(IDirectDrawClipperImpl *, DWORD, HWND );
} IDirectDrawClipperImplVtbl;
#endif

View file

@ -8,7 +8,7 @@ void DebugPrint(const char *format, ...);
//#define _DEBUG 1
//use OutputDebugStringA rather than printf
//#define _DEBUG_S 1
#define _DEBUG_S 1
//log everything (slow)
//#define _DEBUG_X 1

11007
inc/glext.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -51,7 +51,7 @@ typedef struct IDirectDrawImpl
HMODULE real_dll;
/* real export from system32\ddraw.dll */
HRESULT WINAPI (*DirectDrawCreate)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*);
HRESULT (WINAPI *DirectDrawCreate)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*);
CRITICAL_SECTION cs;
struct
@ -75,7 +75,7 @@ typedef struct IDirectDrawImpl
} render;
HWND hWnd;
LRESULT CALLBACK (*WndProc)(HWND, UINT, WPARAM, LPARAM);
LRESULT (CALLBACK *WndProc)(HWND, UINT, WPARAM, LPARAM);
struct { float x; float y; } cursor;
BOOL locked;
BOOL adjmouse;
@ -85,7 +85,7 @@ typedef struct IDirectDrawImpl
BOOL isredalert;
BOOL iscnc1;
BOOL incutscene;
DWORD WINAPI (*renderer)(void);
DWORD (WINAPI *renderer)(void);
char screenshotKey;
BOOL opengl_pbo;
BOOL fullscreen;