Ver Fonte

log file loading

Henning Koehler há 8 anos atrás
pai
commit
06d2507371
2 ficheiros alterados com 6 adições e 5 exclusões
  1. 3 3
      config/skills.json
  2. 3 2
      lib/filesystem/CFilesystemLoader.cpp

+ 3 - 3
config/skills.json

@@ -371,7 +371,7 @@
     },
     "estates" : {
         "basic" : {
-            "description" : "",
+            "description" : "With Basic Estates, a hero contributes 125 gold per day to your cause.",
             "effects" : [
                 {
                     "subtype" : "skill.estates",
@@ -382,7 +382,7 @@
             ]
         },
         "advanced" : {
-            "description" : "",
+            "description" : "With Advanced Estates, a hero contributes 250 gold per day to your cause.",
             "effects" : [
                 {
                     "subtype" : "skill.estates",
@@ -393,7 +393,7 @@
             ]
         },
         "expert" : {
-            "description" : "",
+            "description" : "With Expert Estates, a hero contributes 500 gold per day to your cause.",
             "effects" : [
                 {
                     "subtype" : "skill.estates",

+ 3 - 2
lib/filesystem/CFilesystemLoader.cpp

@@ -26,8 +26,9 @@ CFilesystemLoader::CFilesystemLoader(std::string _mountPoint, bfs::path baseDire
 std::unique_ptr<CInputStream> CFilesystemLoader::load(const ResourceID & resourceName) const
 {
 	assert(fileList.count(resourceName));
-
-	return make_unique<CFileInputStream>(baseDirectory / fileList.at(resourceName));
+	boost::filesystem::path file = baseDirectory / fileList.at(resourceName);
+	logGlobal->trace("loading %s", file.string());
+	return make_unique<CFileInputStream>(file);
 }
 
 bool CFilesystemLoader::existsResource(const ResourceID & resourceName) const