sezero / quakespasm

QuakeSpasm -- A modern, cross-platform Quake game engine based on FitzQuake.
https://sourceforge.net/projects/quakespasm/
GNU General Public License v2.0
227 stars 96 forks source link

Increase viewangles roll limit to 180 #83

Open fabiolimamp opened 9 months ago

fabiolimamp commented 9 months ago

Quake historically puts a limit of 50 degrees for the player's v_angle Z component.

This limit seems arbitrary however, since the Z roll angle "sticks" and must be managed by the mod either way, and nothing breaks with it increased.

sezero commented 9 months ago

@ericwa, @andrei-drexler: comments, objections?

andrei-drexler commented 8 months ago

This looks like a sensible change, but maybe it should be controlled by a cvar (cl_maxroll, defaulting to 180)? That would make it consistent with the pitch limits (cl_minpitch/cl_maxpitch) and it would allow purists to go back to the original behavior by setting it to 50.

fabiolimamp commented 8 months ago

Per @andrei-drexler suggestion, updated the PR with a new cl_maxroll cvar defaulted to 180.