Fix bugs in animation queue handling, and add animation timeouts
This commit is contained in:
@@ -57,6 +57,12 @@ public:
|
||||
// Animation tracker
|
||||
FlxAnimTracker AnimTracker;
|
||||
|
||||
// Animation that is waiting to be finished.
|
||||
uint64 PendingAnimationHash;
|
||||
|
||||
// When do we timeout the pending animation.
|
||||
double PendingAnimationTimeout;
|
||||
|
||||
// Current Plane.
|
||||
FName Plane;
|
||||
|
||||
@@ -66,6 +72,10 @@ public:
|
||||
// True if unreal thinks this object is Near the player.
|
||||
bool NearAccordingToUnreal;
|
||||
|
||||
// Delete the current actor.
|
||||
//
|
||||
void DeleteCurrentActor();
|
||||
|
||||
public:
|
||||
// Initialize a new tangible.
|
||||
//
|
||||
@@ -122,6 +132,9 @@ public:
|
||||
static UlxTangible *GetActorTangibleQuiet(AActor *actor);
|
||||
static UlxTangible *GetActorTangibleOrLog(AActor *actor);
|
||||
|
||||
// Automatically update the tangible's XYZ, Plane, Facing.
|
||||
//
|
||||
void AutoUpdatePosition();
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user