Bill Currie
30dc82f290
[qw] Use efrags for carried flags
...
This sorts out the unwanted use of R_EnqueueEntity, which will help with
removing another global (r_ent_queue), which is necessary for threaded
multi-pass rendering (ie, shadows).
2021-07-22 19:35:12 +09:00
Bill Currie
c9f1d770e0
Merge master into csqc-improvements
...
That was a mess
2021-03-25 22:01:31 +09:00
Bill Currie
52b714ea57
Move qw's player_info_t to client/state.h
...
And use it instead of scoreboard_t in nq.
2021-03-25 18:14:53 +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
Bill Currie
8466de2325
[client] Use vec4_t in entity_state_t
...
And clean up the mess (sort of:P)
2021-03-11 16:19:49 +09:00
Bill Currie
36761192a6
[qw] Partially clean up muzzle flash handling
...
It needs some more work (see FIXME in the code).
2021-03-11 15:23:35 +09:00
Bill Currie
ca38f9b616
[qw] Use entity_state_t as a base for player_state_t
...
This will, in the long run, help clean up a lot of the differences in
the handling of entities in the clients.
2021-03-11 14:27:36 +09:00
Bill Currie
abaccbec53
[client] Move qw's loc code into client
...
This makes the location code available to nq (not used yet) but more
importantly moves some definitely client-side code into the right place.
2021-03-11 11:53:38 +09:00
Bill Currie
b8267f2edd
[client] Merge nq/qw entity effects code
2021-03-11 11:25:04 +09:00
Bill Currie
098ceed5ff
[client] Merge nq and qw temp entity handling
...
This finally gets cl_tent merged away.
2021-03-10 18:04:18 +09:00
Bill Currie
66ef8e16c1
Fix the ghost entities in demo playback.
...
Really, when cl_nodelta is in effect (eg, .qwd demo recording and thus
playback). QW now uses the new shared entity state block as I'd intended.
Thanks to the cleanup of ghost entities (ie, entities that have been
removed but continue to be rendered), glsl overkill has gone from 157 to
163 fps :)
2012-07-05 19:06:35 +09:00
Bill Currie
80bc0e9fb8
Make nq and qw use the new entity state struct.
...
This isn't really the best solution, but it does get things being shared
with the minimum of fuss.
2012-07-05 09:39:16 +09:00
Bill Currie
dea2f48477
Move entity_state_t into client/entities.h
...
Also, start working on the shared entity manager.
2012-07-05 09:39:16 +09:00
Bill Currie
b65c41efcb
Move the colormod lookup table into a new lib.
...
libQFclient is now here :) The first shared code is the lookup table.
2012-07-05 09:39:16 +09:00