summaryrefslogtreecommitdiffstats
path: root/src/fakerw/rphanim.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-25 15:56:20 +0200
committeraap <aap@papnet.eu>2020-04-25 15:56:20 +0200
commitea79cc4469dbe377e2da9e5019c1d709e95140d0 (patch)
tree825f07f2c985827d0732505e845605e53d3040b9 /src/fakerw/rphanim.h
parentfixed shooting target (diff)
downloadre3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar
re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.gz
re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.bz2
re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.lz
re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.xz
re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.zst
re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.zip
Diffstat (limited to '')
-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
{