2016-04-16 23:48:29 +00:00
|
|
|
#ifndef __URDE_CGAMEAREA_HPP__
|
|
|
|
#define __URDE_CGAMEAREA_HPP__
|
|
|
|
|
2016-04-17 02:50:45 +00:00
|
|
|
#include "zeus/CVector2f.hpp"
|
|
|
|
#include "zeus/CColor.hpp"
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
|
2016-04-16 23:48:29 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-04-17 02:50:45 +00:00
|
|
|
enum class ERglFogMode
|
|
|
|
{
|
|
|
|
Four = 4
|
|
|
|
};
|
|
|
|
|
2016-04-16 23:48:29 +00:00
|
|
|
class CGameArea
|
|
|
|
{
|
2016-04-17 02:50:45 +00:00
|
|
|
public:
|
|
|
|
class CAreaFog
|
|
|
|
{
|
|
|
|
zeus::CVector2f x4_ = {0.f, 1024.f};
|
|
|
|
zeus::CVector2f xc_ = {0.f, 1024.f};
|
|
|
|
zeus::CVector2f x14_;
|
|
|
|
zeus::CVector3f x1c_ = {0.5f};
|
|
|
|
zeus::CVector3f x28_ = {0.5f};
|
|
|
|
float x34_ = 0.f;
|
|
|
|
public:
|
|
|
|
void SetFogExplicit(ERglFogMode, const zeus::CColor& color, const zeus::CVector2f& vec);
|
|
|
|
void DisableFog();
|
|
|
|
void Update(float dt);
|
|
|
|
};
|
2016-04-16 23:48:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGAMEAREA_HPP__
|