|
|
|
@ -56,7 +56,7 @@ class plOneShotMod : public plMultiModifier
|
|
|
|
|
{ |
|
|
|
|
protected: |
|
|
|
|
virtual bool IEval(double secs, float del, uint32_t dirty) {return true;} |
|
|
|
|
char * fAnimName; // the name of the animation associated with this one-shot
|
|
|
|
|
plString fAnimName; // the name of the animation associated with this one-shot
|
|
|
|
|
bool fDrivable; // whether the user can control the position of the animation
|
|
|
|
|
bool fReversable; // whether the user can back up the animation (fDrivable must be true as well)
|
|
|
|
|
float fSeekDuration; // how long to take to get to the seek point (??? should this be speed instead?)
|
|
|
|
@ -64,10 +64,11 @@ protected:
|
|
|
|
|
bool fNoSeek; |
|
|
|
|
public: |
|
|
|
|
plOneShotMod(); |
|
|
|
|
plOneShotMod(const char *animName, bool drivable, bool reversable, float seekDuration, bool smartSeek,bool noSeek = false); |
|
|
|
|
virtual ~plOneShotMod(); |
|
|
|
|
|
|
|
|
|
void Init(const char *animName, bool drivable, bool reversable, float seekDuration, bool smartSeek, bool noSeek = false); |
|
|
|
|
plOneShotMod(const plString &animName, bool drivable, bool reversable, |
|
|
|
|
float seekDuration, bool smartSeek, bool noSeek = false); |
|
|
|
|
|
|
|
|
|
void Init(const plString &animName, bool drivable, bool reversable, |
|
|
|
|
float seekDuration, bool smartSeek, bool noSeek = false); |
|
|
|
|
|
|
|
|
|
CLASSNAME_REGISTER( plOneShotMod ); |
|
|
|
|
GETINTERFACE_ANY( plOneShotMod, plMultiModifier ); |
|
|
|
|