Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Fri Sep 6 02:51:29 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-09-06 06:51:29 UTC

Log message:

vertex arrays renamed to varray_ and exposed to rest of engine
mesh_maxtris and mesh_maxverts exposed (really only intended for R_Mesh_ResizeCheck #define)
R_Mesh_GetBuffer is gone, R_Mesh_State takes it's place for most of it's functionality
R_Mesh_ResizeCheck (a #define) will expand arrays on the fly if a mesh is too big (note: be sure to use this if you have a mesh that may be more than 1024 triangles, 3072 verts)
R_Mesh_Draw takes the place of R_Mesh_Render and takes two parameters (number of verts and number of triangles)
fixed bug that caused sky to appear through models when sky was onscreen (R_DrawWorld must be called at a specific point in rendering, had forgotten that)

Modified files:
     cl_particles.c gl_backend.c gl_backend.h gl_models.c gl_rmain.c
     gl_rsurf.c r_crosshairs.c r_explosion.c r_light.c r_sky.c
     r_sprites.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20020906.065129.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20020906/bc086f55/attachment.diff>


More information about the twilight-commits mailing list