regions and a whole bunch of other shit

This commit is contained in:
2026-01-30 01:13:28 -05:00
parent ca3a0f6691
commit 1b7a49c25d
28 changed files with 988 additions and 107 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ namespace anm2ed::anm2
std::vector<std::string> Anm2::event_labels_get()
{
std::vector<std::string> labels{};
labels.emplace_back("None");
labels.emplace_back(localize.get(BASIC_NONE));
for (auto& event : content.events | std::views::values)
labels.emplace_back(event.name);
return labels;
@@ -40,7 +40,7 @@ namespace anm2ed::anm2
for (auto& animation : animations.items)
for (auto& frame : animation.triggers.frames)
used.insert(frame.eventID);
if (frame.eventID != -1) used.insert(frame.eventID);
std::set<int> unused{};
for (auto& id : content.events | std::views::keys)