X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.cpp;h=c8e61ef8286d0b54c5364286d622985b0ed308f8;hb=eb6a546dcffc1b67f0a23d8b075fbdc86a2872a0;hp=b25c346a11ec7882511ee4cee68c0286c28be0ca;hpb=e6bd08e977f3138bfcfa3a1b6cc45201c383e016;p=libs%2Fgl.git diff --git a/source/resources.cpp b/source/resources.cpp index b25c346a..c8e61ef8 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -2,12 +2,14 @@ #include #include "animation.h" #include "armature.h" +#include "camera.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" @@ -33,12 +35,14 @@ Resources::Resources(): { add_type().suffix(".anim").keyword("animation"); add_type().suffix(".arma").keyword("armature"); + add_type().keyword("camera"); 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");