1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 20:29:10 +00:00

plOneShotMod => plString

This commit is contained in:
2014-01-09 23:10:57 -08:00
parent b16274a8cc
commit 71c9771cfb
2 changed files with 12 additions and 21 deletions

View File

@ -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 );