2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-01-04 04:08:30 +00:00
|
|
|
|
|
|
|
#include "Graphics/CTexture.hpp"
|
|
|
|
#include "zeus/CTransform.hpp"
|
|
|
|
#include "zeus/CAABox.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2017-01-04 04:08:30 +00:00
|
|
|
class CStateManager;
|
|
|
|
class CModelData;
|
2018-12-08 05:30:43 +00:00
|
|
|
class CProjectedShadow {
|
|
|
|
CTexture x0_texture;
|
2019-02-24 07:15:54 +00:00
|
|
|
zeus::CAABox x68_ = zeus::CAABox();
|
2018-12-08 05:30:43 +00:00
|
|
|
bool x80_;
|
|
|
|
bool x81_persistent;
|
|
|
|
float x84_ = 1.f;
|
2019-02-24 07:15:54 +00:00
|
|
|
zeus::CVector3f x88_ = zeus::skZero3f;
|
2018-12-08 05:30:43 +00:00
|
|
|
float x94_zDistanceAdjust = 0.f;
|
|
|
|
float x98_ = 1.f;
|
2017-01-04 04:08:30 +00:00
|
|
|
|
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CProjectedShadow(u32, u32, bool);
|
2017-01-04 04:08:30 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
zeus::CAABox CalculateRenderBounds();
|
|
|
|
void Render(const CStateManager& mgr);
|
|
|
|
void RenderShadowBuffer(const CStateManager&, const CModelData&, const zeus::CTransform&, s32, const zeus::CVector3f&,
|
|
|
|
float, float);
|
2017-01-04 04:08:30 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|