metaforce/Runtime/Character/CharacterCommon.hpp

160 lines
3.1 KiB
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-08-15 20:43:04 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2018-12-08 05:30:43 +00:00
namespace pas {
enum class ELocomotionType {
Invalid = -1,
Crouch = 0,
Relaxed = 1,
Lurk = 2,
Combat = 3,
Internal4 = 4,
Internal5 = 5,
Internal6 = 6,
Internal7 = 7,
Internal8 = 8,
Internal9 = 9,
Internal10 = 10,
Internal11 = 11,
Internal12 = 12,
Internal13 = 13,
Internal14 = 14
};
enum class ELocomotionAnim { Invalid = -1, Idle, Walk, Run, BackUp, StrafeLeft, StrafeRight, StrafeUp, StrafeDown };
enum class EAnimationState {
Invalid = -1,
2020-04-22 09:08:02 +00:00
Fall = 0,
Getup = 1,
LieOnGround = 2,
Step = 3,
Death = 4,
Locomotion = 5,
KnockBack = 6,
MeleeAttack = 7,
Turn = 8,
LoopAttack = 9,
LoopReaction = 10,
GroundHit = 11,
Generate = 12,
Jump = 13,
Hurled = 14,
Slide = 15,
Taunt = 16,
Scripted = 17,
ProjectileAttack = 18,
Cover = 19,
WallHang = 20,
AdditiveIdle = 21,
AdditiveAim = 22,
AdditiveFlinch = 23,
AdditiveReaction = 24
2018-12-08 05:30:43 +00:00
};
enum class EHurledState {
Invalid = -1,
KnockIntoAir,
KnockLoop,
KnockDown,
StrikeWall,
StrikeWallFallLoop,
OutOfStrikeWall,
Six,
Seven
};
2020-04-22 09:08:02 +00:00
enum class EFallState { Invalid = -1, Zero, One, Two };
2018-12-08 05:30:43 +00:00
enum class EReactionType { Invalid = -1, Zero, One, Two, Three };
enum class EAdditiveReactionType { Invalid = -1, Electrocution, One, Two, IceBreakout, Four, Five, Six, Seven };
2018-12-08 05:30:43 +00:00
enum class EJumpType { Normal, One, Ambush };
enum class EJumpState { Invalid = -1, IntoJump, AmbushJump, Loop, OutOfJump, WallBounceLeft, WallBounceRight };
enum class EStepDirection { Invalid = -1, Forward = 0, Backward = 1, Left = 2, Right = 3, Up = 4, Down = 5 };
2018-12-13 07:39:16 +00:00
enum class EStepType { Normal = 0, Dodge = 1, BreakDodge = 2, RollDodge = 3 };
enum class ESeverity {
Invalid = -1,
Zero = 0,
One = 1,
Two = 2,
Three = 3,
Four = 4,
Five = 5,
Six = 6,
Seven = 7,
Eight = 8
};
2018-12-08 05:30:43 +00:00
2019-06-20 21:22:06 +00:00
enum class EGetupType { Invalid = -1, Zero = 0, One = 1, Two = 2 };
2018-12-08 05:30:43 +00:00
enum class ELoopState { Invalid = -1, Begin, Loop, End };
enum class ELoopAttackType { Invalid = -1, Zero, One, Two, Three };
2018-12-08 05:30:43 +00:00
2020-04-20 22:35:56 +00:00
enum class EGenerateType { Invalid = -1, Zero, One, Two, Three, Four, Five, Six, Seven, Eight };
2018-12-08 05:30:43 +00:00
2018-12-31 05:01:42 +00:00
enum class ESlideType { Invalid = -1, Zero = 0 };
2018-12-08 05:30:43 +00:00
2018-12-13 07:39:16 +00:00
enum class ETauntType { Invalid = -1, Zero, One, Two };
2018-12-08 05:30:43 +00:00
enum class ECoverState { Invalid = -1, IntoCover, Cover, Lean, OutOfCover };
enum class ECoverDirection { 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
};
} // namespace pas
enum class EBodyType { Invalid, BiPedal, Restricted, Flyer, Pitchable, RestrictedFlyer, WallWalker, NewFlyer };
enum class EBodyStateCmd {
Getup,
Step,
Die,
KnockDown,
KnockBack,
MeleeAttack,
ProjectileAttack,
LoopAttack,
LoopReaction,
LoopHitReaction,
ExitState,
LeanFromCover,
NextState,
MaintainVelocity,
Generate,
Hurled,
Jump,
Slide,
Taunt,
Scripted,
Cover,
WallHang,
Locomotion,
AdditiveIdle,
AdditiveAim,
AdditiveFlinch,
AdditiveReaction,
StopReaction
2016-08-15 20:43:04 +00:00
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce