varray_* rewritten to remove padding (varray_vertex3f, varray_texcoord2f, varray_texc...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Mar 2003 04:54:47 +0000 (04:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Mar 2003 04:54:47 +0000 (04:54 +0000)
commit224f9edae92441767654e2c10eb568bb91f86eb1
tree810acf2a068ad565ea1010bf79bc4be66f71fba8
parent736cf503833a13aa93c74ccfa1aaed26da25416e
varray_* rewritten to remove padding (varray_vertex3f, varray_texcoord2f, varray_texcoord3f, varray_color4f now exist), this required changes to a huge amount of code (but netted a 30% speed gain typically)
fixed some various bugs
added voodoo1/2 support in realtime lighting engine (well, except for the fact it still requires stencil, which voodoo1/2 don't have, this will be addressed later when world lights and dlights are independently controlled)
changed lightning beams a bit (they're now white) and due to a request I added support for r_lightningbeam_qmbtexture (loads textures/particles/lightning.pcx and knows approximately how to use it, I recommend changing r_lightningbeam_repeatdistance to make it look right)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2842 d7cf8633-e32d-0410-b094-e92efae38249
26 files changed:
cl_main.c
cl_particles.c
cl_screen.c
cl_screen.h
cl_video.c
gl_backend.c
gl_backend.h
gl_draw.c
gl_models.c
gl_rmain.c
gl_rsurf.c
mathlib.h
model_alias.c
model_alias.h
model_brush.c
model_brush.h
model_shared.c
model_shared.h
portals.c
r_crosshairs.c
r_explosion.c
r_light.c
r_shadow.c
r_sky.c
r_sprites.c
render.h