mirror of
https://github.com/zeldaret/tp
synced 2026-07-09 23:01:41 -04:00
wip
This commit is contained in:
@@ -19,7 +19,7 @@ public:
|
||||
void onCondition(u16);
|
||||
void offCondition(u16);
|
||||
bool checkCommandCatch();
|
||||
bool checkCommandDoor();
|
||||
BOOL checkCommandDoor();
|
||||
bool checkCommandDemoAccrpt();
|
||||
|
||||
void setCommand(u16 command) { mCommand = command; }
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
struct actor_place {
|
||||
cXyz mPosition;
|
||||
csXyz mAngle;
|
||||
u8 mRoomNo;
|
||||
s8 mRoomNo;
|
||||
};
|
||||
|
||||
struct actor_attention_types {
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
/* 0x4E4 */ csXyz mCollisionRot;
|
||||
/* 0x4EC */ cXyz mScale;
|
||||
/* 0x4F8 */ cXyz mSpeed;
|
||||
/* 0x504 */ Mtx* mCullMtx;
|
||||
/* 0x504 */ MtxP mCullMtx;
|
||||
union {
|
||||
struct {
|
||||
/* 0x508 */ cXyz mMin;
|
||||
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
static bool gndCheck(const cXyz*);
|
||||
static u8 mGndCheck[84];
|
||||
static f32 mGroundY;
|
||||
|
||||
static f32 getGroundY() { return mGroundY; }
|
||||
};
|
||||
|
||||
class fopAcM_wt_c {
|
||||
@@ -100,6 +102,10 @@ inline u32 fopAcM_GetParam(const void* pActor) {
|
||||
return fpcM_GetParam(pActor);
|
||||
}
|
||||
|
||||
inline u8 fopAcM_GetGroup(const fopAc_ac_c* p_actor) {
|
||||
return p_actor->mGroup;
|
||||
}
|
||||
|
||||
inline void fopAcM_OnStatus(fopAc_ac_c* pActor, u32 flag) {
|
||||
pActor->mStatus |= flag;
|
||||
}
|
||||
@@ -132,6 +138,14 @@ inline csXyz& fopAcM_GetShapeAngle_p(fopAc_ac_c* pActor) {
|
||||
return pActor->mCollisionRot;
|
||||
}
|
||||
|
||||
inline bool fopAcM_CheckCondition(fopAc_ac_c* p_actor, u32 flag) {
|
||||
return p_actor->mCondition & flag;
|
||||
}
|
||||
|
||||
inline void fopAcM_OnCondition(fopAc_ac_c* p_actor, u32 flag) {
|
||||
p_actor->mCondition |= flag;
|
||||
}
|
||||
|
||||
void* fopAcM_FastCreate(s16 pProcTypeID, FastCreateReqFunc param_2, void* param_3, void* pData);
|
||||
void fopAcM_setStageLayer(void*);
|
||||
int fopAcM_setRoomLayer(void*, int);
|
||||
|
||||
Reference in New Issue
Block a user