From 76e36791d734ed9d822017138a3207ff56d37e7b Mon Sep 17 00:00:00 2001 From: William JCM Date: Thu, 23 Sep 2021 19:11:08 +0200 Subject: [PATCH] Profile: remove Locators.h. It's not needed anymore. --- src/Profile/Locators.h | 94 ----------------------------------------- src/Profile/Profile.cpp | 2 - 2 files changed, 96 deletions(-) delete mode 100644 src/Profile/Locators.h diff --git a/src/Profile/Locators.h b/src/Profile/Locators.h deleted file mode 100644 index 428040e..0000000 --- a/src/Profile/Locators.h +++ /dev/null @@ -1,94 +0,0 @@ -#pragma once - -// MassBuilderSaveTool -// Copyright (C) 2021 Guillaume Jacquemin -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -constexpr char company_name_locator[] = "CompanyName\0\f\0\0\0StrProperty"; -constexpr char active_slot_locator[] = "ActiveFrameSlot\0\f\0\0\0IntProperty"; -constexpr char credits_locator[] = "Credit\0\f\0\0\0IntProperty"; -constexpr char story_progress_locator[] = "StoryProgress\0\f\0\0\0IntProperty"; -constexpr char last_mission_id_locator[] = "LastMissionID\0\f\0\0\0IntProperty"; - -constexpr char verse_steel_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x00\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char undinium_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x01\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char necrium_alloy_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x02\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char lunarite_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x03\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char asterite_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x04\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; - -constexpr char ednil_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x0a\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char nuflalt_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x0b\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char aurelene_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\f\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char soldus_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x0d\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char synthesized_n_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x0e\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; - -constexpr char alcarbonite_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x14\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char keriphene_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x15\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char nitinol_cm_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x16\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char quarkium_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x17\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char alterene_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\x18\x35\f\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; - -constexpr char mixed_composition_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\xa0\xbb\x0d\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char void_residue_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\xa1\xbb\x0d\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char muscular_construction_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\xa2\xbb\x0d\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char mineral_exoskeletology_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\xa3\xbb\x0d\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; -constexpr char carbonized_skin_locator[] = - "ID_4_AAE08F17428E229EC7A2209F51081A21\0\f\0\0\0IntProperty\0\x04\0\0\0\0\0\0\0\0\xa4\xbb\x0d\0,\0\0\0" - "Quantity_3_560F09B5485C365D3041888910019CE3\0\f\0\0\0IntProperty"; - -constexpr char engine_inventory_locator[] = "InventoryEngine\0\x0e\0\0\0ArrayProperty"; -constexpr char gear_inventory_locator[] = "InventoryGear\0\x0e\0\0\0ArrayProperty"; -constexpr char os_inventory_locator[] = "InventoryOS\0\x0e\0\0\0ArrayProperty"; -constexpr char module_inventory_locator[] = "InventoryModule\0\x0e\0\0\0ArrayProperty"; -constexpr char arch_inventory_locator[] = "InventoryArchitect\0\x0e\0\0\0ArrayProperty"; -constexpr char tech_inventory_locator[] = "InventoryTech\0\x0e\0\0\0ArrayProperty"; diff --git a/src/Profile/Profile.cpp b/src/Profile/Profile.cpp index d5286c2..69ddccc 100644 --- a/src/Profile/Profile.cpp +++ b/src/Profile/Profile.cpp @@ -29,8 +29,6 @@ #include "Profile.h" -#include "Locators.h" - using namespace Corrade; Profile::Profile(const std::string& path):