make the repo pass the audit; move two textures to nexcompat (actually, q3 compat)
authorRudolf Polzer <divverent@alientrap.org>
Thu, 15 Jul 2010 18:49:40 +0000 (20:49 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 15 Jul 2010 18:49:40 +0000 (20:49 +0200)
scripts/common.shader
scripts/shader-audit.sh
textures/common/mirror1.tga [deleted file]
textures/common/warpzone/trans.tga [new file with mode: 0644]
textures/common/white.tga [deleted file]

index db7e284..f544e10 100644 (file)
@@ -216,7 +216,7 @@ textures/common/warpzone
        surfaceparm trans\r
        surfaceparm nomarks\r
        {\r
-               map textures/common/mirror1.tga // fully transparent\r
+               map textures/common/warpzone/trans.tga // fully transparent\r
                blendfunc blend\r
        }\r
        dp_camera\r
@@ -226,7 +226,7 @@ textures/common/warpzone
 textures/common/camera\r
 {\r
        {\r
-               map textures/common/mirror1.tga // fully transparent\r
+               map textures/common/warpzone/trans.tga // fully transparent\r
                blendfunc blend\r
        }\r
        dp_camera\r
index 8076dea..9b5d9d9 100644 (file)
@@ -165,5 +165,11 @@ textures_avail=`( cd ..; find textures/ -type f -not -name '*_norm.*' -not -name
 textures_used=`echo "${textures_used#$LF}" | sort -u`
 
 echo "$textures_used$LF$textures_used$LF$textures_avail" | sort | uniq -u | while IFS= read -r L; do
-       echo "(EE) texture $L is not referenced by any shader"
+       case "$L" in
+               textures/radiant/*)
+                       ;;
+               *)
+                       echo "(EE) texture $L is not referenced by any shader"
+                       ;;
+       esac
 done
diff --git a/textures/common/mirror1.tga b/textures/common/mirror1.tga
deleted file mode 100644 (file)
index 2f2d654..0000000
Binary files a/textures/common/mirror1.tga and /dev/null differ
diff --git a/textures/common/warpzone/trans.tga b/textures/common/warpzone/trans.tga
new file mode 100644 (file)
index 0000000..2f2d654
Binary files /dev/null and b/textures/common/warpzone/trans.tga differ
diff --git a/textures/common/white.tga b/textures/common/white.tga
deleted file mode 100644 (file)
index fa786f2..0000000
Binary files a/textures/common/white.tga and /dev/null differ