mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
All CPatterned functions implemented
This commit is contained in:
@@ -8,18 +8,19 @@ namespace urde
|
||||
class CScriptWaypoint : public CActor
|
||||
{
|
||||
float xe8_speed;
|
||||
u32 xec_;
|
||||
float xf0_;
|
||||
bool xf4_;
|
||||
bool xf5_;
|
||||
bool xf6_;
|
||||
bool xf7_;
|
||||
bool xf8_;
|
||||
u16 xfa_jumpFlags;
|
||||
u32 xec_animation;
|
||||
float xf0_pause;
|
||||
u8 xf4_patternTranslate;
|
||||
u8 xf5_patternOrient;
|
||||
u8 xf6_patternFit;
|
||||
u8 xf7_behaviour;
|
||||
u8 xf8_behaviourOrient;
|
||||
u16 xfa_behaviourModifiers;
|
||||
public:
|
||||
CScriptWaypoint(TUniqueId, std::string_view, const CEntityInfo&,
|
||||
const zeus::CTransform&, bool, float, float,
|
||||
u32, u32, u32, u32, u32, u32, u32);
|
||||
CScriptWaypoint(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
||||
const zeus::CTransform& xf, bool active, float speed, float pause,
|
||||
u32 patternTranslate, u32 patternOrient, u32 patternFit, u32 behaviour,
|
||||
u32 behaviourOrient, u32 behaviourModifiers, u32 animation);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr);
|
||||
@@ -27,7 +28,14 @@ public:
|
||||
TUniqueId FollowWaypoint(CStateManager& mgr) const;
|
||||
TUniqueId NextWaypoint(CStateManager& mgr) const;
|
||||
float GetSpeed() const { return xe8_speed; }
|
||||
float GetF0() const { return xf0_; }
|
||||
u32 GetAnimation() const { return xec_animation; }
|
||||
float GetPause() const { return xf0_pause; }
|
||||
u8 GetPatternTranslate() const { return xf4_patternTranslate; }
|
||||
u8 GetPatternOrient() const { return xf5_patternOrient; }
|
||||
u8 GetPatternFit() const { return xf6_patternFit; }
|
||||
u8 GetBehaviour() const { return xf7_behaviour; }
|
||||
u8 GetBehaviourOrient() const { return xf8_behaviourOrient; }
|
||||
u16 GetBehaviourModifiers() const { return xfa_behaviourModifiers; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user