mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
429775d485
Requires new openengine version.
42 lines
934 B
C++
42 lines
934 B
C++
#ifndef _GAME_RENDER_SKY_H
|
|
#define _GAME_RENDER_SKY_H
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
namespace Ogre
|
|
{
|
|
class RenderWindow;
|
|
class Camera;
|
|
}
|
|
|
|
namespace MWRender
|
|
{
|
|
///
|
|
/// Interface for the sky rendering system
|
|
///
|
|
class SkyManager
|
|
{
|
|
public:
|
|
static SkyManager* create (Ogre::RenderWindow* pRenderWindow,
|
|
Ogre::Camera* pCamera,
|
|
const boost::filesystem::path& resDir);
|
|
virtual ~SkyManager() {}
|
|
|
|
virtual void enable() = 0;
|
|
|
|
virtual void disable() = 0;
|
|
|
|
virtual void setHour (double hour) = 0;
|
|
|
|
virtual void setDate (int day, int month) = 0;
|
|
|
|
virtual int getMasserPhase() const = 0;
|
|
|
|
virtual int getSecundaPhase() const = 0;
|
|
|
|
virtual void setMoonColour (bool red) = 0;
|
|
};
|
|
}
|
|
|
|
#endif // _GAME_RENDER_SKY_H
|