21 #ifndef CAELUM__CAELUM_PREREQUISITES_H 22 #define CAELUM__CAELUM_PREREQUISITES_H 26 #include "Ogre/Ogre.h" 29 #include "OgreBuildSettings.h" 32 #include "CaelumConfig.h" 37 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 39 #define CAELUM_EXPORT __declspec (dllexport) 44 #define CAELUM_EXPORT __declspec (dllimport) 47 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE 48 #define CAELUM_EXPORT __attribute__ ((visibility("default"))) 54 #ifndef CAELUM_TYPE_DESCRIPTORS 55 #if (OGRE_VERSION >= 0x00010600) 56 #define CAELUM_TYPE_DESCRIPTORS 1 58 #define CAELUM_TYPE_DESCRIPTORS 0 64 #ifndef CAELUM_SCRIPT_SUPPORT 65 #if (OGRE_VERSION >= 0x00010600) 66 #define CAELUM_SCRIPT_SUPPORT 1 68 #define CAELUM_SCRIPT_SUPPORT 0 71 #if !(OGRE_VERSION > 0x00010600) 72 #error "Caelum script support requires Ogre 1.6." 74 #if !(CAELUM_TYPE_DESCRIPTORS) 75 #error "Caelum script support also requires type descriptors." 105 typedef double LongReal;
122 enum CaelumRenderQueueGroupId
124 CAELUM_RENDER_QUEUE_STARFIELD = Ogre::RENDER_QUEUE_SKIES_EARLY + 0,
125 CAELUM_RENDER_QUEUE_MOON_BACKGROUND = Ogre::RENDER_QUEUE_SKIES_EARLY + 1,
126 CAELUM_RENDER_QUEUE_SKYDOME = Ogre::RENDER_QUEUE_SKIES_EARLY + 2,
127 CAELUM_RENDER_QUEUE_MOON = Ogre::RENDER_QUEUE_SKIES_EARLY + 3,
128 CAELUM_RENDER_QUEUE_SUN = Ogre::RENDER_QUEUE_SKIES_EARLY + 4,
129 CAELUM_RENDER_QUEUE_CLOUDS = Ogre::RENDER_QUEUE_SKIES_EARLY + 5,
130 CAELUM_RENDER_QUEUE_GROUND_FOG = Ogre::RENDER_QUEUE_SKIES_EARLY + 6,
155 #if OGRE_VERSION <= 0x010602 165 inline std::ostream& operator << (std::ostream& out, Ogre::Degree deg) {
166 return out << deg.valueDegrees();
171 #endif // CAELUM__CAELUM_PREREQUISITES_H Image-based starfield class.
Compositor-based precipitation controller.
Compositor-based precipitation controller.
Base class for sky lights (sun and moon).
Per-viewport instance of.
Class representing the sun as billboard with texture on it.
Per-viewport instance of precipitation.
Exponential ground fog system implementation.
The system's time model.
A flat cloud layer; drawn as a simple plane.
This is the "root class" of caelum.
Class representing the sun as sphere with emissive color on it.
A cloud system is implemented by a number of cloud layers.
static const String RESOURCE_GROUP_NAME
Resource group name for caelum resources.
Render the depth buffer to a texture.
Class representing the moon.