mirror of
https://github.com/zeldaret/ss
synced 2026-08-09 02:46:51 -04:00
progress
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
/* 0x00B */ u8 mWallReflectTimer;
|
||||
/* 0x00C */ s16 mTimer; // only counts up, used for kinda random calculations
|
||||
/* 0x00E */ s16 mFlyingStatesTimer; // used for vanishing after flying up and something else
|
||||
/* 0x010 */ f32 field_0x010;
|
||||
/* 0x010 */ f32 mCrawlingSpeed;
|
||||
/* 0x014 */ f32 mSpeed;
|
||||
/* 0x018 */ mVec3_c mPos;
|
||||
/* 0x024 */ mVec3_c field_0x024;
|
||||
@@ -75,11 +75,11 @@ private:
|
||||
/* 0x0378 */ u8 mSwarmBeeCount;
|
||||
/* 0x0379 */ u8 mRumbleTimer; // rumble timer
|
||||
/* 0x037A */ u8 mSceneflag;
|
||||
/* 0x037B */ u8 field_0x037B;
|
||||
/* 0x037B */ u8 field_0x037B; // padding
|
||||
/* 0x037C */ s16 mFrameCounter; // used to only search for new targets every 16 frames
|
||||
/* 0x037E */ u8 field_0x037E[0x380-0x37E];
|
||||
/* 0x037E */ u8 field_0x037E[2]; // padding
|
||||
/* 0x0380 */ f32 mAttackActorDistFromHome;
|
||||
/* 0x0384 */ u8 field_0x0384[0x388-0x384];
|
||||
/* 0x0384 */ u8 field_0x0384[4]; // padding?
|
||||
/* 0x0388 */ nw4r::g3d::ResFile mRes;
|
||||
/* 0x038C */ dShpProc1_c mBeeModels[4];
|
||||
/* 0x045C */ dAcNpcBeeSingleBee mBees[100];
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef D_A_O_SPORE_H
|
||||
#define D_A_O_SPORE_H
|
||||
|
||||
#include "common.h"
|
||||
#include "d/a/obj/d_a_obj_base.h"
|
||||
#include "f/f_list_mg.h"
|
||||
class dAcOSpore_c : public dAcObjBase_c {
|
||||
@@ -9,7 +10,12 @@ public:
|
||||
virtual ~dAcOSpore_c() {}
|
||||
|
||||
static fLiNdBa_c* getListHead();
|
||||
|
||||
s32 getSporeType() const {
|
||||
return mParams & 0xF;
|
||||
}
|
||||
bool isGlitteringSpore() const {
|
||||
return getSporeType() == 1;
|
||||
}
|
||||
|
||||
private:
|
||||
static fLiMgBa_c sSpores;
|
||||
|
||||
+1
-2
@@ -272,8 +272,7 @@ public:
|
||||
return cM::atan2s(-y, absXZ());
|
||||
}
|
||||
|
||||
// TODO: make sure this isn't bad
|
||||
s32 atan2sY_XZ() const {
|
||||
s16 atan2sY_XZ() const {
|
||||
return cM::atan2s(y, absXZ());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user