fixed event handling and a lot of ID stuff OOPS

This commit is contained in:
2026-01-13 03:16:38 -05:00
parent f9087b8ed3
commit 7f4e05a927
13 changed files with 78 additions and 17 deletions

View File

@@ -47,6 +47,14 @@ namespace anm2ed::anm2
return labels;
}
std::vector<int> Anm2::spritesheet_ids_get()
{
std::vector<int> ids{};
for (auto& [id, spritesheet] : content.spritesheets)
ids.emplace_back(id);
return ids;
}
bool Anm2::spritesheets_deserialize(const std::string& string, const std::filesystem::path& directory,
merge::Type type, std::string* errorString)
{