Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquegemignani committed Jan 13, 2025
1 parent 9b35ba8 commit 85aa1ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/G2ME01/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ __ct__10CAxisAngleFRC9CVector3f = .text:0x8001D3E4; // type:function size:0x1C
fn_8001D400 = .text:0x8001D400; // type:function size:0x30 align:4
fn_8001D430 = .text:0x8001D430; // type:function size:0xFC align:4
fn_8001D52C = .text:0x8001D52C; // type:function size:0x12C
SqrtF__5CMathFf = .text:0x8001D658; // type:function size:0x20
fn_8001D658 = .text:0x8001D658; // type:function size:0x20
fn_8001D678 = .text:0x8001D678; // type:function size:0xE4
fn_8001D75C = .text:0x8001D75C; // type:function size:0x3C align:4
fn_8001D798 = .text:0x8001D798; // type:function size:0x18 align:4
Expand Down
1 change: 1 addition & 0 deletions include/Kyoto/Math/CFrustumPlanes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class CFrustumPlanes {
float z;
float d;
};
CFrustumPlanes(); // todo
CFrustumPlanes(const CTransform4f&, float, float, float, bool, float);

bool BoxInFrustumPlanes(const CAABox& box) const;
Expand Down
3 changes: 2 additions & 1 deletion src/MetroidPrime/CStateManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ CStateManager::CStateManager(const rstl::ncrc_ptr< CScriptMailbox >&,
const rstl::ncrc_ptr< CMapWorldInfo >&,
const rstl::ncrc_ptr< CPlayerState >&,
const rstl::ncrc_ptr< CWorldTransManager >&)
: m_nextFreeIndex(0), m_bossId(kInvalidUniqueId), m_uid_setBySpecialFunc(kInvalidUniqueId) {}
: m_nextFreeIndex(0), m_bossId(kInvalidUniqueId), m_uid_setBySpecialFunc(kInvalidUniqueId),
m_planes() {}

CStateManager::~CStateManager() {}

Expand Down
2 changes: 1 addition & 1 deletion src/MetroidPrime/ScriptObjects/CScriptPickup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void CScriptPickup::Render(const CStateManager& mgr) const { CActor::Render(mgr)

void CScriptPickup::AddToRenderer(const CFrustumPlanes& a, const CStateManager& mgr) const {
if (IsVisible()) {
CActor::AddToRenderer(a, mgr);
CActor::AddToRenderer(mgr);
}
}

Expand Down

0 comments on commit 85aa1ee

Please sign in to comment.