Fix Q2BSP texture loading, Q2BSP contents issues, and add support for SURF_ALPHATEST...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Sep 2016 05:13:44 +0000 (05:13 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Sep 2016 05:13:44 +0000 (05:13 +0000)
commit4fa4227c4cadd099125636f085183062a50acf7d
tree8c976e9d9fb9cb534c39b7a4a361d7779062c306
parent6dd40871e5cd2fbec6b60fad25e6649f6cdea961
Fix Q2BSP texture loading, Q2BSP contents issues, and add support for SURF_ALPHATEST for any maps that might use it, force fullbright rendering on SURF_TRANS33/SURF_TRANS66/SURF_WARP textures which fixes the rain in 3v3gloom3.bsp and chainlink fence textures on tkse.bsp and glass transparency on gloom1se.bsp among others.  Also fix the SURF_FLOWING scroll rate when combined with SURF_WARP.

Also fixed the collision issues caused by stomping over Q1BSP data which caused traceline to break on Q1BSP after loading a Q2BSP map, thanks Supa for that bug report and finding other Q2BSP issues.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12284 d7cf8633-e32d-0410-b094-e92efae38249
image.c
model_brush.c
model_brush.h
palette.c