Diff for /np2/win9x/np2.cpp between versions 1.55 and 1.56

version 1.55, 2004/06/14 13:35:40 version 1.56, 2005/02/07 14:46:14
Line 56  static char  szClassName[] = "NP2-MainWi Line 56  static char  szClassName[] = "NP2-MainWi
                 HINSTANCE       hInst;                  HINSTANCE       hInst;
                 HINSTANCE       hPrev;                  HINSTANCE       hPrev;
                 int                     mmxflag;                  int                     mmxflag;
                 BYTE            np2break = 0;                                                                   // ver0.30                  UINT8           np2break = 0;                                                                   // ver0.30
                 BOOL            winui_en;                  BOOL            winui_en;
   
                 NP2OSCFG        np2oscfg = {                  NP2OSCFG        np2oscfg = {
Line 84  static char  szClassName[] = "NP2-MainWi Line 84  static char  szClassName[] = "NP2-MainWi
 static  UINT            framecnt = 0;  static  UINT            framecnt = 0;
 static  UINT            waitcnt = 0;  static  UINT            waitcnt = 0;
 static  UINT            framemax = 1;  static  UINT            framemax = 1;
 static  BYTE            np2stopemulate = 0;  static  UINT8           np2stopemulate = 0;
 static  int                     np2opening = 1;  static  int                     np2opening = 1;
 static  int                     np2quitmsg = 0;  static  int                     np2quitmsg = 0;
 static  HMENU           hStat = NULL;  static  HMENU           hStat = NULL;
 static  BYTE            scrnmode;  static  UINT8           scrnmode;
 static  WINLOCEX        smwlex;  static  WINLOCEX        smwlex;
   
 static const char np2help[] = "np2.chm";  static const char np2help[] = "np2.chm";
Line 132  WINLOCEX np2_winlocexallwin(HWND base) { Line 132  WINLOCEX np2_winlocexallwin(HWND base) {
         return(winlocex_create(base, list, cnt));          return(winlocex_create(base, list, cnt));
 }  }
   
 static void changescreen(BYTE newmode) {  static void changescreen(UINT8 newmode) {
   
         BYTE            change;          UINT8           change;
         BYTE            renewal;          UINT8           renewal;
         WINLOCEX        wlex;          WINLOCEX        wlex;
   
         change = scrnmode ^ newmode;          change = scrnmode ^ newmode;
Line 364  static void np2cmd(HWND hWnd, UINT16 cmd Line 364  static void np2cmd(HWND hWnd, UINT16 cmd
                         DialogBox(hInst, MAKEINTRESOURCE(IDD_CONFIG),                          DialogBox(hInst, MAKEINTRESOURCE(IDD_CONFIG),
                                                                         hWnd, (DLGPROC)CfgDialogProc);                                                                          hWnd, (DLGPROC)CfgDialogProc);
                         if (!scrnmng_isfullscreen()) {                          if (!scrnmng_isfullscreen()) {
                                 BYTE thick;                                  UINT8 thick;
                                 thick = (GetWindowLong(hWnd, GWL_STYLE) & WS_THICKFRAME)?1:0;                                  thick = (GetWindowLong(hWnd, GWL_STYLE) & WS_THICKFRAME)?1:0;
                                 if (thick != np2oscfg.thickframe) {                                  if (thick != np2oscfg.thickframe) {
                                         WINLOCEX wlex;                                          WINLOCEX wlex;
Line 1361  static void framereset(UINT cnt) { Line 1361  static void framereset(UINT cnt) {
   
         framecnt = 0;          framecnt = 0;
         scrnmng_dispclock();          scrnmng_dispclock();
         kdispwin_draw((BYTE)cnt);          kdispwin_draw((UINT8)cnt);
         skbdwin_process();          skbdwin_process();
         mdbgwin_process();          mdbgwin_process();
         toolwin_draw((BYTE)cnt);          toolwin_draw((UINT8)cnt);
         viewer_allreload(FALSE);          viewer_allreload(FALSE);
         if (np2oscfg.DISPCLK & 3) {          if (np2oscfg.DISPCLK & 3) {
                 if (sysmng_workclockrenewal()) {                  if (sysmng_workclockrenewal()) {

Removed from v.1.55  
changed lines
  Added in v.1.56


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