summaryrefslogtreecommitdiffstats
path: root/src/fakerw/rphanim.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-25 20:46:15 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-25 20:46:15 +0200
commitfbca45239d54e9d2caa1dfca4c95947963091c69 (patch)
tree050569b5c634ebc45aaaa610f145d899549a371f /src/fakerw/rphanim.h
parenthelis done + cheats (diff)
parentupdate librw (diff)
downloadre3-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.h10
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
{