+ init();
+}
+
+Resources::Resources(const FS::Path &fn)
+{
+ init();
+
+ dir_src = new DataFile::DirectorySource;
+ dir_src->add_directory(FS::dirname(fn));
+ add_source(*dir_src);
+
+ DataFile::load(*this, fn.str());
+}
+
+void Resources::init()
+{
+ default_font = 0;
+ dir_src = 0;