]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Give credit where credit's due :)
authorJay Dolan <jay@jaydolan.com>
Sun, 20 Dec 2015 22:15:53 +0000 (17:15 -0500)
committerJay Dolan <jay@jaydolan.com>
Sun, 20 Dec 2015 22:15:53 +0000 (17:15 -0500)
libs/shaderlib.h

index 54057ac01b082c2521294b8aca0c4d7af7bfed67..d6e89447ace12272413616a6ec0a155d2c5c8b03 100644 (file)
@@ -52,19 +52,17 @@ bool operator()( const CopiedString& shader, const CopiedString& other ) const {
 
 static inline bool shader_is_diffuse( const char *shader ){
        return
-               /* Quake2World */
-               !string_equal_suffix( shader, "_bump" )
-               && !string_equal_suffix( shader, "_glow" )
+               /* Quetoo */
                && !string_equal_suffix( shader, "_h" )
                && !string_equal_suffix( shader, "_local" )
-               && !string_equal_suffix( shader, "_luma" )
                && !string_equal_suffix( shader, "_nm" )
                && !string_equal_suffix( shader, "_s" )
                /* DarkPlaces */
-               && !string_equal_suffix( shader, "_norm" )
-               // (already in Quake2World) && !string_equal_suffix( shader, "_bump" )
-               // (already in Quake2World) && !string_equal_suffix( shader, "_glow" )
+               && !string_equal_suffix( shader, "_bump" )
+               && !string_equal_suffix( shader, "_glow" )
                && !string_equal_suffix( shader, "_gloss" )
+               && !string_equal_suffix( shader, "_luma" )
+               && !string_equal_suffix( shader, "_norm" )
                && !string_equal_suffix( shader, "_pants" )
                && !string_equal_suffix( shader, "_shirt" )
                && !string_equal_suffix( shader, "_reflect" )