Compare commits
No commits in common. "608fc9c4c3935f450e1a02f6c529770bdf643262" and "4b4f52c89c4f756835464911f6e04920321b2119" have entirely different histories.
608fc9c4c3
...
4b4f52c89c
4 changed files with 11 additions and 26 deletions
|
@ -86,7 +86,7 @@ Application::drawArmour() {
|
|||
ImGui::Text("Set name: %s", GameData::armour_sets.at(part.id).name.data());
|
||||
}
|
||||
else {
|
||||
ImGui::Text("Set ID: %d", part.id);
|
||||
ImGui::Text("Set ID: %u", part.id);
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
|
@ -96,27 +96,13 @@ Application::drawArmour() {
|
|||
}
|
||||
if(ImGui::BeginPopup("##ArmourPartPopup")) {
|
||||
if(ImGui::BeginListBox("##ChangePart")) {
|
||||
for(const auto& [id, set] : GameData::armour_sets) {
|
||||
if((part.slot == GameObjects::ArmourPart::Slot::Neck && !set.neck_compatible) ||
|
||||
(id == -2 &&
|
||||
!(part.slot == GameObjects::ArmourPart::Slot::LeftFrontSkirt ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::RightFrontSkirt ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::LeftSideSkirt ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::RightSideSkirt ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::LeftBackSkirt ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::RightBackSkirt ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::LeftAnkle ||
|
||||
part.slot == GameObjects::ArmourPart::Slot::RightAnkle)
|
||||
)
|
||||
)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if(ImGui::Selectable(set.name.data(), id == part.id,
|
||||
ImGuiSelectableFlags_SpanAvailWidth))
|
||||
{
|
||||
part.id = id;
|
||||
for(auto& set : GameData::armour_sets) {
|
||||
if(part.slot != GameObjects::ArmourPart::Slot::Neck || set.second.neck_compatible) {
|
||||
if(ImGui::Selectable(set.second.name.data(), set.first == part.id,
|
||||
ImGuiSelectableFlags_SpanAvailWidth))
|
||||
{
|
||||
part.id = set.first;
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui::EndListBox();
|
||||
|
|
|
@ -18,7 +18,7 @@ set(CMAKE_CXX_STANDARD 17)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
set(SAVETOOL_PROJECT_VERSION 1.5.2)
|
||||
set(SAVETOOL_PROJECT_VERSION 1.5.1)
|
||||
|
||||
find_package(Corrade REQUIRED Containers Utility)
|
||||
if(CORRADE_TARGET_WINDOWS)
|
||||
|
@ -235,7 +235,7 @@ target_compile_definitions(MassBuilderSaveTool PRIVATE
|
|||
SAVETOOL_VERSION_STRING="${SAVETOOL_PROJECT_VERSION}"
|
||||
SAVETOOL_VERSION_MAJOR=1
|
||||
SAVETOOL_VERSION_MINOR=5
|
||||
SAVETOOL_VERSION_PATCH=2
|
||||
SAVETOOL_VERSION_PATCH=1
|
||||
SAVETOOL_VERSION_PRERELEASE=false
|
||||
SAVETOOL_CODENAME="Friendly Valkyrie"
|
||||
SAVETOOL_SUPPORTED_GAME_VERSION="0.11.x"
|
||||
|
|
|
@ -33,7 +33,6 @@ struct ArmourSet {
|
|||
};
|
||||
|
||||
static const std::map<std::int32_t, ArmourSet> armour_sets {
|
||||
{-2, {"<hidden>"_s, false}},
|
||||
{-1, {"<unequipped>"_s, true}},
|
||||
{0, {"Vanguard"_s, true}},
|
||||
{1, {"Assault Mk.I"_s, true}},
|
||||
|
|
2
third-party/efsw
vendored
2
third-party/efsw
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 0c70ed2cd069a18d534989e8ae1c25ee39cba1f1
|
||||
Subproject commit 341934765471e4074e90bb5205ff4a65c16499c6
|
Loading…
Reference in a new issue