X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fshader-audit.sh;h=ab8de9070307869da062163a12479301c54da711;hb=a4631ffd45132b973945ee787fe05b01a71c21b9;hp=0abbd1b0122abda9f6c109e0374fea97bc2630ac;hpb=9501ca170fab9359b6e78ecd6f302c034eb0f43b;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 0abbd1b0..ab8de907 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -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 ;;