igorlira / dirplayer-rs

A web-compatible Shockwave Player emulator written in Rust
GNU General Public License v3.0
50 stars 10 forks source link

improve sprite init from score #38

Closed matthewdean closed 1 month ago

matthewdean commented 2 months ago

Changes:

matthewdean commented 1 month ago

Now also deserializing film loops, which use the same memory format as score chunks.

In the cast member specific data section there are many fields which are present for film loops but which appear to be only relevant to other cast member types such as movies. I may see about generalizing the parsing code so it works for all.

igorlira commented 1 month ago

I had to merge this manually due to conflicts so I'm closing the PR, but I've checked that all of its commits have been merged into main.