From a5ab025d623674f034eea7a141b8dc7521c42891 Mon Sep 17 00:00:00 2001 From: lepelog <25211966+lepelog@users.noreply.github.com> Date: Thu, 4 Dec 2025 18:48:06 +0100 Subject: [PATCH] small cleanup --- include/d/a/obj/d_a_obj_base.h | 2 -- include/d/t/d_t_insect.h | 17 ----------------- 2 files changed, 19 deletions(-) diff --git a/include/d/a/obj/d_a_obj_base.h b/include/d/a/obj/d_a_obj_base.h index b41b517a..6b798af5 100644 --- a/include/d/a/obj/d_a_obj_base.h +++ b/include/d/a/obj/d_a_obj_base.h @@ -222,8 +222,6 @@ public: ); // These may not belong here - // fn_8002F190 - // TODO: return type is probably a superclass for all insects static dAcBase_c* createInsectActor( dAcBase_c* parent, fProfile::PROFILE_NAME_e actorId, u32 params1, mVec3_c *pos, mAng3_c *rot, mVec3_c *scale, u32 params2, s32 roomId diff --git a/include/d/t/d_t_insect.h b/include/d/t/d_t_insect.h index c4fae81f..0e591e8e 100644 --- a/include/d/t/d_t_insect.h +++ b/include/d/t/d_t_insect.h @@ -80,14 +80,6 @@ private: bool shouldSpawn(); void spawnAll(); bool someGroundCheck(const mVec3_c &pos, s32 param_3); - void handleForceEscape(s32 i) { - if (mLinks[i].isLinked()) { - mLinks[i].get()->mActorProperties |= AC_PROP_0x4; - } - } - bool isButterfly() const { - return isSubtype(10); - } bool isTrialGateType() const { return getSubtype() != SUBTYPE_BUTTERFLY ? false : getSpawnSubtype() == SPAWN_TRIAL_GATE; } @@ -97,15 +89,6 @@ private: bool isGoddessWallType() const { return getSubtype() != SUBTYPE_BUTTERFLY ? false : getSpawnSubtype() == SPAWN_GODDESS_WALL; } - f32 getOriginalScaleX() const { - return 100 * mScale.x; - } - f32 getOriginalScaleY() const { - return 100 * mScale.y; - } - inline s32 getTries() { - return 5; - } int doDelete() override; int draw() override; int actorCreate() override;