Files
st/include/Actor/ActorUnkFLEN.hpp
T
Alessevan 0de38e6933 Decompile ActorUnkFLEN (98%) (#81)
* feat: match ActorProfileUnkFlen and ctor of ActorUnkFlen

* feat: add function

* feat: decompile function

* feat: decompile function @ 020f8118

* feat: use break in each case

* feat: almost fully decompiled actor

* style: move external variable to top file

* feat: update symbols

* feat: better match

* refactor: rename function and use ActorState over ActorUnkFLENState

* style: cleanup code

* review

---------

Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
2026-06-22 01:57:58 +02:00

45 lines
886 B
C++

#pragma once
#include "Actor/Actor.hpp"
#include "Actor/ActorProfile.hpp"
#include "global.h"
#include "types.h"
typedef u32 ActorUnkFLENState;
enum ActorUnkFLENState_ {
ActorUnkFLENState_0 = 0,
ActorUnkFLENState_1 = 1,
ActorUnkFLENState_2 = 2,
ActorUnkFLENState_Max,
};
class ActorUnkFLEN : public Actor {
public:
/* 00 (base) */
/* 94 */ unk32 mUnk_94;
/* 98 */
ActorUnkFLEN();
/* 4C */ virtual ~ActorUnkFLEN() override;
/* 18 */ virtual bool vfunc_18(int param1) override;
/* 20 */ virtual void vfunc_20() override;
void SetState(ActorUnkFLENState state);
bool func_ov031_020f81f8();
};
class ActorProfileUnkFLEN : public ActorProfile {
public:
/* 00 (base) */
/* 3C */
ActorProfileUnkFLEN();
~ActorProfileUnkFLEN();
/* 0C */ virtual Actor *Create();
static ActorProfileUnkFLEN *GetProfile();
};