quakeforge/qw/source
Bill Currie 7240d2dc80 [model] Move plane info into mnode_t, and visframe out
The main goal was to get visframe out of mnode_t to make it thread-safe
(each thread can have its own visframe array), but moving the plane info
into mnode_t made for better data access patters when traversing the bsp
tree as the plane is right there with the child indices. Nicely, the
size of mnode_t is the same as before (64 bytes due to alignment), with
4 bytes wasted.

Performance-wise, there seems to be very little difference. Maybe
slightly slower.

The unfortunate thing about the change is the plane distance is negated,
possibly leading to some confusion, particularly since the box and
sphere culling functions were affected. However, this is so point-plane
distance calculations can be done with a single 4d dot product.
2022-05-22 12:41:23 +09:00
..
.gdbinit better progs access error checking and cleanups resulting from it. Fixes 2001-03-27 03:57:17 +00:00
.indent.pro sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet. 2001-08-25 02:47:11 +00:00
cl_cam.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_chat.c [qw] Fix inverted chat mode 2022-05-04 23:53:54 +09:00
cl_cmd.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
cl_cvar.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_demo.c [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
cl_entparse.c [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
cl_ents.c [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
cl_http.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
cl_input.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_main.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
cl_ngraph.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_parse.c [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
cl_pred.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_rss.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_screen.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
cl_skin.c [qw] Plug a pile of memory leaks. 2022-05-12 19:58:18 +09:00
cl_slist.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_sys_sdl.c [qw] Plug a pile of memory leaks. 2022-05-12 19:58:18 +09:00
cl_sys_unix.c [qw] Plug a pile of memory leaks. 2022-05-12 19:58:18 +09:00
cl_sys_win.c [qw] Plug a pile of memory leaks. 2022-05-12 19:58:18 +09:00
crudefile.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
game.c [cvar] Clean up most misinterpreted cvar types 2022-04-24 20:04:06 +09:00
Makemodule.am [client] Merge nq and qw cl_view 2022-02-28 12:12:51 +09:00
map_cfg.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
master.c [build] Autoconfiscate printf format attribute 2021-03-27 19:52:59 +09:00
net_packetlog.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
pmove.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
pmovetst.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
sbar.c [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
sdl_link.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sv_ccmds.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_demo.c [cvar] Clean up most misinterpreted cvar types 2022-04-24 20:04:06 +09:00
sv_ents.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
sv_gib.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
sv_init.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_main.c [qw] Call SV_Physics_Init_Cvars during server init 2022-05-04 23:16:12 +09:00
sv_move.c Fix a bunch of float vs int bugs 2022-03-31 00:28:26 +09:00
sv_phys.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_pr_cmds.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
sv_pr_cpqw.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_pr_qwe.c [gamecode] Pass registered data pointer to builtins 2022-02-14 12:28:38 +09:00
sv_progs.c [gamecode] Clean up progs data access 2022-04-29 16:59:15 +09:00
sv_qtv.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_recorder.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_sbar.c [qw] Add progs memory display to server status bar 2021-12-27 20:28:33 +09:00
sv_send.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
sv_sys_unix.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_sys_win.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_user.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
teamplay.c [renderer] Use scene_t to set the model data 2022-05-05 14:46:02 +09:00
world.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00