2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-03-05 07:57:12 +00:00
|
|
|
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "Graphics/CTexture.hpp"
|
|
|
|
#include "zeus/CAABox.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CStateManager;
|
|
|
|
class CPlayer;
|
|
|
|
class CGameArea;
|
|
|
|
class CActor;
|
|
|
|
|
|
|
|
class CMorphBallShadow
|
|
|
|
{
|
|
|
|
std::list<const CActor*> x0_actors;
|
|
|
|
std::list<TAreaId> x18_areas;
|
|
|
|
std::vector<u32> x30_worldModelBits;
|
|
|
|
//CTexture x40_;
|
|
|
|
//TToken<CTexture> xa8_ballFade;
|
|
|
|
//int xb0_idW;
|
|
|
|
//int xb4_idH;
|
2017-03-06 06:33:51 +00:00
|
|
|
zeus::CAABox xb8_shadowVolume;
|
2017-03-05 07:57:12 +00:00
|
|
|
bool xd0_hasIds = false;
|
2017-03-06 06:33:51 +00:00
|
|
|
void GatherAreas(const CStateManager& mgr);
|
|
|
|
bool AreasValid(const CStateManager& mgr) const;
|
2017-03-05 07:57:12 +00:00
|
|
|
public:
|
2017-03-06 06:33:51 +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
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|