From 5f66b590b2f04177848ef0dc0590a3c109ad5670 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 18 Jul 2023 04:11:30 -0500 Subject: [PATCH] LOWERCASE I AAHHHHHHH --- .../FiestaCraftingCalculator.cpp | 185 +- FiestaCraftingCalculator/assets/ItemInfo.txt | 14962 +-------------- .../assets/ItemViewInfo.csv | 15162 ---------------- .../assets/ItemViewInfo.txt | 14962 +-------------- FiestaCraftingCalculator/emscripten_build.ps1 | 3 +- FiestaCraftingCalculator/pge.data | Bin 616037 -> 692366 bytes FiestaCraftingCalculator/pge.js | 2 +- FiestaCraftingCalculator/pge.wasm | Bin 437252 -> 380585 bytes 8 files changed, 97 insertions(+), 45179 deletions(-) delete mode 100644 FiestaCraftingCalculator/assets/ItemViewInfo.csv diff --git a/FiestaCraftingCalculator/FiestaCraftingCalculator.cpp b/FiestaCraftingCalculator/FiestaCraftingCalculator.cpp index 77b49b0..cfd67e9 100644 --- a/FiestaCraftingCalculator/FiestaCraftingCalculator.cpp +++ b/FiestaCraftingCalculator/FiestaCraftingCalculator.cpp @@ -304,8 +304,6 @@ public: { // Called once at the start, so create things here std::ifstream file=std::ifstream("assets/Produce.txt"); - std::string fileContents=slurp(file); - fileContents+='\n';//HACK ALERT! Our parser does not deal with data until a '\n' character occurs. If the file has no \n on the last line, we won't process it. This hack fixes that. std::string column=""; std::vectordata; //HACK ALERT! If the number of recipes for any of these exceeds 300, a reallocation occurs and all pointers move... @@ -315,118 +313,119 @@ public: ScrollProdRecipes.reserve(300); CompRecipes.reserve(300); DecompRecipes.reserve(300); - for(int i=0;i