X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.cpp;h=c34139b25e139e1b53e588c732715afc30a7ce62;hb=18240e2bb031551e9c72a55c7d974904d209760a;hp=2637b12b94f6e182976cf5081dc1442998cc88cc;hpb=fa658c8500fb0c368a8299bd1210688640b50352;p=libs%2Fgl.git diff --git a/source/resources.cpp b/source/resources.cpp index 2637b12b..c34139b2 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -4,9 +4,11 @@ #include "armature.h" #include "font.h" #include "keyframe.h" +#include "lighting.h" #include "material.h" #include "mesh.h" #include "object.h" +#include "pipelinetemplate.h" #include "pose.h" #include "program.h" #include "programcompiler.h" @@ -34,9 +36,11 @@ Resources::Resources(): add_type().suffix(".arma").keyword("armature"); add_type().keyword("font"); add_type().suffix(".kframe").keyword("keyframe"); + add_type().suffix(".lightn").keyword("lighting"); add_type().suffix(".mat").keyword("material"); add_type().keyword("mesh").creator(&Resources::create_mesh); add_type().keyword("object"); + add_type().suffix(".pipe").keyword("pipeline"); add_type().keyword("pose"); add_type().keyword("shader").suffix(".glsl").creator(&Resources::create_program); add_type().suffix(".tech").keyword("technique");