Ignore:
Timestamp:
Nov 2, 1999, 11:41:23 PM (26 years ago)
Author:
hugh
Message:

Changed dprintf to add DDRAW: at start of a entry
Also copied framebuffer for solid blits to the prinmary surface
Red Alert Map editor does work now ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2D3D.CPP

    r1502 r1568  
    1818HRESULT __stdcall D3DQueryInterface(THIS This, REFIID riid, LPVOID FAR * ppvObj)
    1919{
    20   dprintf(("D3DQueryInterface\n"));
     20  dprintf(("DDRAW: D3DQueryInterface\n"));
    2121  *ppvObj = NULL;
    2222
     
    3535 OS2IDirectDraw *me = (OS2IDirectDraw *)This;
    3636
    37   dprintf(("OS2IDirectDraw::AddRef %d\n", me->Referenced+1));
     37  dprintf(("DDRAW: OS2IDirectDraw::AddRef %d\n", me->Referenced+1));
    3838  return ++me->Referenced;
    3939}
     
    4444 OS2IDirectDraw *me = (OS2IDirectDraw *)This;
    4545
    46   dprintf(("OS2IDirectDraw::Release %d\n", me->Referenced-1));
    47   dprintf(("OS2IDirectDraw::%X \n", me));
     46  dprintf(("DDRAW: OS2IDirectDraw::Release %d\n", me->Referenced-1));
     47  dprintf(("DDRAW: OS2IDirectDraw::%X \n", me));
    4848  if(me->Referenced)
    4949  {
     
    6464HRESULT __stdcall D3DInitialize(THIS This, REFIID)
    6565{
    66   dprintf(("D3DInitialize\n"));
     66  dprintf(("DDRAW: D3DInitialize\n"));
    6767  return(D3D_OK);
    6868}
     
    7171HRESULT __stdcall D3DEnumDevices(THIS This, LPD3DENUMDEVICESCALLBACK, LPVOID)
    7272{
    73   dprintf(("D3DEnumDevices\n"));
     73  dprintf(("DDRAW: D3DEnumDevices\n"));
    7474  return(D3D_OK);
    7575}
     
    7878HRESULT __stdcall D3DCreateLight(THIS This, LPDIRECT3DLIGHT*, IUnknown*)
    7979{
    80   dprintf(("D3DCreateLight\n"));
     80  dprintf(("DDRAW: D3DCreateLight\n"));
    8181  return(D3D_OK);
    8282}
     
    8585HRESULT __stdcall D3DCreateMaterial(THIS This, LPDIRECT3DMATERIAL*, IUnknown*)
    8686{
    87   dprintf(("D3DCreateMaterial\n"));
     87  dprintf(("DDRAW: D3DCreateMaterial\n"));
    8888  return(D3D_OK);
    8989}
     
    9292HRESULT __stdcall D3DCreateViewport(THIS This, LPDIRECT3DVIEWPORT*, IUnknown*)
    9393{
    94   dprintf(("D3DCreateViewport\n"));
     94  dprintf(("DDRAW: D3DCreateViewport\n"));
    9595  return(D3D_OK);
    9696}
     
    9999HRESULT __stdcall D3DFindDevice(THIS This, LPD3DFINDDEVICESEARCH, LPD3DFINDDEVICERESULT)
    100100{
    101   dprintf(("D3DCreateFindDevice\n"));
     101  dprintf(("DDRAW: D3DCreateFindDevice\n"));
    102102  return(D3D_OK);
    103103}
Note: See TracChangeset for help on using the changeset viewer.