2016-08-14 21:11:44 +00:00
|
|
|
#ifndef __URDE_CWORLDSHADOW_HPP__
|
|
|
|
#define __URDE_CWORLDSHADOW_HPP__
|
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
2017-08-31 02:42:37 +00:00
|
|
|
#include "zeus/CAABox.hpp"
|
2016-08-14 21:11:44 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2017-08-31 02:42:37 +00:00
|
|
|
class CStateManager;
|
2016-08-14 21:11:44 +00:00
|
|
|
|
|
|
|
class CWorldShadow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CWorldShadow(u32, u32, bool);
|
2017-08-31 02:42:37 +00:00
|
|
|
void EnableModelProjectedShadow(const zeus::CTransform& pos, s32 lightIdx, float f1);
|
|
|
|
void DisableModelProjectedShadow();
|
|
|
|
void BuildLightShadowTexture(const CStateManager& mgr, TAreaId aid, s32 lightIdx,
|
|
|
|
const zeus::CAABox& aabb, bool b1, bool b2);
|
|
|
|
void ResetBlur();
|
2016-08-14 21:11:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CWORLDSHADOW_HPP__
|