From 3c63023d07f48f7eaee1d44a60db10e782b99f79 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 25 Oct 2015 18:06:48 -1000 Subject: [PATCH] Removed temporary ID dumper code --- DataSpec/DNACommon/PAK.hpp | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/DataSpec/DNACommon/PAK.hpp b/DataSpec/DNACommon/PAK.hpp index c594d77ec..9e859212f 100644 --- a/DataSpec/DNACommon/PAK.hpp +++ b/DataSpec/DNACommon/PAK.hpp @@ -309,43 +309,6 @@ public: progress(++count / bridgesSz); ++bridgeIdx; } - - /* TEMP: CSV dump */ - FILE* fp = HECL::Fopen(_S("/home/jacko/Desktop/mp_res.txt"), _S("w")); - for (const auto& entry : m_uniqueEntries) - { - const EntryType* ent = entry.second.second; - fprintf(fp, "%s\t0x%s\t\t", ent->type.toString().c_str(), entry.first.toString().c_str()); - switch (ent->unique.m_type) - { - case UniqueResult::UNIQUE_NOTFOUND: - case UniqueResult::UNIQUE_PAK: - { - const HECL::ProjectPath& pakPath = m_bridgePaths[entry.second.first].first; - fprintf(fp, _S("%s\n"), pakPath.getLastComponent()); - break; - } - case UniqueResult::UNIQUE_LEVEL: - fprintf(fp, _S("%s\n"), ent->unique.m_levelName->c_str()); - break; - case UniqueResult::UNIQUE_AREA: - fprintf(fp, _S("%s/%s\n"), ent->unique.m_levelName->c_str(), ent->unique.m_areaName->c_str()); - break; - case UniqueResult::UNIQUE_LAYER: - fprintf(fp, _S("%s/%s/%s\n"), ent->unique.m_levelName->c_str(), ent->unique.m_areaName->c_str(), ent->unique.m_layerName->c_str()); - break; - default: - fprintf(fp, "\n"); - break; - } - } - fprintf(fp, "\n"); - for (const auto& entry : m_sharedEntries) - { - const EntryType* ent = entry.second.second; - fprintf(fp, "%s\t0x%s\t\t\n", ent->type.toString().c_str(), entry.first.toString().c_str()); - } - fclose(fp); } void enterPAKBridge(const BRIDGETYPE& pakBridge)