First take at real windowed mode, includes a hack for CnC and RA mouse
This commit is contained in:
parent
7bb1168a90
commit
4e57e75652
6 changed files with 218 additions and 8 deletions
10
main.h
10
main.h
|
@ -25,6 +25,8 @@
|
|||
struct IDirectDrawImpl;
|
||||
struct IDirectDrawImplVtbl;
|
||||
|
||||
extern struct IDirectDrawImpl *ddraw;
|
||||
|
||||
typedef struct IDirectDrawImpl
|
||||
{
|
||||
struct IDirectDrawImplVtbl *lpVtbl;
|
||||
|
@ -36,6 +38,14 @@ typedef struct IDirectDrawImpl
|
|||
DWORD bpp;
|
||||
|
||||
HWND hWnd;
|
||||
LRESULT CALLBACK (*WndProc)(HWND, UINT, WPARAM, LPARAM);
|
||||
POINT winpos;
|
||||
POINT cursor;
|
||||
RECT cursorclip;
|
||||
BOOL locked;
|
||||
|
||||
BOOL key_ctrl;
|
||||
BOOL key_alt;
|
||||
|
||||
HMODULE real_dll;
|
||||
LPDIRECTDRAW real_ddraw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue