Diff for /np2/win9xc/np2.cpp between versions 1.9 and 1.11

version 1.9, 2003/11/15 07:10:03 version 1.11, 2003/12/08 02:09:17
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        <time.h>  #include        <time.h>
   #ifndef __GNUC__
 #include        <winnls32.h>  #include        <winnls32.h>
   #endif
 #include        "strres.h"  #include        "strres.h"
 #include        "parts.h"  #include        "parts.h"
 #include        "resource.h"  #include        "resource.h"
Line 45 Line 47
 #define STATSAVEMAX             10  #define STATSAVEMAX             10
   
 static  char            np2help[] = "np2.hlp";  static  char            np2help[] = "np2.hlp";
 static  char            np2resume[] = "sav";  // static char          np2resume[] = "sav";
   
 static  const char      szAppCaption[] = "Neko Project II - C version";  static  const char      szAppCaption[] = "Neko Project II - C version";
 static  const char      szClassName[] = "NP2-MainWindow";  static  const char      szClassName[] = "NP2-MainWindow";
Line 133  LRESULT CALLBACK WndProc(HWND hWnd, UINT Line 135  LRESULT CALLBACK WndProc(HWND hWnd, UINT
   
         switch (msg) {          switch (msg) {
                 case WM_CREATE:                  case WM_CREATE:
   #ifndef __GNUC__
                         WINNLSEnableIME(hWnd, FALSE);                          WINNLSEnableIME(hWnd, FALSE);
 //                      DragAcceptFiles(hWnd, TRUE);  #endif
                         break;                          break;
   
                 case WM_SYSCOMMAND:                  case WM_SYSCOMMAND:
Line 802  int WINAPI WinMain(HINSTANCE hInstance,  Line 805  int WINAPI WinMain(HINSTANCE hInstance, 
                 np2.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));                  np2.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON1));
                 np2.hCursor = LoadCursor(NULL, IDC_ARROW);                  np2.hCursor = LoadCursor(NULL, IDC_ARROW);
                 np2.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);                  np2.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
                 np2.lpszMenuName = MAKEINTRESOURCE(IDM_MAIN);                  np2.lpszMenuName = MAKEINTRESOURCE(IDR_MAIN);
                 np2.lpszClassName = szClassName;                  np2.lpszClassName = szClassName;
                 if (!RegisterClass(&np2)) {                  if (!RegisterClass(&np2)) {
                         return(FALSE);                          return(FALSE);

Removed from v.1.9  
changed lines
  Added in v.1.11


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