mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
anim-clip -- sequence selection by afx effects
This commit is contained in:
parent
8c65467697
commit
ab88b8f489
6 changed files with 511 additions and 14 deletions
|
|
@ -20,6 +20,11 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||
// Copyright (C) 2015 Faust Logic, Inc.
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
||||
#ifndef _AIPLAYER_H_
|
||||
#define _AIPLAYER_H_
|
||||
|
||||
|
|
@ -225,6 +230,18 @@ public:
|
|||
|
||||
/// @}
|
||||
#endif // TORQUE_NAVIGATION_ENABLED
|
||||
// New method, restartMove(), restores the AIPlayer to its normal move-state
|
||||
// following animation overrides from AFX. The tag argument is used to match
|
||||
// the latest override and prevents interruption of overlapping animation
|
||||
// overrides.
|
||||
// New method, saveMoveState(), stores the current movement state
|
||||
// so that it can be restored when restartMove() is called.
|
||||
// See related anim-clip changes in Player.[h,cc].
|
||||
private:
|
||||
S32 mMoveState_saved;
|
||||
public:
|
||||
void restartMove(U32 tag);
|
||||
void saveMoveState();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue