- Timestamp:
- Jan 19, 2001, 3:06:55 AM (25 years ago)
- Location:
- trunk/src/ddraw/new
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/new/OS2DDRAW.CPP
r3345 r4970 1 /* $Id: OS2DDRAW.CPP,v 1. 1 2000-04-07 18:21:04mike Exp $ */1 /* $Id: OS2DDRAW.CPP,v 1.2 2001-01-19 02:06:55 mike Exp $ */ 2 2 3 3 /* … … 1605 1605 { 1606 1606 SetWindowPos(me->hwndClient, HWND_TOP,0,0,dwWidth,dwHeight,0); 1607 // SetWindowPos(me->hwndClient, HWND_TOP, 0, 0, 1024, 768, 0);1607 SetCursorPos(dwWidth / 2, dwHeight / 2); 1608 1608 1609 1609 if ((me->bPMILoaded) && (ModeInSVGAModeTable(dwWidth,dwHeight,dwBPP))) -
trunk/src/ddraw/new/ddraw.CPP
r3345 r4970 1 /* $Id: ddraw.CPP,v 1. 1 2000-04-07 18:21:11mike Exp $ */1 /* $Id: ddraw.CPP,v 1.2 2001-01-19 02:06:55 mike Exp $ */ 2 2 3 3 /* 4 4 * DXDraw DLL implementaion 5 5 * 6 * Copyright 1998 Sander va Leeuwen6 * Copyright 1998 Sander van Leeuwen 7 7 * Copyright 1999 Markus Montkowski 8 * 9 * WARNING: DirectDrawCreate defaults to ddraw v4 if lpGUID == NULL!! 10 * 8 11 * 9 12 * Project Odin Software License can be found in LICENSE.TXT … … 46 49 { 47 50 newdraw->Vtbl.AddRef((IDirectDraw2 *)newdraw); 51 48 52 rc = newdraw->GetLastError(); 49 53 if(rc != DD_OK) … … 58 62 return(rc); 59 63 } 64 //****************************************************************************** 65 //****************************************************************************** 66 HRESULT WIN32API DirectDrawCreateEx(LPGUID lpGUID, LPVOID* lplpDD, REFIID iid, LPUNKNOWN pUnkOuter) 67 { 68 dprintf(("DirectDrawCreateEx: %x %x %x %x", lpGUID, lplpDD, iid, pUnkOuter)); 69 /* I don't know about what functionality is unique to Ex */ 70 return OS2DirectDrawCreate(lpGUID,(LPDIRECTDRAW*)lplpDD,pUnkOuter); 71 } 72 60 73 //****************************************************************************** 61 74 typedef BOOL (FAR PASCAL * LPDDENUMCALLBACKA)(GUID FAR *, LPSTR, LPSTR, LPVOID); -
trunk/src/ddraw/new/ddraw.DEF
r3345 r4970 1 ; $Id: ddraw.DEF,v 1. 1 2000-04-07 18:21:11mike Exp $1 ; $Id: ddraw.DEF,v 1.2 2001-01-19 02:06:55 mike Exp $ 2 2 3 3 ; … … 11 11 IMPORTS 12 12 _GpiEnableYInversion = PMGPI.723 13 _GpiQueryDCData = PMGPI.66514 13 15 14 EXPORTS … … 17 16 ; D3DParseUnknownCommand @2 18 17 ; DDGetAttachedSurfaceLcl @3 19 DDHAL32_VidMemFree = _DDHAL32_VidMemFree@4 @420 DDHAL32_VidMemAlloc = _DDHAL32_VidMemAlloc@4 @518 DDHAL32_VidMemFree = _DDHAL32_VidMemFree@4 @4 19 DDHAL32_VidMemAlloc = _DDHAL32_VidMemAlloc@4 @5 21 20 ; DDInternalLock @6 22 21 ; DDInternalUnlock @7 23 22 ; DSoundHelp @8 24 DirectDrawCreate = _OS2DirectDrawCreate@12@923 DirectDrawCreate = _OS2DirectDrawCreate@12 @9 25 24 ; DirectDrawCreateClipper @10 26 ; DirectDrawCreateEx@1127 DirectDrawEnumerateA = _OS2DirectDrawEnumerateA@8@1228 DirectDrawEnumerateExA = _OS2DirectDrawEnumerateExA@12 @1325 DirectDrawCreateEx = _DirectDrawCreateEx@16 @11 26 DirectDrawEnumerateA = _OS2DirectDrawEnumerateA@8 @12 27 DirectDrawEnumerateExA = _OS2DirectDrawEnumerateExA@12 @13 29 28 ; DirectDrawEnumerateExW @14 30 29 ; DirectDrawEnumerateW @15 31 DllCanUnloadNow = _DllCanUnloadNow@0 @1632 DllGetClassObject = _DllGetClassObject@12 @1730 DllCanUnloadNow = _DllCanUnloadNow@0 @16 31 DllGetClassObject = _DllGetClassObject@12 @17 33 32 ; GetAliasedVidMem @18 34 33 ; GetDDSurfaceLocal @19 -
trunk/src/ddraw/new/os2fsdd.cpp
r4326 r4970 262 262 NULL); 263 263 264 264 265 return rc; 265 266 }
Note:
See TracChangeset
for help on using the changeset viewer.