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

Add customizable finish message to avatar seeking

This commit is contained in:
Florian Meißner
2012-02-02 20:24:22 +01:00
parent b6a371f49f
commit 14392883a7
4 changed files with 14 additions and 5 deletions

View File

@ -174,12 +174,13 @@ void plAvTaskMsg::Write(hsStream *stream, hsResMgr *mgr)
// CTOR()
plAvSeekMsg::plAvSeekMsg()
: plAvTaskMsg(),
fSeekPoint(nil),
fSeekPoint(nullptr),
fDuration(0),
fSmartSeek(true),
fAlignType(kAlignHandle),
fNoSeek(false),
fFlags(kSeekFlagForce3rdPersonOnStart)
fFlags(kSeekFlagForce3rdPersonOnStart),
fFinishMsg(nullptr)
{
}
@ -198,7 +199,8 @@ plAvSeekMsg::plAvSeekMsg(const plKey& sender, const plKey& receiver,
fAlignType(alignType),
fNoSeek(noSeek),
fFlags(flags),
fFinishKey(finishKey)
fFinishKey(finishKey),
fFinishMsg(nullptr)
{
}

View File

@ -218,6 +218,7 @@ public:
plAvAlignment fAlignType;
uint8_t fFlags;
plKey fFinishKey;
plMessage* fFinishMsg;
};
class plAvTaskSeekDoneMsg : public plAvatarMsg