]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/resources.cpp
Load the various setups through resources
[libs/game.git] / source / game / resources.cpp
index 2b186de952049cb5ef504267775a6e0df191f96c..a4f9e76e7d1e9ee3a3bd63a9ad4b9c48eb9cc144 100644 (file)
@@ -2,11 +2,18 @@
 #include <msp/fs/dir.h>
 #include <msp/fs/stat.h>
 #include "resources.h"
+#include "setups.h"
 
 using namespace std;
 
 namespace Msp::Game {
 
+Resources::Resources()
+{
+       add_type<CameraSetup>().suffix(".camera.setup");
+}
+
+
 ApplicationResources::ApplicationResources()
 {
        FS::Path data_dir = FS::get_sys_data_dir()/"data";