mirror of https://github.com/AxioDL/metaforce.git
Update zeus
This commit is contained in:
parent
a3d0da44e2
commit
3b5d5e1473
|
@ -100,6 +100,7 @@ public:
|
||||||
bool AreTexturesLoaded() const { return x40_24_texturesLoaded; }
|
bool AreTexturesLoaded() const { return x40_24_texturesLoaded; }
|
||||||
void SetVisible(bool v) { x40_25_modelVisible = v; }
|
void SetVisible(bool v) { x40_25_modelVisible = v; }
|
||||||
bool IsVisible() const { return x40_25_modelVisible; }
|
bool IsVisible() const { return x40_25_modelVisible; }
|
||||||
|
[[nodiscard]] GetIndex() const { return x44_idx; }
|
||||||
[[nodiscard]] CCubeSurface* GetFirstUnsortedSurface() { return x38_firstUnsortedSurf; }
|
[[nodiscard]] CCubeSurface* GetFirstUnsortedSurface() { return x38_firstUnsortedSurf; }
|
||||||
[[nodiscard]] const CCubeSurface* GetFirstUnsortedSurface() const { return x38_firstUnsortedSurf; }
|
[[nodiscard]] const CCubeSurface* GetFirstUnsortedSurface() const { return x38_firstUnsortedSurf; }
|
||||||
[[nodiscard]] CCubeSurface* GetFirstSortedSurface() { return x3c_firstSortedSurf; }
|
[[nodiscard]] CCubeSurface* GetFirstSortedSurface() { return x3c_firstSortedSurf; }
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "Runtime/Graphics/CLight.hpp"
|
#include "Runtime/Graphics/CLight.hpp"
|
||||||
#include "Runtime/Graphics/CMetroidModelInstance.hpp"
|
#include "Runtime/Graphics/CMetroidModelInstance.hpp"
|
||||||
#include "Runtime/Graphics/CModel.hpp"
|
#include "Runtime/Graphics/CModel.hpp"
|
||||||
|
#include "Runtime/World/CGameArea.hpp"
|
||||||
#include "Runtime/Particle/CParticleGen.hpp"
|
#include "Runtime/Particle/CParticleGen.hpp"
|
||||||
|
|
||||||
namespace metaforce {
|
namespace metaforce {
|
||||||
|
@ -499,9 +500,8 @@ void CCubeRenderer::HandleUnsortedModelWireframe(CAreaListItem* areaItem, CCubeM
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCubeRenderer::ActivateLightsForModel(const CAreaListItem* areaItem, CCubeModel& model) {
|
constexpr bool TestBit(const u32* words, size_t bit) { return (words[bit / 32] & (1U << (bit & 0x1f))) != 0; }
|
||||||
// TODO
|
void CCubeRenderer::ActivateLightsForModel(const CAreaListItem* areaItem, CCubeModel& model) {}
|
||||||
}
|
|
||||||
|
|
||||||
void CCubeRenderer::AddParticleGen(CParticleGen& gen) {
|
void CCubeRenderer::AddParticleGen(CParticleGen& gen) {
|
||||||
auto bounds = gen.GetBounds();
|
auto bounds = gen.GetBounds();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 82a3a0def9cd31efe9b28ee9332cb2fcf1d27173
|
Subproject commit fc33e18b4abfacfa0cd7016013889cd9c76488dc
|
Loading…
Reference in New Issue