X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources%2Fresources.cpp;fp=source%2Fresources%2Fresources.cpp;h=c9db211b2172480300732c6106526c75e6070bbc;hb=3b0cb993f410b05fc6309d41aa292f4e57c35519;hp=b5093932c2516f44d7fd93c660aafe1e734eb93f;hpb=a8383f1163cd020e2ce2c030e93defd2f9909a1d;p=libs%2Fgl.git diff --git a/source/resources/resources.cpp b/source/resources/resources.cpp index b5093932..c9db211b 100644 --- a/source/resources/resources.cpp +++ b/source/resources/resources.cpp @@ -5,6 +5,7 @@ #include "camera.h" #include "font.h" #include "keyframe.h" +#include "light.h" #include "lighting.h" #include "material.h" #include "mesh.h" @@ -43,6 +44,7 @@ Resources::Resources(): add_type().keyword("camera"); add_type().keyword("font"); add_type().suffix(".kframe").keyword("keyframe"); + add_type().keyword("light"); add_type().suffix(".lightn").keyword("lighting"); add_type().suffix(".mat").creator(&Resources::create_material); add_type().keyword("mesh").creator(&Resources::create_mesh);