MBINCompiler
MBINCompiler copied to clipboard
Incorrect order of serialized members in TkAnimNodeFrameData
In vanilla ANIM.MBIN files, the list data for the Translations and Scales members of the TkAnimNodeFrameData struct are reversed.
Although the members are defined in the order of: Rotations, Translations, Scales
The actual list data that is appended to the struct is ordered instead by: Rotations, Scales, Translations. Normally, the order of the list data will match the order of the member definitions. libMBIN does not handle this special case, which makes comparing files difficult as the order of the data is not the same.
Fix the serialization of the TkAnimNodeFrameData struct so that the list data is appended in the same order as the vanilla files.