mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 17:19:56 +00:00
429775d485
Requires new openengine version.
41 lines
934 B
C++
41 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
|