Module hmap2: Change committed

havoc at icculus.org havoc at icculus.org
Sun May 2 04:07:20 EDT 2004


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : hmap2
Commit time: 2004-05-02 08:07:20 UTC

Log message:

now tyrlite compatible (light types ("delay") 0, 1, 2, and 3 supported), and a couple other new light types (4 is sun, and 5 is 1-(x/dist*x/dist) which matches rtlights)
no longer writes .lights files (due to limitations in the format)
cleaned up light entity loader
rewrote much of SingleLightFace
added -minlight, -ambientlight, -radiusscale, -defaulttype, and -overridetypes options
expanded the help to cover the new options, and use shorter descriptions (enforced 80 char limit per line to make sure it never wraps for most people)
removed distbias and falloff tweaks (now type 1 and type 2 lights are very simple, although they now have a prominent highlight)
moved mapnum search out of SingleLightFace and into its own function, it is now called only when it is determined that there is light on the surface (this should better handle allocation issues where 4 light styles are on a surface)
LightTrace now returns startcontents and endcontents in the struct (necessary for sun lighting)
new readme (hmap2readme.txt)
various other bugfixes and things

Modified files:
     bsp2prt.c light.c light.h light_face.c light_trace.c qbsp.c vis.c

Added files:
     hmap2readme.txt

Removed files:
     hmapreadme.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hmap2.20040502.080720.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040502/34661d50/attachment.diff>


More information about the twilight-commits mailing list