mirror of
https://github.com/zeldaret/st
synced 2026-06-18 15:35:30 -04:00
453db24d41
* gcc fixes * document random things in UnkStruct_027e09b8_00 * match func_ov001_020ba670 and rabbit docs * match func_ov026_0211f394 * fix build issues * match func_ov026_0211e3e0 * match func_ov026_02102924 * move structs to header * document train rope thing * MapObject OK and ActorRef stuff * match more actor funcs * fix regressions * fix build issues * more regressions fixes * name keyt grab func * UnkSubStruct19 -> CellAnimObject (based on the only assert string) * fix build issues due to merge * Actor::mUnk_4C -> Actor::mState + related changes * create GetActorPtr template inline for Actor_c4 * ActorUnk_ov000_020a8bb0 -> Actor_Derived1 * actor: add comments about mUnk_50/52 and change type of mAngle
48 lines
1009 B
C++
48 lines
1009 B
C++
#pragma once
|
|
|
|
#include "Actor/Actor.hpp"
|
|
#include "Actor/ActorProfile.hpp"
|
|
#include "Actor/ActorRef.hpp"
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
enum ActorUnkSWOBState_ {
|
|
ActorUnkSWOBState_0 = 0,
|
|
ActorUnkSWOBState_1 = 1,
|
|
ActorUnkSWOBState_2 = 2,
|
|
ActorUnkSWOBState_Max,
|
|
};
|
|
|
|
class ActorUnkSWOB : public Actor {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 94 */ unk32 mUnk_94;
|
|
/* 98 */ unk32 mUnk_98;
|
|
/* 9C */ unk16 mUnk_9C;
|
|
/* 9C */ unk16 mUnk_9E;
|
|
/* A0 */ unk16 mUnk_A0;
|
|
/* A0 */ unk16 mUnk_A2;
|
|
/* A4 */ ActorRefElem mUnk_A4[5];
|
|
/* B8 */
|
|
|
|
ActorUnkSWOB();
|
|
|
|
/* 18 */ virtual bool vfunc_18(unk32 param1) override;
|
|
/* 20 */ virtual void vfunc_20() override;
|
|
|
|
bool func_ov000_0209a948(void);
|
|
void SetState(ActorState state);
|
|
void func_ov000_0209aa30(void);
|
|
};
|
|
|
|
class ActorProfileUnkSWOB : public ActorProfile {
|
|
public:
|
|
/* 00 (base) */
|
|
|
|
ActorProfileUnkSWOB();
|
|
|
|
/* 0C */ virtual Actor *Create();
|
|
|
|
static ActorProfileUnkSWOB *GetProfile();
|
|
};
|