]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
now saves r_shadow cvars that are available in the graphics options menu
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 14 Sep 2004 01:36:23 +0000 (01:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 14 Sep 2004 01:36:23 +0000 (01:36 +0000)
commitb6c407962a1709a1fe0fd108b6730110b5aa3c0b
treefe81bf57a068708846354985b5993db49ee68621
parent9118a55d79d672ce3f4d63e456fd22654f180321
now saves r_shadow cvars that are available in the graphics options menu
separated R_Shadow_NewWorldLight into R_Shadow_NewWorldLight to allocate light and R_Shadow_UpdateWorldLight to assign properties, so that lights can be updated in place rather than reallocating them (mainly saves on hassles with r_debuglight testing while editing lights, which were being renumbered by every edit)
R_Shadow_UpdateWorldLight now tolerates radius 0, color 0 0 0, and snaps angles to the 0-360 range

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4495 d7cf8633-e32d-0410-b094-e92efae38249
r_shadow.c