ksys/res: Add AttClient header

This commit is contained in:
Léo Lam
2020-11-14 13:12:00 +01:00
parent dcdb1fa70e
commit aa636bd44a
7 changed files with 136 additions and 1 deletions
@@ -22,6 +22,8 @@ target_sources(uking PRIVATE
actAiClass.h
actAiParam.cpp
actAiParam.h
actAttention.cpp
actAttention.h
actBaseProc.cpp
actBaseProc.h
actBaseProcHandle.cpp
@@ -0,0 +1,9 @@
#include "KingSystem/ActorSystem/actAttention.h"
namespace ksys::act {
SEAD_ENUM_IMPL(AttActionType)
SEAD_ENUM_IMPL(AttPriorityType)
} // namespace ksys::act
+70
View File
@@ -0,0 +1,70 @@
#pragma once
#include <prim/seadEnum.h>
namespace ksys::act {
enum class AttType {
Action = 0,
Lock = 1,
SwordSearch = 2,
Attack = 3,
Appeal = 4,
JumpRide = 5,
NameBalloon = 6,
LookOnly = 7,
Invalid = 8,
};
// Make sure to update AttActionType if this is changed
enum class AttActionCode {
None = 0x1800000,
Talk,
Listen,
Awake,
Grab,
Open,
Pick,
Catch,
CheckCatch,
CatchWeapon,
Skin,
Sleep,
Sit,
Lumber,
Pushpull,
Read,
Check,
Boot,
BootPStop,
Leave,
Remind,
Buy,
Ride,
Wakeboard,
WakeboardRide,
RideRito,
RideZora,
Cook,
KillTime,
Display,
DisplayBow,
DisplayShield,
PickUp,
Pray,
PullOut,
Waterfall,
CommandWait,
CommandCome,
Thrust,
Put,
PickToEvent,
Dummy,
};
// clang-format off
SEAD_ENUM(AttActionType, None,Talk,Listen,Awake,Grab,Open,Pick,Catch,CheckCatch,CatchWeapon,Skin,Sleep,Sit,Lumber,Pushpull,Read,Check,Boot,BootPStop,Leave,Remind,Buy,Ride,Wakeboard,WakeboardRide,RideRito,RideZora,Cook,KillTime,Display,DisplayBow,DisplayShield,PickUp,Pray,PullOut,Waterfall,CommandWait,CommandCome,Thrust,Put,PickToEvent,Dummy)
SEAD_ENUM(AttPriorityType, Default,Enemy,Npc,Obj,ObjLow,ObjMiddle,ObjHigh,Bullet)
// clang-format on
} // namespace ksys::act