summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kurator/src/ScenarioEditor.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/kurator/src/ScenarioEditor.cpp b/kurator/src/ScenarioEditor.cpp
index e05b715..2df55c9 100644
--- a/kurator/src/ScenarioEditor.cpp
+++ b/kurator/src/ScenarioEditor.cpp
@@ -142,6 +142,14 @@ loadout_editor(std::shared_ptr<universe::Repository> repo, campaign::Loadout& lo
loadout.type = type;
changed = true;
}
+ if (ImGui::IsItemHovered()) {
+ ImGui::BeginTooltip();
+ ImGui::Text("Shield: %.0f", type.base_shield_points);
+ ImGui::Text("Armour: %.0f", type.base_armour_points);
+ ImGui::Text("Structure: %.0f", type.base_structure_points);
+ ImGui::Text("Speed: %.0f m/s", type.max_speed);
+ ImGui::EndTooltip();
+ }
});
ImGui::EndCombo();
}