Bill Currie
43a329dcb5
[client] Get the basic chase camera working
...
The more advanced modes are rather broken (continuous spinning), but
they may have been for a while. The bulk of the various changes were due
to renaming viewstate's origin and angles to make their meaning more
explicit.
2022-03-01 11:43:23 +09:00
Bill Currie
57dd4494cc
[renderer] Pass in a camera transform
...
More r_data cleanup. Things could be better still, but this is a start.
2022-02-28 16:59:38 +09:00
Bill Currie
2477a44d15
[client] Move cshift info from viddef to viewstate
...
It makes much more sense for cshift state to be in viewstate because it
is very much an effect rather than anything specific to a renderer.
2022-02-28 16:55:12 +09:00
Bill Currie
7d059a0b56
[client] Merge nq and qw cl_view
...
They've been near-identical for years, now they're only one. It proved
necessary to start merging the HUD code which for now is just a few cvar
declarations (not even init), but that should be a separate set of
commits.
2022-02-28 12:12:51 +09:00
Bill Currie
aac9069d9f
[nq,qw] Clean up cl_view's use of the client struct
...
This is a huge step towards merging cl_view.
2022-02-25 16:54:45 +09:00
Bill Currie
5cf1da7c25
[client] Finish moving onground to viewstate
...
Missed this in the entity cleanup (really, should have been separate
commits, but oh well).
2021-03-20 00:58:37 +09:00
Bill Currie
5bf21931c7
[renderer] Remove more old fields from entity_t
...
The only transform related field remaining is old_origin. This also
brings the renderer closer to using simd (lots of stuff to fix still,
though).
2021-03-20 00:08:21 +09:00
Bill Currie
2015474468
Move and clean up clview.h
...
Redundant or dead prototypes deleted, and the client/view.h seems a good
place for the file.
2021-03-12 11:48:53 +09:00