2010-06-27 23:44:15 +00:00
|
|
|
#ifndef _GAME_RENDER_SKY_H
|
|
|
|
#define _GAME_RENDER_SKY_H
|
|
|
|
|
2011-01-04 00:34:55 +00:00
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
|
2010-06-27 23:44:15 +00:00
|
|
|
namespace Ogre
|
|
|
|
{
|
|
|
|
class RenderWindow;
|
|
|
|
class Camera;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace MWRender
|
|
|
|
{
|
|
|
|
///
|
|
|
|
/// Interface for the sky rendering system
|
|
|
|
///
|
|
|
|
class SkyManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static SkyManager* create (Ogre::RenderWindow* pRenderWindow,
|
2011-01-04 00:34:55 +00:00
|
|
|
Ogre::Camera* pCamera,
|
|
|
|
const boost::filesystem::path& resDir);
|
2010-06-27 23:44:15 +00:00
|
|
|
virtual ~SkyManager() {}
|
2010-07-18 17:48:02 +00:00
|
|
|
|
|
|
|
virtual void enable() = 0;
|
|
|
|
|
|
|
|
virtual void disable() = 0;
|
|
|
|
|
|
|
|
virtual void setHour (double hour) = 0;
|
|
|
|
|
2010-07-22 09:48:27 +00:00
|
|
|
virtual void setDate (int day, int month) = 0;
|
2010-07-18 17:48:02 +00:00
|
|
|
|
|
|
|
virtual int getMasserPhase() const = 0;
|
|
|
|
|
|
|
|
virtual int getSecundaPhase() const = 0;
|
|
|
|
|
|
|
|
virtual void setMoonColour (bool red) = 0;
|
2010-06-27 23:44:15 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // _GAME_RENDER_SKY_H
|