Commit 9aaf13e7 authored by Peter Hunnisett's avatar Peter Hunnisett Committed by Alexandre Julliard

- Fix painting bug with middle button down when dragging mouse

- Speed up drawing and hence overall speed - Fix compiler warnings - Added some optional debugging information - Added a new known bug to the list
parent 7f383a88
...@@ -14,5 +14,8 @@ KNOWN BUGS: ...@@ -14,5 +14,8 @@ KNOWN BUGS:
No help file. No help file.
Starting a new game causes the window to drop one pixel (Peter Hunnisett)
I don't know if it's a window manager problem (KDE)
UNKNOWN BUGS: UNKNOWN BUGS:
??? ???
...@@ -122,11 +122,11 @@ void TestMines( BOARD *p_board, POINT pt, int msg ); ...@@ -122,11 +122,11 @@ void TestMines( BOARD *p_board, POINT pt, int msg );
void TestFace( BOARD *p_board, POINT pt, int msg ); void TestFace( BOARD *p_board, POINT pt, int msg );
void DrawBoard( HDC hdc, PAINTSTRUCT *ps, BOARD *p_board ); void DrawBoard( HDC hdc, HDC hMemDC, PAINTSTRUCT *ps, BOARD *p_board );
void DrawMines( HDC hdc, BOARD *p_board ); void DrawMines( HDC hdc, HDC hMemDC, BOARD *p_board );
void DrawMine( HDC hdc, BOARD *p_board, unsigned col, unsigned row, BOOL IsPressed ); void DrawMine( HDC hdc, HDC hMemDC, BOARD *p_board, unsigned col, unsigned row, BOOL IsPressed );
void AddFlag( BOARD *p_board, unsigned col, unsigned row ); void AddFlag( BOARD *p_board, unsigned col, unsigned row );
...@@ -144,9 +144,9 @@ void UnpressBoxes( BOARD *p_board, unsigned col, unsigned row ); ...@@ -144,9 +144,9 @@ void UnpressBoxes( BOARD *p_board, unsigned col, unsigned row );
void UpdateTimer( BOARD *p_board ); void UpdateTimer( BOARD *p_board );
void DrawLeds( HDC hdc, BOARD *p_board, int number, int x, int y); void DrawLeds( HDC hdc, HDC hMemDC, BOARD *p_board, int number, int x, int y);
void DrawFace( HDC hdc, BOARD *p_board ); void DrawFace( HDC hdc, HDC hMemDC, BOARD *p_board );
LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment