I run "hl.exe -window"

problem:

my hl.exe (46/1.1.1.0) not free the mouse with console down.
To free the mouse, you need to use a menu option... but then.. mouse
not work ingame!

Some code in hl.exe center the mouse every frame to "window_center_x,
window_center_y". Will be nice if this code detect if
key_dest!=key_game and avoid that. If the focus is other application,
or the console is down, is not needed to move the mouse cursor to the
center of screen.

I guess the line at hl.exe that center the mouse looks like:
       SetCursorPos (window_center_x, window_center_y);

maybe can be changed to:

if (key_dest == key_game)
       SetCursorPos (window_center_x, window_center_y);

Et.. voila!..

If console down, you mouse is free (I guess), and if console up, your
mouse work in game.

 - - -

 will me nice to disable ipx support by default, and add -ipx for
these people that want ipx (?). I suspect will enhance compatibility
for other OS.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to