2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 04:57:01 +00:00

Implement body state classes

This commit is contained in:
Jack Andersen
2017-07-09 18:55:51 -10:00
parent 778b37e0f8
commit 56bfc276d6
43 changed files with 4087 additions and 248 deletions

View File

@@ -7,23 +7,80 @@ namespace pas
{
enum class ELocomotionType
{
Invalid = -1,
Crouch,
Relaxed,
Lurk,
Combat,
Internal4,
Internal5,
Internal6,
Internal7,
Internal8,
Internal9,
Internal10,
Internal11,
Internal12,
Internal13,
Internal14
};
enum class ELocomotionAnim
{
Invalid = -1,
Idle,
Walk,
Run,
BackUp,
StrafeLeft,
StrafeRight,
StrafeUp,
StrafeDown
};
enum class EAnimationState
{
Invalid = -1,
Fall,
Getup,
LieOnGround,
Step,
Death,
Locomotion,
KnockBack,
MeleeAttack,
Turn,
LoopAttack,
LoopReaction,
GroundHit,
Generate,
Jump,
Hurled,
Slide,
Taunt,
Scripted,
ProjectileAttack,
Cover,
WallHang
};
enum class EHurledType
enum class EHurledState
{
Invalid = -1,
KnockIntoAir,
KnockLoop,
KnockDown,
StrikeWall,
StrikeWallFallLoop,
OutOfStrikeWall,
Six,
Seven
};
enum class EFallState
{
Invalid = -1,
Zero
};
enum class EReactionType
@@ -38,16 +95,31 @@ enum class EAdditiveReactionType
enum class EJumpType
{
Zero
Normal,
One,
Ambush
};
enum class EJumpState
{
Invalid = -1,
IntoJump,
AmbushJump,
Loop,
OutOfJump,
WallBounceLeft,
WallBounceRight
};
enum class EStepDirection
{
Invalid = -1,
Up = 0,
Down = 1,
Forward = 0,
Backward = 1,
Left = 2,
Right = 3
Right = 3,
Up = 4,
Down = 5
};
enum class EStepType
@@ -66,6 +138,14 @@ enum class EGetupType
Invalid = -1
};
enum class ELoopState
{
Invalid = -1,
Begin,
Loop,
End
};
enum class ELoopAttackType
{
Invalid = -1
@@ -86,25 +166,62 @@ enum class ETauntType
Invalid = -1
};
enum class ECoverState
{
Invalid = -1,
IntoCover,
Cover,
Lean,
OutOfCover
};
enum class ECoverDirection
{
Invalid = -1
Invalid = -1,
Left,
Right
};
enum class ETurnDirection
{
Invalid = -1,
Right,
Left
};
enum class EWallHangState
{
Invalid = -1,
IntoJump,
JumpArc,
JumpAirLoop,
IntoWallHang,
WallHang,
Five,
OutOfWallHang,
OutOfWallHangTurn,
DetachJumpLoop,
DetachOutOfJump
};
}
enum class EBodyType
{
Zero,
One,
Two,
Three
Invalid,
BiPedal,
Restricted,
Flyer,
Pitchable,
RestrictedFlyer,
WallWalker,
NewFlyer
};
enum class EBodyStateCmd
{
Getup,
Step,
Two,
Die,
KnockDown,
KnockBack,
MeleeAttack,
@@ -112,9 +229,9 @@ enum class EBodyStateCmd
LoopAttack,
LoopReaction,
LoopHitReaction,
Ten,
Eleven,
Twelve,
ExitState,
LeanFromCover,
NextState,
Thirteen,
Generate,
Hurled,
@@ -124,7 +241,7 @@ enum class EBodyStateCmd
Scripted,
Cover,
WallHang,
TwentyTwo,
Locomotion,
TwentyThree,
AdditiveAim,
AdditiveFlinch,