mdShow)
{hWnd=CreateWindow (szWindowClass, szTitle, _OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBO, / / ??WS_OVERLAPPEDWINDOW, _USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance,); (! hWnd)
{return FALSE;} (hWnd, nCmdShow); (hWnd); TRUE;} CALLBACK WndProc (HWND hWnd, UINT message, wParam, LPARAM lParam)
{static PAINTSTRUCT ps; RECT Rect; HMENU hMenu; HKEY hKey; cell l; int temp; FILE * f; (message)
{case WM_CREATE: (); [0]=& bmp_0; [1]=& bmp_prestand; [2]=& bmp_appear [0]; [3]=& bmp_stand; [4]=& bmp_jump [0]; [5]=& bmp_explode [0]; _0=LoadBitmap (hInst, MAKEINTRESOURCE (IDB_0)); _prestand=(hInst, MAKEINTRESOURCE (IDB_PRESTAND)); _appear [0]= (hInst, MAKEINTRESOURCE (IDB_APPEAR_1)); _appear [1]=(hInst, MAKEINTRESOURCE (IDB_APPEAR_2)); _appear [2]=(hInst, MAKEINTRESOURCE (IDB_APPEAR_3)); _appear [3]=(hInst, MAKEINTRESOURCE (IDB_APPEAR_4)) ; _stand=LoadBitmap (hInst, MAKEINTRESOURCE (IDB_STAND)); _jump [0]=(hInst, MAKEINTRESOURCE (IDB_JUMP_3)); _jump [1]=(hInst, MAKEINTRESOURCE (IDB_JUMP_2)); _jump [2]=(hInst, MAKEINTRESOURCE (IDB_JUMP_1)); _jump [3]=(hInst, MAKEINTRESOURCE (IDB_JUMP_2)); _jump [4]=(hInst, MAKEINTRESOURCE (IDB_JUMP_3)); _jump [5]=LoadBitmap (hInst, MAKEINTRESOURCE (IDB_STAND)); _jump [ 6]=(hInst, MAKEINTRESOURCE (IDB_JUMP_4)); _jump [7]=(hInst, MAKEINTRESOURCE (IDB_JUMP_5)); _jump [8]=(hInst, MAKEINTRESOURCE (IDB_JUMP_6)); _jump [9]=(hInst, MAKEINTRESOURCE ( IDB_JUMP_5)); _jump [10]=(hInst, MAKEINTRESOURCE (IDB_JUMP_4)); _jump [11]=(hInst, MAKEINTRESOURCE (IDB_STAND)); _explode [0]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_1)); _explode [1] =(hInst, MAKEINTRESOURCE (IDB_EXPLODE_2)); _explode [2]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_3)); _explode [3]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_4)); _explode [4]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_5) ); _explode [5]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_6)); _explode [6]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_7)); _explode [7]=(hInst, MAKEINTRESOURCE (IDB_EXPLODE_8)); _explode [8]=( hInst, MAKEINTRESOURCE (IDB_EXPLODE_9)); _numbers=(hInst, MAKEINTRESOURCE (IDB_NUMBERS)); _points=LoadBitmap (hInst, MAKEINTRESOURCE (IDB_POINTS));=GetDC (hWnd);=CreateCompatibleDC (hDC);
# ifdef LOGGING=fopen («lines.log», «wt»);
# endif ();=GetSubMenu (GetMenu (hWnd), 0); (hMenu, gametype + IDM_EASY, MF_CHECKED);(hWnd,&Rect);(hWnd,Rect.left,Rect.top,CELL_SIZE*max_x+7,TOP_HEIG+CELL_SIZE*max_y+MENU_, TRUE); (); (hWnd, 0,1000, NULL);; WM_LBUTTONDOWN: _ball.posx=LOWORD (lParam) / CELL_SIZE; _ball.posy=(HIWORD (lParam)-TOP_HEIGHT) / 45; (0);; WM_TIMER: (LOWORD (wParam))
{case 0: + +; ();; 1: (1);;}; WM_COMMAND: (LOWORD (wParam))
{case IDM_EASY: _x=9; _y=6; _balls=2; _balls=4;; IDM_NORMAL: _x=9; _y=9; _balls=3; _balls=5;; IDM_HARD: _x=20; _y=12; _balls=10; _balls=4;; IDM_CUSTOM: (hInst, (LPCTSTR) IDD_CUSTOMBOX, hWnd,
(DLGPROC) Custom); ();;} (LOWORD (wParam))
{case IDM_ABOUT: (hInst, (LPCTSTR) IDD_ABOUTBOX, hWnd,
(DLGPROC) About);; IDM_EXIT: (hWnd);; IDM_EASY: IDM_NORMAL: IDM_HARD: IDM_CUSTOM: (hMenu, gametype + IDM_EASY, MF_UNCHECKED); (hMenu, LOWORD (wParam), MF_CHECKED);=LOWORD(wParam)-IDM_EASY;(hWnd,&Rect);(hWnd,Rect.left,Rect.top,CELL_SIZE*max_x+7,TOP_HEIG+CELL_SIZE*m...