mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Refactor avatar movement code
plMovementStrategy classes have been reworked and completely replace all plAvatarControllers. While based on the old implementation, plPhysicalControllerCore has essentially been rewritten. Remnants of long gone physical "actions" have been removed. 4 files removed - plAVCallbackAction.h & plAVCallbackAction.cpp plAntiGravAction.h & plAntiGravAction.cpp This revision will not compile, requires new plPXPhysicalControllerCore implementation.
This commit is contained in:
@ -51,7 +51,7 @@ class plAntiGravAction;
|
||||
class plControlEventMsg;
|
||||
class plLOSRequestMsg;
|
||||
class plSwimRegionInterface;
|
||||
class plSwimmingController;
|
||||
class plSwimStrategy;
|
||||
class plAvBrainSwim : public plArmatureBrain
|
||||
{
|
||||
public:
|
||||
@ -73,7 +73,7 @@ public:
|
||||
bool IsSwimming();
|
||||
float GetSurfaceDistance() { return fSurfaceDistance; }
|
||||
|
||||
plSwimmingController *fCallbackAction;
|
||||
plSwimStrategy *fSwimStrategy;
|
||||
static const float kMinSwimDepth;
|
||||
|
||||
protected:
|
||||
@ -86,8 +86,6 @@ protected:
|
||||
bool IProcessBehaviors(double time, float elapsed);
|
||||
|
||||
virtual bool IInitAnimations();
|
||||
bool IAttachAction();
|
||||
bool IDetachAction();
|
||||
void IProbeSurface();
|
||||
bool IHandleControlMsg(plControlEventMsg* msg);
|
||||
float IGetTargetZ();
|
||||
|
Reference in New Issue
Block a user