# Updated unit animation code.

Added UnitAnimation class, to act as the interface between the entity
and actor. (Currently doesn't work very well, but it does make
animations loop smoothly and sometimes kind of makes them stay
synchronised.)
Fixed corpse animation - it now plays the final frame of the death
animation before turning static.
Fixed update/interpolate timings.
Added JS function saveProfileData.
Updated ffmpeg library.

This was SVN commit r4880.
This commit is contained in:
Ykkrosh
2007-02-10 03:09:52 +00:00
parent 54f381cc1b
commit bdbb2bcb16
24 changed files with 350 additions and 172 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ public:
float m_Speed;
// fraction of the way through the animation that the interesting bit(s)
// happens
double m_ActionPos;
double m_ActionPos2;
float m_ActionPos;
float m_ActionPos2;
};
struct Prop {