Changeset 21916 for trunk/src/ddraw
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 27 deleted
- 10 edited
- 26 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/ddraw/ddmain.cpp
r21494 r21916 79 79 dprintf(("DDRAW: DirectDrawEnumerateA\n Callback for DIVE")); 80 80 //call it twice for the DirectDraw & Direct3D classes 81 if(lpCallback(NULL, "DIVE DirectDraw for OS/2",82 "DirectDraw/2 v0.4", lpContext) == DDENUMRET_CANCEL)81 if(lpCallback(NULL, (LPSTR)"DIVE DirectDraw for OS/2", 82 (LPSTR)"DirectDraw/2 v0.4", lpContext) == DDENUMRET_CANCEL) 83 83 { 84 84 dprintf(("DDRAW: Cancel Callback")); … … 91 91 { 92 92 dprintf(("DDRAW: Callback for 3Dfx Voodoo")); 93 if(lpCallback((GUID *)&IID_IDirect3D, "3Dfx Voodoo Direct3D/2",94 "Direct3D/2 v0.2", lpContext) == DDENUMRET_CANCEL)93 if(lpCallback((GUID *)&IID_IDirect3D, (LPSTR)"3Dfx Voodoo Direct3D/2", 94 (LPSTR)"Direct3D/2 v0.2", lpContext) == DDENUMRET_CANCEL) 95 95 { 96 96 dprintf(("DDRAW: Cancel Callback")); -
trunk/src/ddraw/ddraw2d.cpp
r21494 r21916 130 130 131 131 pdwUnknownData = (DWORD*) malloc (255*sizeof(DWORD)); 132 for(int i= 0 ;i<255;i++) 132 int i; 133 for(i= 0 ;i<255;i++) 133 134 pdwUnknownData[i] = 0; 134 135 -
trunk/src/ddraw/ddraw2d.h
r9560 r21916 163 163 }; 164 164 165 #ifdef __GNUC__ 166 // abuse the real address instead of NULL to supress GCC warnings 167 // (note that it will not work right if OS2IDirectDraw gets virtual methods etc.) 168 #define OFFSET_D3DVTABLE (LONG)(&((OS2IDirectDraw *)1)->lpVtbl3D-1) 169 #else 165 170 #define OFFSET_D3DVTABLE (LONG)(&((OS2IDirectDraw *)NULL)->lpVtbl3D) 171 #endif 166 172 #define DDraw3D_GetThisPtr(a) (OS2IDirectDraw *)((ULONG)a-OFFSET_D3DVTABLE) 167 173 -
trunk/src/ddraw/os2fsdd.cpp
r6646 r21916 15 15 #include <misc.h> 16 16 17 #include <svgadefs.h>17 #include "svgadefs.h" 18 18 19 19 #include "os2fsdd.h" … … 53 53 static ULONG ulTotalModes; 54 54 55 static bIsInFS = FALSE;55 static BOOL bIsInFS = FALSE; 56 56 57 57 /* -
trunk/src/ddraw/surface.cpp
r21494 r21916 44 44 #include "wndproc.h" 45 45 46 #if ndef __WATCOMC__46 #ifdef __IBMC__ 47 47 #include <builtin.h> 48 48 #endif -
trunk/src/ddraw/surfacehlp.cpp
r21494 r21916 314 314 const struct { 315 315 DWORD mask; 316 c har *name;316 const char *name; 317 317 } flags[] = { 318 318 #define FE(x) { x, #x}, … … 339 339 const struct { 340 340 DWORD mask; 341 c har *name;341 const char *name; 342 342 } flags[] = { 343 343 #define FE(x) { x, #x}, … … 357 357 const struct { 358 358 DWORD mask; 359 c har *name;359 const char *name; 360 360 } flags[] = { 361 361 #define FE(x) { x, #x}, … … 397 397 const struct { 398 398 DWORD mask; 399 c har *name;399 const char *name; 400 400 } flags[] = { 401 401 #define FE(x) { x, #x}, … … 441 441 const struct { 442 442 DWORD mask; 443 c har *name;443 const char *name; 444 444 } flags[] = { 445 445 #define FE(x) { x, #x}, … … 462 462 const struct { 463 463 DWORD mask; 464 c har *name;464 const char *name; 465 465 } flags[] = { 466 466 FE(DDSD_CAPS) … … 492 492 const struct { 493 493 DWORD mask; 494 c har *name;494 const char *name; 495 495 } flags[] = { 496 496 #define FE(x) { x, #x}, … … 511 511 const struct { 512 512 DWORD mask; 513 c har *name;513 const char *name; 514 514 } flags[] = { 515 515 #define FE(x) { x, #x}, -
trunk/src/ddraw/surfblit.cpp
r21494 r21916 46 46 #include "divewrap.h" 47 47 48 #if ndef __WATCOMC__48 #ifdef __IBMC__ 49 49 #include <builtin.h> 50 50 #endif -
trunk/src/ddraw/surfoverlay.cpp
r21494 r21916 45 45 #include "wndproc.h" 46 46 47 #if ndef __WATCOMC__47 #ifdef __IBMC__ 48 48 #include <builtin.h> 49 49 #endif -
trunk/src/ddraw/wndproc.c
r9459 r21916 107 107 "WINE_DDRAW", "DirectDraw", 108 108 WS_POPUP, 0, 0, dwWidth, dwHeight, 109 GetDesktopWindow(), 0, 0, hwndOwner);109 GetDesktopWindow(), 0, 0, (LPVOID)hwndOwner); 110 110 111 111 SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0,
Note:
See TracChangeset
for help on using the changeset viewer.