mirror of
https://github.com/zeldaret/st
synced 2026-08-06 18:02:49 -04:00
f90c7cd531
* feat: decompiling skdo * feat: update * fix: match back .data of doors * feat: fully decompiled SWCH for eur missing bss for JP * feat: increase matching code * feat: decompile most part of SCCN * feat: update * feat: progress sccn jap data * feat: progress decompiling * fix: build issues * feat: increase matching * refactor: rename BLST to Blast * feat: increase grss * refactor: rename unkgrss to grass * refactor: rename id * refactor: change to fx32 * feat: complete RMTG actor * refactor: use ARRAY_LENGTH macro
65 lines
1.4 KiB
C++
65 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "Actor/Actor.hpp"
|
|
#include "Actor/ActorProfile.hpp"
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
class ActorBlast;
|
|
|
|
class ActorBlast_E8 : public UnkStruct_ov031_Items_00_Base {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 04 */ ActorBlast *mUnk_04;
|
|
/* 08 */
|
|
|
|
ActorBlast_E8(ActorBlast *param1) :
|
|
mUnk_04(param1) {}
|
|
|
|
// data_ov031_02112d4c
|
|
/* 0C */ virtual bool vfunc_0C(const UnkStruct_ov031_020e54d4 *param1, unk32 param2) override;
|
|
};
|
|
|
|
class ActorBlast : public Actor {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 94 */ fx32 mUnk_94;
|
|
/* 98 */ volatile u16 mUnk_98;
|
|
/* 9A */ u16 mUnk_9A;
|
|
/* 9C */ UnkStruct_ov031_Items_01 mUnk_9C;
|
|
/* C8 */ Cylinder mUnk_C8;
|
|
/* D8 */ Cylinder mUnk_D8;
|
|
/* E8 */ ActorBlast_E8 mUnk_E8;
|
|
/* F0 */ fx32 mUnk_F0;
|
|
/* F4 */ fx32 mUnk_F4;
|
|
/* F8 */
|
|
|
|
ActorBlast();
|
|
|
|
/* 18 */ virtual bool vfunc_18(unk32 param1) override;
|
|
/* 20 */ virtual void vfunc_20() override;
|
|
/* 24 */ virtual void vfunc_24() override;
|
|
|
|
bool IsInternalTimerOut() {
|
|
if (this->mUnk_98 < this->mUnk_9A) {
|
|
++this->mUnk_98;
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
fx32 func_ov031_020e3b94();
|
|
void func_ov031_020e3b9c(unk16 param1, unk16 param2);
|
|
};
|
|
|
|
class ActorProfileBlast : public ActorProfile {
|
|
public:
|
|
/* 00 (base) */
|
|
|
|
ActorProfileBlast();
|
|
|
|
/* 0C */ virtual Actor *Create();
|
|
|
|
static ActorProfileBlast *GetProfile();
|
|
};
|