material editing in scene metafile
[laserbrain_demo] / src / material.h
index 979bbd9..5cf3533 100644 (file)
@@ -34,4 +34,9 @@ public:
        void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN);
 };
 
+// returns MTL_TEX_whatever by name
+int mtl_parse_type(const char *str);
+// returns the name of a material type
+const char *mtl_type_string(int type);
+
 #endif // MATERIAL_H_