Oolite 1.91.0.7646-241128-10e222e
|
#include <PlanetEntity.h>
Class Methods | |
(static unsigned) | + baseVertexIndexForEdge [implementation] |
Private Attributes | |
OOStellarBodyType | planet_type |
uint8_t | lastSubdivideLevel |
BOOL | useTexturedModel |
BOOL | isTextureImage |
NSString * | _textureFileName |
OOTexture * | _texture |
int | planet_seed |
double | polar_color_factor |
double | rotational_velocity |
GLfloat | amb_land [4] |
GLfloat | amb_polar_land [4] |
GLfloat | amb_sea [4] |
GLfloat | amb_polar_sea [4] |
PlanetEntity * | atmosphere |
PlanetEntity * | root_planet |
int | shuttles_on_ground |
double | last_launch_time |
double | shuttle_launch_interval |
double | sqrt_zero_distance |
GLuint | displayListNames [MAX_SUBDIVIDE] |
GLuint | vertexCount |
VertexData | vertexdata |
Vector | rotationAxis |
Definition at line 55 of file PlanetEntity.h.
|
implementation |
Reimplemented from Entity.
Definition at line 1317 of file PlanetEntity.m.
References base_vertex_array, next_free_vertex, sEdgeToVertex, and texture_uv_array.
- (GLfloat *) amb_land |
- (GLfloat *) amb_polar_land |
- (GLfloat *) amb_polar_sea |
- (GLfloat *) amb_sea |
- (PlanetEntity *) atmosphere |
|
implementation |
Definition at line 1317 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 102 of file PlanetEntity.m.
- (void) drawUnconditionally |
Definition at line 102 of file PlanetEntity.m.
- (BOOL) hasAtmosphere |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 102 of file PlanetEntity.m.
- (id) initFromDictionary: | (NSDictionary*) | dict | |
withAtmosphere: | (BOOL) | atmo | |
andSeed: | (Random_Seed) | p_seed |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
- (BOOL) isExplicitlyTextured |
Definition at line 1317 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 1317 of file PlanetEntity.m.
- (BOOL) isTextured |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 1317 of file PlanetEntity.m.
- (void) launchShuttle |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
- (void) miniaturize |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
- (int) planet_seed |
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
- (OOStellarBodyType) planetType |
Reimplemented from <OOStellarBody>.
Definition at line 102 of file PlanetEntity.m.
- (double) polar_color_factor |
- (double) radius |
Reimplemented from <OOStellarBody>.
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Definition at line 1317 of file PlanetEntity.m.
- (double) rotationalVelocity |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 1317 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
- (void) setPlanetType: | (OOStellarBodyType) | pt |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
- (void) setRadius: | (GLfloat) | rad |
Definition at line 102 of file PlanetEntity.m.
- (void) setRotationalVelocity: | (double) | v |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 102 of file PlanetEntity.m.
- (BOOL) setUpPlanetFromTexture: | (NSString *) | fileName |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Provided by category PlanetEntity(OOPrivate).
Definition at line 102 of file PlanetEntity.m.
- (OOTexture *) texture |
Definition at line 1317 of file PlanetEntity.m.
- (NSString *) textureFileName |
Definition at line 102 of file PlanetEntity.m.
|
implementation |
Reimplemented from Entity.
Definition at line 102 of file PlanetEntity.m.
- (void) welcomeShuttle: | (ShipEntity *) | shuttle |
Definition at line 102 of file PlanetEntity.m.
|
private |
Definition at line 65 of file PlanetEntity.h.
|
private |
Definition at line 64 of file PlanetEntity.h.
|
private |
Definition at line 72 of file PlanetEntity.h.
|
private |
Definition at line 73 of file PlanetEntity.h.
|
private |
Definition at line 75 of file PlanetEntity.h.
|
private |
Definition at line 74 of file PlanetEntity.h.
|
private |
Definition at line 77 of file PlanetEntity.h.
|
private |
Definition at line 86 of file PlanetEntity.h.
|
private |
Definition at line 63 of file PlanetEntity.h.
|
private |
Definition at line 81 of file PlanetEntity.h.
|
private |
Definition at line 61 of file PlanetEntity.h.
|
private |
Definition at line 67 of file PlanetEntity.h.
|
private |
Definition at line 59 of file PlanetEntity.h.
|
private |
Definition at line 68 of file PlanetEntity.h.
|
private |
Definition at line 78 of file PlanetEntity.h.
|
private |
Definition at line 70 of file PlanetEntity.h.
|
private |
Definition at line 90 of file PlanetEntity.h.
|
private |
Definition at line 82 of file PlanetEntity.h.
|
private |
Definition at line 80 of file PlanetEntity.h.
|
private |
Definition at line 84 of file PlanetEntity.h.
|
private |
Definition at line 62 of file PlanetEntity.h.
|
private |
Definition at line 87 of file PlanetEntity.h.
|
private |
Definition at line 88 of file PlanetEntity.h.