From 9f324c30fd97dcd272c641c526095b9610d7e478 Mon Sep 17 00:00:00 2001 From: William JCM Date: Wed, 9 Feb 2022 13:54:44 +0100 Subject: [PATCH] Delete WeaponTypes.h. It's not needed anymore. --- src/CMakeLists.txt | 1 - src/Maps/WeaponTypes.h | 29 ---------------------------- src/SaveTool/SaveTool_MassViewer.cpp | 1 - 3 files changed, 31 deletions(-) delete mode 100644 src/Maps/WeaponTypes.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 90c2be5..500b132 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -140,7 +140,6 @@ add_executable(MassBuilderSaveTool WIN32 Maps/LastMissionId.h Maps/StoryProgress.h Maps/StyleNames.h - Maps/WeaponTypes.h Maps/WeaponTypes.hpp ToastQueue/ToastQueue.h ToastQueue/ToastQueue.cpp diff --git a/src/Maps/WeaponTypes.h b/src/Maps/WeaponTypes.h deleted file mode 100644 index 170aecc..0000000 --- a/src/Maps/WeaponTypes.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -// MassBuilderSaveTool -// Copyright (C) 2021-2022 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 . - -#include -#include - -static const std::unordered_map weapon_types{ - {"enuWeaponTypes::NewEnumerator0", "Melee weapon"}, - {"enuWeaponTypes::NewEnumerator5", "Shield"}, - {"enuWeaponTypes::NewEnumerator1", "Bullet shooter"}, - {"enuWeaponTypes::NewEnumerator2", "Energy shooter"}, - {"enuWeaponTypes::NewEnumerator3", "Bullet launcher"}, - {"enuWeaponTypes::NewEnumerator4", "Energy launcher"}, -}; diff --git a/src/SaveTool/SaveTool_MassViewer.cpp b/src/SaveTool/SaveTool_MassViewer.cpp index 9dd28f9..0b4fb8f 100644 --- a/src/SaveTool/SaveTool_MassViewer.cpp +++ b/src/SaveTool/SaveTool_MassViewer.cpp @@ -22,7 +22,6 @@ #include "../Maps/ArmourSets.h" #include "../Maps/ArmourSlots.h" #include "../Maps/StyleNames.h" -#include "../Maps/WeaponTypes.h" #include "../FontAwesome/IconsFontAwesome5.h"