2016-04-17 22:38:05 +00:00
|
|
|
#ifndef __URDE_CGAMECOLLISION_HPP__
|
|
|
|
#define __URDE_CGAMECOLLISION_HPP__
|
2017-01-04 04:08:30 +00:00
|
|
|
#include "zeus/CVector3f.hpp"
|
2016-04-17 22:38:05 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CInternalCollisionStructure
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2017-01-04 04:08:30 +00:00
|
|
|
class CActor;
|
|
|
|
class CCollisionInfo;
|
|
|
|
class CCollisionInfoList;
|
|
|
|
class CMaterialList;
|
|
|
|
class CStateManager;
|
2016-04-17 22:38:05 +00:00
|
|
|
class CGameCollision
|
|
|
|
{
|
|
|
|
public:
|
2017-01-04 04:08:30 +00:00
|
|
|
static bool NullMovingCollider(const CInternalCollisionStructure&, const zeus::CVector3f&, double&, CCollisionInfo&)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
static bool NullBooleanCollider(const CInternalCollisionStructure&) { return false; }
|
|
|
|
static bool NullCollisionCollider(const CInternalCollisionStructure&, CCollisionInfoList&) { return false; }
|
2016-04-17 22:38:05 +00:00
|
|
|
static void InitCollision();
|
|
|
|
|
2017-01-04 04:08:30 +00:00
|
|
|
static bool CanBlock(const CMaterialList&, const zeus::CVector3f&);
|
|
|
|
static bool IsFloor(const CMaterialList&, const zeus::CVector3f&);
|
|
|
|
void SendMaterialMessage(CStateManager&, const CMaterialList&, CActor&);
|
|
|
|
};
|
2016-04-17 22:38:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGAMECOLLISION_HPP__
|