spans rewrite WIP
openal: raise mono sources limit to 512
openal: use our own type for buffer callback
D_DrawZSpans: remove stuff that doesn't seem to do anything
openal: stop trying to avoid setting the device
-O3 -march=native; produce mip/fullbright/additive specific surface lighting funcs
bring framebuffer scaling back - change dynamically with v_scale cvar
D_ViewChanged: forgot to update dvars.width
pthread signal handler
snd_openal: do NOT close lmp files
fix mixed up MAXWIDTH & MAXHEIGHT
vid_sdl: no longer a streaming texture
D_DrawSurfaces: fix wrong flag used to draw (or not) zspans
bsp30: don't trust map's builtin non-0 mipmap levels when it comes to fences - scale them as well
sky: make it work with whichever sizes; replace absent sky with notexture
notexture: don't make it transparent
get rid of screenwidth and rowbytes
zspans: remove useless steps
organize a global dvars struct
add -N to disable optional modules (only "cd" and "snd" for now)
alpha: only 0x00000000 is fully transparent; fix the fullbright fighting alpha blending
openal: poke hrtf in alreinit
openal: create a thread instead of a process for track reading
fs: open with O_CLOEXEC when possible
unix: don't signal on pipe broken
render world "rejects" back to front with clipping disabled to fix fence/transparent surfaces play nicely with each other
R_RotateBmodel: take entity as an argument
less type mess
demo: instead of failing on EOF when running a demo with no other demos queued, disconnect properly
get rid of %r in non-plan9 code
rearrange and rename files
get rid of ushort/ulong
bring back "screenshot" command
fix a warning
add "crosshair_shape" cvar: 0 is default cross, anything else is a dot
remove "gl_cshiftpercent" that has never been implemented
view: enable crosshair by default
fog: better Nehahra fog logic; calculate less
cmd: add "hidden" field to mark commands as hidden from completion; mark Nehahra fog aliases as such
cvar: call the callback if set through setcvar()
sprite32: always blend as the alpha is not necessarily 0xff/0x00 for all pixels
treat alpha 0 ("default") as alpha 0xff when drawing
m_raw: use callbacks
fog: add Nehahra-specific fog vars, but keep them bound to the same "fog" command
PF_find: workarounds for a bit of insanity
PF_ftos: %5.1f -> %f
SV_CheckVelocity: clamp max velocity correctly (thanks Maddes)
CL_UpdateTEnts: wat. fix the wrong variables reuse by the inner loop
cdcmd: shorten
PR_Str: instead of throwing an error just return nil
add Nehahra protocol stubs
sprite: add SPRITE32 (found in Nehahra) support
R_ResetFog: fix color not being reset
wavinfo: assume entire file looping if second cue points is out of range
cd: split/group platform-specific/independent logic
openal: fix music looping
fix a warning
openal: implement track playback via ffmpeg
fs: openlmp: expose globally
unix: move dummy cd logic to openal-specific stuff
bsp: don't reuse LIT memory if it failed to load, free it
zone: add Hunk_Free
openal: get rid of another variable
openal: alsfx_t -> albuf_t, because that's what it is
openal: if wavinfo says it's a bad file, use silence
wav: apparently fmt doesn't _always_ come after WAVE
openal: just shorter names
openal: put doppler factor under a cvar
openal: increase doppler factor
openal: add a rather dumb doppler shift
recycle audio buffers far more often
openal: bring ambients back
openal: add "soundlist" cmd
openal: free AL buffers when no longer needed
sort out AL device/hrtf dynamic switching; introduce cvar callbacks
don't enable hrtf by default
openal: don't start the sounds too early
replace SDL audio with OpenAL (wip)
move GetWavinfo to its own file
no more fbpal
progs: set numglobaldefs
fence textures: enable scaling for bsp30; keep lower miplevel
D_DrawZSpans already checks for blending flag
image resize: be a bit more specific
stb: no <assert.h> on plan 9
no fast math, sorry
fences (bsp20 and external textures): rescale from base as with premultiplied alpha and use other mip levels when rendering
separate image resize into its own file
Load_ExternalTexture: use the original image for all mip levels when scaling
add external (TGA) texture loading and scaling
move blendalpha to d_alpha.c
blendalpha: fix fog with additive blending
fog: correctly apply fog to all blended surfaces
addlight: leave dest color attributes
fog: R_BlendFog for external callers
blendalpha: leave dest color attributes
fog: apply after warp
add "r_fog" to enable/disable fog globally in a config
fog: don't recalculate the same thing; no possible additive blending so inline it