mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 15:01:37 -04:00
5b15874c4d
* Comments * Lay out theoretical code * Externalise func_020196bc & func_020196fc * Pull merge * Pull merge * Decomp MapBase::func_ov00_02080edc * Fix MapManager TilePos params * Decomp progress * Fix MapManager param issue * Decomp progress * Update MapManager var pointer type * Fix function defs * Update symbols * Update * Match MapBase_Unk2::func_ov00_02080ad0 (thx 2 dt mow & yanis) * Update * Decomp progress 26% * Decomp progress 28% * Fix struct overlap * Fix unknown members * Uncomment and fix rest of methods (most still non-matching) * Decomp progress * Corrections
24 lines
547 B
C++
24 lines
547 B
C++
#pragma once
|
|
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
#include "Map/TriggerBase.hpp"
|
|
#include "Physics/Sphere.hpp"
|
|
|
|
class TriggerSphere : public TriggerBase {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 14 */ Sphere mSphere;
|
|
/* 24 */ s32 mHeight;
|
|
/* 28 */
|
|
|
|
/* 00 */ virtual ~TriggerSphere() override;
|
|
/* 14 */ virtual bool Overlaps(Vec3p *point) override;
|
|
/* 18 */ virtual bool GetBoundingBox(AABB *bbox) override;
|
|
/* 1c */
|
|
|
|
TriggerSphere(TriggerParams *params);
|
|
TriggerSphere(u8 id, u32 param2, u32 param3, u32 param4);
|
|
};
|