diff --git a/Aquaria/Continuity.cpp b/Aquaria/Continuity.cpp index eb9b7fe..8cdf1c6 100644 --- a/Aquaria/Continuity.cpp +++ b/Aquaria/Continuity.cpp @@ -853,6 +853,7 @@ void Continuity::loadTreasureData() if(!found) file = "data/treasures.txt"; + debugLog("Load treasures: " + file); InStream in2(file.c_str()); while (std::getline(in2, line)) { @@ -916,6 +917,8 @@ void Continuity::loadIngredientData() void Continuity::loadIngredientData(const std::string &file) { + debugLog("Load ingredient data: " + file); + std::string line, name, gfx, type, effects; clearIngredientData(); @@ -1144,6 +1147,7 @@ void Continuity::loadIngredientData(const std::string &file) void Continuity::loadIngredientDisplayNames(const std::string& file) { + debugLog("Load ingredient display names: " + file); InStream in(file); if (!in) return; @@ -1199,6 +1203,7 @@ std::string Continuity::getInternalFormName() void Continuity::loadIntoSongBank(const std::string &file) { + debugLog("Load songbank: " + file); if(!exists(file)) return; @@ -1327,6 +1332,7 @@ void Continuity::loadEatBank() if(!found) file = "data/eats.txt"; + debugLog("Load eats: " + file); InStream inf(file.c_str()); EatData curData; @@ -2194,6 +2200,7 @@ void Continuity::setFlag(std::string flag, int v) void Continuity::loadPetData() { + debugLog("Load pet data..."); petData.clear(); InStream in("data/pets.txt"); std::string read; @@ -3500,6 +3507,7 @@ void Continuity::reset() health = maxHealth; speedTypes.clear(); + debugLog("Load speedtypes..."); InStream inFile("data/speedtypes.txt"); int n; float spd; diff --git a/BBGE/StringBank.cpp b/BBGE/StringBank.cpp index 69ed580..4b15cd3 100644 --- a/BBGE/StringBank.cpp +++ b/BBGE/StringBank.cpp @@ -20,6 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "StringBank.h" #include "ttvfs_stdio.h" +#include "Base.h" StringBank stringbank; static const std::string emptyStr; @@ -40,6 +41,7 @@ bool StringBank::empty() const bool StringBank::load(const std::string &file) { + debugLog("Load stringbank: " + file); InStream in(file.c_str()); if(!in) return false;