diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 20:46:15 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 20:46:15 +0200 |
commit | fbca45239d54e9d2caa1dfca4c95947963091c69 (patch) | |
tree | 050569b5c634ebc45aaaa610f145d899549a371f /src/fakerw/rphanim.h | |
parent | helis done + cheats (diff) | |
parent | update librw (diff) | |
download | re3-fbca45239d54e9d2caa1dfca4c95947963091c69.tar re3-fbca45239d54e9d2caa1dfca4c95947963091c69.tar.gz re3-fbca45239d54e9d2caa1dfca4c95947963091c69.tar.bz2 re3-fbca45239d54e9d2caa1dfca4c95947963091c69.tar.lz re3-fbca45239d54e9d2caa1dfca4c95947963091c69.tar.xz re3-fbca45239d54e9d2caa1dfca4c95947963091c69.tar.zst re3-fbca45239d54e9d2caa1dfca4c95947963091c69.zip |
Diffstat (limited to 'src/fakerw/rphanim.h')
-rw-r--r-- | src/fakerw/rphanim.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/fakerw/rphanim.h b/src/fakerw/rphanim.h index 34dfeb09..6ece8306 100644 --- a/src/fakerw/rphanim.h +++ b/src/fakerw/rphanim.h @@ -9,7 +9,15 @@ typedef rw::Animation RpHAnimAnimation; #define rpHANIMSTDKEYFRAMETYPEID 0x1 -typedef rw::HAnimKeyFrame RpHAnimStdKeyFrame; +// same as rw::HAnimKeyFrame, but we need RtQuat in this one +struct RpHAnimStdKeyFrame +{ + RpHAnimStdKeyFrame *prevFrame; + RwReal time; + RtQuat q; + RwV3d t; +}; + enum RpHAnimHierarchyFlag { |