X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fmaterial.h;h=5cf35337ddda2d8786ed58f5d24054a6e155ba73;hp=979bbd953dc802e7d06076cc6e02fcdea8d2b5c6;hb=d4d7f73284783d2a50d71014789d196bef7d0e0e;hpb=e8fe498f52ff5f3c87759623ce94726af0ef2890 diff --git a/src/material.h b/src/material.h index 979bbd9..5cf3533 100644 --- a/src/material.h +++ b/src/material.h @@ -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_