2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-03-05 07:57:12 +00:00
|
|
|
|
2019-09-22 21:52:05 +00:00
|
|
|
#include <list>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/Graphics/CTexture.hpp"
|
|
|
|
|
|
|
|
#include <zeus/CAABox.hpp>
|
2017-03-05 07:57:12 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2017-03-05 07:57:12 +00:00
|
|
|
class CActor;
|
2019-09-22 21:52:05 +00:00
|
|
|
class CGameArea;
|
|
|
|
class CPlayer;
|
|
|
|
class CStateManager;
|
2017-03-05 07:57:12 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CMorphBallShadow {
|
2022-02-25 07:45:25 +00:00
|
|
|
std::list<CActor*> x0_actors;
|
2018-12-08 05:30:43 +00:00
|
|
|
std::list<TAreaId> x18_areas;
|
|
|
|
std::vector<u32> x30_worldModelBits;
|
|
|
|
// CTexture x40_;
|
|
|
|
// TToken<CTexture> xa8_ballFade;
|
|
|
|
// int xb0_idW;
|
|
|
|
// int xb4_idH;
|
|
|
|
zeus::CAABox xb8_shadowVolume;
|
|
|
|
bool xd0_hasIds = false;
|
|
|
|
void GatherAreas(const CStateManager& mgr);
|
|
|
|
bool AreasValid(const CStateManager& mgr) const;
|
|
|
|
|
2017-03-05 07:57:12 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
void RenderIdBuffer(const zeus::CAABox& aabb, const CStateManager& mgr, CPlayer& player);
|
|
|
|
void Render(const CStateManager& mgr, float alpha);
|
2017-03-05 07:57:12 +00:00
|
|
|
};
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|