Integrate new animations more seamlessly with base game data structures #14

Merged
erodozer merged 2 commits from integrate-with-base into master 2021-07-29 16:06:31 +00:00
erodozer commented 2021-07-27 03:00:24 +00:00 (Migrated from github.com)

This changes how new animations are integrated with the base game's data. All original lists are fully made aware of the new animations by creating the new entries ahead of time and not tying them solely to the UI. Sideloaded animations are identifiable by their dynamic id which is based against Sideloader Unique Slot Ids. By extending the lstAnimInfo of HSceneProc, we also get to leverage koikatsu's list filtering logic, so no need to track category state in the plugin.

Motivation for this change came from a desire to be compatible with AnimationLoader without having an explicit dependency on it for an AI mod I am implementing

This changes how new animations are integrated with the base game's data. All original lists are fully made aware of the new animations by creating the new entries ahead of time and not tying them solely to the UI. Sideloaded animations are identifiable by their dynamic id which is based against Sideloader Unique Slot Ids. By extending the lstAnimInfo of HSceneProc, we also get to leverage koikatsu's list filtering logic, so no need to track category state in the plugin. Motivation for this change came from a desire to be compatible with AnimationLoader without having an explicit dependency on it for an [AI mod I am implementing](https://github.com/nhydock/OpenKoikatsuPlugins#oktopme)
Keelhauled (Migrated from github.com) reviewed 2021-07-27 03:00:24 +00:00
ManlyMarco (Migrated from github.com) approved these changes 2021-07-29 06:47:17 +00:00
ManlyMarco (Migrated from github.com) left a comment

Looks good, thank you

Looks good, thank you
Sign in to join this conversation.
No description provided.