don't allocate ddraw struct
This commit is contained in:
parent
d69a56c0d0
commit
36a87419e3
19 changed files with 1027 additions and 1020 deletions
4
inc/dd.h
4
inc/dd.h
|
@ -56,11 +56,11 @@ typedef struct SPEEDLIMITER
|
|||
|
||||
struct IDirectDrawSurfaceImpl;
|
||||
|
||||
extern struct CNCDDRAW* g_ddraw;
|
||||
extern struct CNCDDRAW g_ddraw;
|
||||
|
||||
typedef struct CNCDDRAW
|
||||
{
|
||||
ULONG ref;
|
||||
LONG ref;
|
||||
|
||||
DWORD width;
|
||||
DWORD height;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#define VERSION_MAJOR 6
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_BUILD 0
|
||||
#define VERSION_REVISION 3
|
||||
#define VERSION_REVISION 4
|
||||
|
||||
#define VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION
|
||||
#define VERSION_STRING ver_str(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue