]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Upgrade CL_VM_InputEvent to using floats rather than ints, this keeps
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 15 Dec 2013 01:22:30 +0000 (01:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 15 Dec 2013 01:22:30 +0000 (01:22 +0000)
commit52e98268042cbf9d4460898e4fa8ebaa023977e2
tree9b8218c713ee871cf0a1eb62d9d50f33970fc951
parent99a143e9c97b009ca04e30a317d01e5b0fa15018
Upgrade CL_VM_InputEvent to using floats rather than ints, this keeps
the precision on fractional absolute mouse positions.

Changed CL_VM_InputEvent passing of relative mouse moves to no longer
scale by vid_conwidth, vid_conheight as this goes against the intention
in most cases (where mouse turning or similar is being achieved).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12031 d7cf8633-e32d-0410-b094-e92efae38249
cl_input.c
csprogs.c
csprogs.h