]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/shader-audit.sh
Delete old campaign file
[xonotic/xonotic-maps.pk3dir.git] / scripts / shader-audit.sh
index 0abbd1b0122abda9f6c109e0374fea97bc2630ac..ab8de9070307869da062163a12479301c54da711 100755 (executable)
@@ -149,7 +149,7 @@ use_texture()
                        esac
                        ;;
                ## RULE: textures/FOO/* must use textures/FOO/*, for FOO in decals, liquids_water, liquids_slime, liquids_lava
-               textures/decals/*|textures/liquids_*/*|textures/effects_*/*)
+               textures/decals/*|textures/liquids_*/*|textures/effects_*/*|textures/screens/*|textures/logos/*)
                        pre=`echo "$1" | cut -d / -f 1-2`
                        case "$2" in
                                "$pre"/*)
@@ -211,6 +211,9 @@ parse_shaderstage()
                                        use_texture "$parsing_shader" "`normalize "$X"`" animmap
                                done
                                ;;
+                       '{')
+                               echo "(EE) brace nesting error in $parsing_shader"; seterror
+                               ;;
                        '}')
                                break
                                ;;