diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f7e6a34..3055025 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -177,10 +177,9 @@ add_executable(MassBuilderSaveTool GameObjects/Mass_Weapons.cpp GameObjects/Mass_Styles.cpp GameObjects/Mass_DecalsAccessories.cpp - GameObjects/MassPropertyNames.h + GameObjects/PropertyNames.h GameObjects/Profile.h GameObjects/Profile.cpp - GameObjects/ProfilePropertyNames.h GameObjects/Weapon.h GameObjects/Weapon.cpp GameObjects/WeaponPart.h diff --git a/src/GameObjects/Mass.cpp b/src/GameObjects/Mass.cpp index 124db44..9e6f35f 100644 --- a/src/GameObjects/Mass.cpp +++ b/src/GameObjects/Mass.cpp @@ -21,7 +21,7 @@ #include #include -#include "MassPropertyNames.h" +#include "PropertyNames.h" #include "../Logger/Logger.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/BoolProperty.h" diff --git a/src/GameObjects/Mass_Armour.cpp b/src/GameObjects/Mass_Armour.cpp index 280f572..34b6f9b 100644 --- a/src/GameObjects/Mass_Armour.cpp +++ b/src/GameObjects/Mass_Armour.cpp @@ -16,7 +16,7 @@ #include -#include "MassPropertyNames.h" +#include "PropertyNames.h" #include "../Logger/Logger.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/ByteProperty.h" diff --git a/src/GameObjects/Mass_DecalsAccessories.cpp b/src/GameObjects/Mass_DecalsAccessories.cpp index 320e34c..fe68000 100644 --- a/src/GameObjects/Mass_DecalsAccessories.cpp +++ b/src/GameObjects/Mass_DecalsAccessories.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "MassPropertyNames.h" +#include "PropertyNames.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/BoolProperty.h" #include "../Gvas/Types/ColourStructProperty.h" diff --git a/src/GameObjects/Mass_Frame.cpp b/src/GameObjects/Mass_Frame.cpp index c3ab3ff..e19f20f 100644 --- a/src/GameObjects/Mass_Frame.cpp +++ b/src/GameObjects/Mass_Frame.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "MassPropertyNames.h" +#include "PropertyNames.h" #include "../Logger/Logger.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/ColourStructProperty.h" diff --git a/src/GameObjects/Mass_Styles.cpp b/src/GameObjects/Mass_Styles.cpp index 6c08ccb..daa0c8d 100644 --- a/src/GameObjects/Mass_Styles.cpp +++ b/src/GameObjects/Mass_Styles.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "MassPropertyNames.h" +#include "PropertyNames.h" #include "../Logger/Logger.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/ColourStructProperty.h" diff --git a/src/GameObjects/Mass_Weapons.cpp b/src/GameObjects/Mass_Weapons.cpp index 6a5367c..ef8f975 100644 --- a/src/GameObjects/Mass_Weapons.cpp +++ b/src/GameObjects/Mass_Weapons.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "MassPropertyNames.h" +#include "PropertyNames.h" #include "../Logger/Logger.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/BoolProperty.h" diff --git a/src/GameObjects/Profile.cpp b/src/GameObjects/Profile.cpp index 8c0163d..cc342e1 100644 --- a/src/GameObjects/Profile.cpp +++ b/src/GameObjects/Profile.cpp @@ -19,7 +19,7 @@ #include #include -#include "ProfilePropertyNames.h" +#include "PropertyNames.h" #include "../Logger/Logger.h" #include "../Gvas/Types/ArrayProperty.h" #include "../Gvas/Types/ResourceItemValue.h" diff --git a/src/GameObjects/ProfilePropertyNames.h b/src/GameObjects/ProfilePropertyNames.h deleted file mode 100644 index 73ebbe3..0000000 --- a/src/GameObjects/ProfilePropertyNames.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -#define PROFILE_NAME "CompanyName" -#define PROFILE_ACTIVE_FRAME_SLOT "ActiveFrameSlot" -#define PROFILE_CREDITS "Credit" -#define PROFILE_STORY_PROGRESS "StoryProgress" -#define PROFILE_LAST_MISSION_ID "LastMissionID" -#define PROFILE_MATERIAL "ResourceMaterial" -#define PROFILE_QUARK_DATA "ResourceQuarkData" -#define PROFILE_ACCOUNT "Account" diff --git a/src/GameObjects/MassPropertyNames.h b/src/GameObjects/PropertyNames.h similarity index 85% rename from src/GameObjects/MassPropertyNames.h rename to src/GameObjects/PropertyNames.h index 862163b..2d36876 100644 --- a/src/GameObjects/MassPropertyNames.h +++ b/src/GameObjects/PropertyNames.h @@ -1,5 +1,32 @@ #pragma once +// MassBuilderSaveTool +// Copyright (C) 2021-2024 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 . + +// Profile stuff +#define PROFILE_NAME "CompanyName" +#define PROFILE_ACTIVE_FRAME_SLOT "ActiveFrameSlot" +#define PROFILE_CREDITS "Credit" +#define PROFILE_STORY_PROGRESS "StoryProgress" +#define PROFILE_LAST_MISSION_ID "LastMissionID" +#define PROFILE_MATERIAL "ResourceMaterial" +#define PROFILE_QUARK_DATA "ResourceQuarkData" +#define PROFILE_ACCOUNT "Account" + +// Basic MASS stuff #define MASS_UNIT_DATA "UnitData" #define MASS_NAME "Name_45_A037C5D54E53456407BDF091344529BB" #define MASS_ACCOUNT "Account"