![]() |
Oolite 1.91.0.7658-250404-b1488af
|
import "OOSkyDrawable.h"
import "ResourceManager.h"
import "OOTexture.h"
import "GameController.h"
import "OOColor.h"
import "OOProbabilisticTextureManager.h"
import "OOGraphicsResetManager.h"
import "Universe.h"
import "OOMacroOpenGL.h"
import "NSObjectOOExtensions.h"
import "OOCollectionExtractors.h"
Go to the source code of this file.
Classes | |
struct | OOSkyQuadDesc |
class | OOSkyQuadSet |
category | OOSkyDrawable(OOPrivate) |
Macros | |
#define | SKY_ELEMENT_SCALE_FACTOR (BILLBOARD_DEPTH / 500.0f) |
#define | NEBULA_SHUFFLE_FACTOR 0.005f |
#define | DEBUG_COLORS 0 |
#define | SKYCOLOR_TONEMAP_COMPONENT(skyColorComponent) |
Typedefs | |
typedef struct OOSkyQuadDesc | OOSkyQuadDesc |
Enumerations | |
enum | { kSkyQuadSetPositionEntriesPerVertex = 3 , kSkyQuadSetTexCoordEntriesPerVertex = 2 , kSkyQuadSetColorEntriesPerVertex = 4 } |
Functions | |
static OOColor * | SaturatedColorInRange (OOColor *color1, OOColor *color2, BOOL hueFix) |
Variables | |
static float | sMinTexCoord = 0.0f |
static float | sMaxTexCoord = 1.0f |
static BOOL | sInited = NO |
static OOProbabilisticTextureManager * | sStarTextures |
static OOProbabilisticTextureManager * | sNebulaTextures |
#define DEBUG_COLORS 0 |
Definition at line 43 of file OOSkyDrawable.m.
#define NEBULA_SHUFFLE_FACTOR 0.005f |
Definition at line 42 of file OOSkyDrawable.m.
Referenced by OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:.
#define SKY_ELEMENT_SCALE_FACTOR (BILLBOARD_DEPTH / 500.0f) |
Definition at line 41 of file OOSkyDrawable.m.
Referenced by OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:, and OOSkyDrawable(OOPrivate)::setUpStarsWithColor1:color2:.
#define SKYCOLOR_TONEMAP_COMPONENT | ( | skyColorComponent | ) |
Referenced by OOSkyQuadSet::initWithQuadsWithTexture:inArray:count:.
typedef struct OOSkyQuadDesc OOSkyQuadDesc |
anonymous enum |
Enumerator | |
---|---|
kSkyQuadSetPositionEntriesPerVertex | |
kSkyQuadSetTexCoordEntriesPerVertex | |
kSkyQuadSetColorEntriesPerVertex |
Definition at line 65 of file OOSkyDrawable.m.
Definition at line 718 of file OOSkyDrawable.m.
References OOColor::blendedColorWithFraction:ofColor:, OOColor::colorWithHue:saturation:brightness:alpha:, OOColor::getHue:saturation:brightness:alpha:, and nil.
Referenced by OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:.
|
static |
Definition at line 51 of file OOSkyDrawable.m.
|
static |
Definition at line 50 of file OOSkyDrawable.m.
Referenced by OOSkyDrawable::initWithColor1:Color2:Color3:Color4:starCount:nebulaCount:nebulaHueFix:clusterFactor:alpha:scale:, and OOSkyQuadSet::initWithQuadsWithTexture:inArray:count:.
|
static |
Definition at line 50 of file OOSkyDrawable.m.
Referenced by OOSkyDrawable::initWithColor1:Color2:Color3:Color4:starCount:nebulaCount:nebulaHueFix:clusterFactor:alpha:scale:, and OOSkyQuadSet::initWithQuadsWithTexture:inArray:count:.
|
static |
Definition at line 104 of file OOSkyDrawable.m.
Referenced by OOSkyDrawable(OOPrivate)::loadNebulaTextures.
|
static |
Definition at line 103 of file OOSkyDrawable.m.
Referenced by OOSkyDrawable(OOPrivate)::loadStarTextures.