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
44 lines
941 B
C++
44 lines
941 B
C++
#pragma once
|
|
|
|
#include "Actor/Actor.hpp"
|
|
#include "Actor/ActorProfile.hpp"
|
|
#include "Unknown/UnkSystem1.hpp"
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
enum ActorUnkOBPCState_ {
|
|
ActorUnkOBPCState_0 = 0,
|
|
ActorUnkOBPCState_1 = 1,
|
|
ActorUnkOBPCState_Max,
|
|
};
|
|
|
|
class ActorUnkOBPC : public Actor {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 94 */ unk32 mUnk_94;
|
|
/* 98 */ unk32 mUnk_98;
|
|
/* 9C */ UnkSystem1_ov000_Derived2 mUnk_9C;
|
|
/* D0 */
|
|
|
|
ActorUnkOBPC();
|
|
|
|
/* 18 */ virtual bool vfunc_18(unk32 param1) override;
|
|
/* 20 */ virtual void vfunc_20() override;
|
|
/* 24 */ virtual void vfunc_24() override;
|
|
|
|
bool func_ov024_020d6f74(void);
|
|
void SetState(ActorState state, int param2);
|
|
bool func_ov024_020d7154(void);
|
|
};
|
|
|
|
class ActorProfileUnkOBPC : public ActorProfile {
|
|
public:
|
|
/* 00 (base) */
|
|
|
|
ActorProfileUnkOBPC();
|
|
|
|
/* 0C */ virtual Actor *Create();
|
|
|
|
static ActorProfileUnkOBPC *GetProfile();
|
|
};
|