Oolite 1.91.0.7645-241119-222d325
|
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.
#define SKY_ELEMENT_SCALE_FACTOR (BILLBOARD_DEPTH / 500.0f) |
Definition at line 41 of file OOSkyDrawable.m.
#define SKYCOLOR_TONEMAP_COMPONENT | ( | skyColorComponent | ) |
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.
|
static |
Definition at line 51 of file OOSkyDrawable.m.
|
static |
Definition at line 50 of file OOSkyDrawable.m.
|
static |
Definition at line 50 of file OOSkyDrawable.m.
|
static |
Definition at line 104 of file OOSkyDrawable.m.
|
static |
Definition at line 103 of file OOSkyDrawable.m.