quakeforge/include
Bill Currie 28e9a0a9ba [ui] Add a specialized function for subrect allocation
While VRect_Difference worked for subrect allocation, it wasn't ideal as
it tended to produce a lot of long, narrow strips that were difficult to
reuse and thus wasted a lot of the super-rectangle's area. This is
because it always does horizontal splits first. However, rewriting
VRect_Difference didn't seem to be the best option.

VRect_SubRect (the new function) takes only width and height, and splits
the given rectangle such that if there are two off-cuts, they will be
both the minimum and maximum possible area. This does seem to make for
much better utilization of the available area. It's also faster as it
does only the two splits, rather than four.
2022-09-02 17:47:27 +09:00
..
client [client] Pre-cache temp entity data after clearing memory 2022-05-19 13:26:45 +09:00
evdev [input] Use a single select call for all drivers 2021-09-26 15:11:07 +09:00
QF [ui] Add a specialized function for subrect allocation 2022-09-02 17:47:27 +09:00
qw [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
win32 Get QF cross-compiling using MXE/mingw32 2021-03-27 20:09:37 +09:00
adivtab.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
alsa_funcs_list.h [audio] Clean up alsa init and add error checking 2021-06-25 09:50:31 +09:00
anorm_dots.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
anorms.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
asm_draw.h [sw] Clean up r_refdef and R_ViewChanged 2022-03-27 15:32:00 +09:00
asm_i386.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
block8.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
block16.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
bsearch.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
buildnum.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
compat.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
context_sdl.h Separate render and presentation initialization 2019-07-09 01:00:47 +09:00
context_win.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
context_x11.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
d_iface.h [renderer] Clean up some unwanted dependencies 2022-05-26 14:41:08 +09:00
d_ifacea.h [renderer] Move particles over to simd 2021-12-24 06:45:13 +09:00
d_local.h Remove some long dead cvars 2022-04-24 17:23:46 +09:00
dga_check.h [video] Mark dga funcs as const when dga not available 2021-08-11 12:09:07 +09:00
exp.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
fbset.h [vid] Fix non-utf8 circle-c in fbset 2022-04-13 10:35:40 +09:00
garbage.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
getopt.h make gcc more anal about prototypes, string constants and function 2003-01-06 18:28:13 +00:00
gib_buffer.h [build] Autoconfiscate printf format attribute 2021-03-27 19:52:59 +09:00
gib_builtin.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_classes.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_execute.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_function.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_handle.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_object.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_parse.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
gib_process.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_regex.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
gib_semantics.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_thread.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_tree.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_vars.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gl_warp_sin.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_win.h Fix win32 (mingw) builds. 2012-02-07 20:18:23 +09:00
in_x11.h [x11] Split up in_x11_init into three stages 2021-11-21 21:22:11 +09:00
logos.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
Makemodule.am [screen] Move some flags into screen.h 2022-03-09 09:31:22 +09:00
mod_internal.h [renderer] Clean up some unwanted dependencies 2022-05-26 14:41:08 +09:00
net_dgrm.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_loop.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_udp.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_vcr.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_wins.h Get QF cross-compiling using MXE/mingw32 2021-03-27 20:09:37 +09:00
netchan.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
netmain.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
noisetextures.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
old_keys.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
ops.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
pstdint.h Prefer int over long for (u)int32_t. 2010-12-23 09:47:05 +09:00
qfalloca.h Handle alloca "correctly". 2013-01-22 21:02:50 +09:00
qfselect.h [util] Wrap fd_set 2021-09-28 10:53:51 +09:00
qstring.h [util] Add strndup and reentrant quicksort 2021-03-27 20:03:39 +09:00
quakeasm.h [sw] Clean up use of vid.colormap8 2022-03-29 14:43:38 +09:00
quicksort.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
r_cvar.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_dynamic.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_font.h [renderer] Star work on adding FreeType support 2022-08-27 17:53:03 +09:00
r_internal.h [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_local.h [renderer] Clean up some unwanted dependencies 2022-05-26 14:41:08 +09:00
r_scrap.h [renderer] Move core of scrap into shared code 2021-01-13 02:47:07 +09:00
r_shared.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
regex.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
rua_internal.h [ruamoko] Allow scenes to be fetched by C code 2022-05-05 23:49:31 +09:00
sbar.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
scn_internal.h [scene] Implement Hierarchy_Copy 2022-05-08 11:14:00 +09:00
skin_stencil.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
snd_internal.h [sound] Add a function to set ambient sounds 2022-06-06 14:29:14 +09:00
sv_console.h The status bar in the quakeworld server curses console finally does something. Currently only cpu usage, but as a proof-of-concept, it more than does its job. 2007-04-09 00:10:10 +00:00
varrays.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
vgamodes.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
vid_gl.h [renderer] Make screen capture support asynchronous operation 2022-04-01 01:01:53 +09:00
vid_internal.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
vid_sw.h [renderer] Make screen capture support asynchronous operation 2022-04-01 01:01:53 +09:00
vid_vulkan.h [vulkan] Use a buffer for entity transform and color data 2022-05-25 00:17:57 +09:00
vregset.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
winquake.h [vid] Clean up windows video code a bit 2021-03-31 15:10:35 +09:00
world.h [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00