]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Added cl_bob_limit cvar which limits the maximum rage of view bobbing in a smooth...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 11 Oct 2016 01:05:53 +0000 (01:05 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 29 Nov 2016 18:35:57 +0000 (19:35 +0100)
commit613cfb9371cf40a1e95e3707548923e06eee18e5
tree47b71be8800a20ee593fac95248c7c82552f2df9
parent1438b34e585070b7e476f709d8915daad2fde2f1
Added cl_bob_limit cvar which limits the maximum rage of view bobbing in a smooth way (rather than limiting the velocity and cl_bob independently, it limits the strength of the bob before the sinewave is applied).  By default this is 7 (inspired by the quake limit of +4 to -7 range).

Added cl_bob_limit_heightcheck cvar (off by default) which uses tracelines to limit the maximum value of cl_bob_limit based on the ceiling and floor height.

Added cl_bob_velocity_limit cvar which replaces the hard-coded 400 in a few places for xyspeed purposes.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12286 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=b7a1b307d1b7cb5fec3221d2f2b15af74791663d
view.c