Diff for /xmil/win9x/scrnmng.cpp between versions 1.2 and 1.5

version 1.2, 2004/08/04 10:49:21 version 1.5, 2004/08/07 07:19:56
Line 13 Line 13
 #include        "extclass.h"  #include        "extclass.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "scrndraw.h"  #include        "scrndraw.h"
 #include        "draw.h"  
 #include        "palettes.h"  #include        "palettes.h"
 #include        "x1_io.h"  #include        "makescrn.h"
 #include        "x1_crtc.h"  
   
   
 typedef struct {  typedef struct {
Line 473  BRESULT scrnmng_create(UINT8 mode) { Line 471  BRESULT scrnmng_create(UINT8 mode) {
         scrnmng.bpp = (UINT8)bitcolor;          scrnmng.bpp = (UINT8)bitcolor;
         scrnsurf.bpp = bitcolor;          scrnsurf.bpp = bitcolor;
         ddraw.scrnmode = mode;          ddraw.scrnmode = mode;
         ddraw.width = SCREEN_WIDTH;          ddraw.width = SURFACE_WIDTH;
         ddraw.height = height;          ddraw.height = height;
         ddraw.cliping = 0;          ddraw.cliping = 0;
         renewalclientsize(FALSE);          renewalclientsize(FALSE);
Line 642  void clearblanklines(DWORD posx, DWORD p Line 640  void clearblanklines(DWORD posx, DWORD p
   
         fillrect.left = posx;          fillrect.left = posx;
         fillrect.top = posy + ddraw.rect.bottom;          fillrect.top = posy + ddraw.rect.bottom;
         fillrect.right = posx + SCREEN_WIDTH;          fillrect.right = posx + SURFACE_WIDTH;
         fillrect.bottom = posy + SCREEN_HEIGHT;          fillrect.bottom = posy + SURFACE_HEIGHT;
   
         ZeroMemory(&ddbf, sizeof(ddbf));          ZeroMemory(&ddbf, sizeof(ddbf));
         ddbf.dwSize = sizeof(ddbf);          ddbf.dwSize = sizeof(ddbf);
Line 768  void scrnmng_dispclock(void) { Line 766  void scrnmng_dispclock(void) {
                         ddraw.primsurf->Restore();                          ddraw.primsurf->Restore();
                         ddraw.clocksurf->Restore();                          ddraw.clocksurf->Restore();
                 }                  }
                 dclock_cntdown(xmilcfg.DRAW_SKIP);                  dclock_cntdown(xmiloscfg.DRAW_SKIP);
         }          }
 }  }
   

Removed from v.1.2  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>