version 1.3 | | version 1.4 |
---|
| | |
#include <ddraw.h> | | #include <ddraw.h> |
#include <mmsystem.h> | | #include <mmsystem.h> |
#include "args.h" | | #include "args.h" |
| | #include "resource.h" |
| | |
#ifndef NDEBUG | | #ifndef NDEBUG |
#ifdef _MSC_VER | | #ifdef _MSC_VER |
| | |
wcDescentClass.hInstance = hInst; | | wcDescentClass.hInstance = hInst; |
wcDescentClass.lpfnWndProc = DescentWndProc; | | wcDescentClass.lpfnWndProc = DescentWndProc; |
wcDescentClass.hCursor = LoadCursor(NULL, IDC_ARROW); | | wcDescentClass.hCursor = LoadCursor(NULL, IDC_ARROW); |
wcDescentClass.hIcon = LoadIcon(NULL, IDI_WINLOGO); | | //wcDescentClass.hIcon = LoadIcon(NULL, IDI_WINLOGO); |
| | wcDescentClass.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_MAIN_ICON)); |
wcDescentClass.lpszMenuName = NULL; | | wcDescentClass.lpszMenuName = NULL; |
wcDescentClass.hbrBackground = NULL; | | wcDescentClass.hbrBackground = NULL; |
wcDescentClass.style = CS_HREDRAW | CS_VREDRAW; | | wcDescentClass.style = CS_HREDRAW | CS_VREDRAW; |