]> 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)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 18 Dec 2013 10:02:40 +0000 (11:02 +0100)
commitc75e9d198c0e5fb04e71ee3127be7494f049157e
tree30a32666a506abf6a3b3bbe388783bd98a6c85be
parent324b73987d1145445a192c9741675bfa745f78ac
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
::stable-branch::merge=52e98268042cbf9d4460898e4fa8ebaa023977e2
cl_input.c
csprogs.c
csprogs.h