Added get_animation_queue to DrivenEngine

This commit is contained in:
2023-07-24 17:21:44 -04:00
parent 5db04b3abc
commit ab005fc968
7 changed files with 89 additions and 0 deletions

View File

@@ -238,6 +238,13 @@ void World::get_animation_queue_hashes(uint32_t count, const int64_t *ids, uint6
}
}
void World::get_animation_queue(int64_t tanid, std::vector<EngineWrapper::AnimEntry> *into) {
Tangible *tan = tangible_get(tanid);
if (tan != nullptr) {
tan->anim_queue_.get_for_engine_wrapper(into);
}
}
World::Redirects World::fetch_redirects() {
World::Redirects result = std::move(redirects_);
redirects_.clear();