]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/skin.qh
Cleanse the touch functions of the other evil
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / skin.qh
index 10c81e7ef34bbec061df61789857970764025c1f..7cc2d2d3b4d49084f8bbbd2c4fce75cdf100c3d6 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SKIN_H
-#define SKIN_H
+#pragma once
 
 #define SKINBEGIN
 #define SKINVECTOR(name,def) vector SKIN##name = def
 //#define SKINSTRING(name,def) case #name: break
 #define SKINSTRING(name,def) case #name: SKIN##name = strzone(_value); break
        // I know this leaks memory when skin is read multiple times. Screw it.
-#define SKINEND case "": break; case "//": break; default: dprint("Invalid key in skin file: ", key, "\n"); } }
+#define SKINEND case "": break; case "//": break; default: LOG_TRACE("Invalid key in skin file: ", key, "\n"); } }
 #include "skin-customizables.inc"
 #undef SKINEND
 #undef SKINSTRING
 #undef SKINFLOAT
 #undef SKINVECTOR
 #undef SKINBEGIN
-#endif