2016-04-16 21:49:47 +00:00
|
|
|
#ifndef __URDE_CGAMECAMERA_HPP__
|
|
|
|
#define __URDE_CGAMECAMERA_HPP__
|
|
|
|
|
2016-04-17 02:50:45 +00:00
|
|
|
#include "World/CActor.hpp"
|
|
|
|
#include "zeus/CTransform.hpp"
|
2016-04-16 21:49:47 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-08-15 01:19:04 +00:00
|
|
|
class CFinalInput;
|
2016-04-16 21:49:47 +00:00
|
|
|
|
|
|
|
class CGameCamera : public CActor
|
|
|
|
{
|
|
|
|
public:
|
2016-04-24 04:03:30 +00:00
|
|
|
CGameCamera(TUniqueId, bool active, const std::string& name, const CEntityInfo& info,
|
2016-08-15 01:19:04 +00:00
|
|
|
const zeus::CTransform& xf, float fov, float nearz, float farz, float aspect,
|
|
|
|
TUniqueId, bool, u32);
|
2016-04-18 01:58:13 +00:00
|
|
|
const zeus::CTransform& GetTransform() const {return x34_transform;}
|
2016-08-15 01:19:04 +00:00
|
|
|
|
|
|
|
virtual void ProcessInput(const CFinalInput&, CStateManager& mgr)=0;
|
|
|
|
virtual void Reset(const zeus::CTransform&, CStateManager& mgr)=0;
|
2016-04-16 21:49:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGAMECAMERA_HPP__
|