experimental tweaks for diablo and warcraft 2
This commit is contained in:
parent
ee14204ced
commit
0f58746515
10 changed files with 176 additions and 57 deletions
|
@ -250,7 +250,7 @@ void mouse_lock()
|
|||
|
||||
if (ddraw->handlemouse)
|
||||
{
|
||||
SetCapture(ddraw->hWnd);
|
||||
//SetCapture(ddraw->hWnd);
|
||||
ClipCursor(&rc);
|
||||
while (ShowCursor(FALSE) > 0);
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ void mouse_unlock()
|
|||
}
|
||||
|
||||
ClipCursor(NULL);
|
||||
ReleaseCapture();
|
||||
//ReleaseCapture();
|
||||
|
||||
SetCursorPos(
|
||||
rc.left + ddraw->render.viewport.x + (ddraw->cursor.x * ddraw->render.scaleW),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue