Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOStellarBody.h File Reference
import "OOCocoa.h"
import "OOWeakReference.h"
import "OOTypes.h"
import "OOMaths.h"
+ Include dependency graph for OOStellarBody.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <OOStellarBody>
 

Macros

#define ATMOSPHERE_DEPTH   500.0
 
#define PLANET_MINIATURE_FACTOR   0.00185
 
#define MAX_SUBDIVIDE   6
 

Enumerations

enum  OOStellarBodyType {
  STELLAR_TYPE_SUN , STELLAR_TYPE_NORMAL_PLANET , STELLAR_TYPE_ATMOSPHERE , STELLAR_TYPE_MOON ,
  STELLAR_TYPE_MINIATURE
}
 

Macro Definition Documentation

◆ ATMOSPHERE_DEPTH

#define ATMOSPHERE_DEPTH   500.0

Definition at line 52 of file OOStellarBody.h.

◆ MAX_SUBDIVIDE

#define MAX_SUBDIVIDE   6

Definition at line 54 of file OOStellarBody.h.

◆ PLANET_MINIATURE_FACTOR

#define PLANET_MINIATURE_FACTOR   0.00185

Definition at line 53 of file OOStellarBody.h.

Enumeration Type Documentation

◆ OOStellarBodyType

Enumerator
STELLAR_TYPE_SUN 
STELLAR_TYPE_NORMAL_PLANET 
STELLAR_TYPE_ATMOSPHERE 
STELLAR_TYPE_MOON 
STELLAR_TYPE_MINIATURE 

Definition at line 40 of file OOStellarBody.h.

41{
43 STELLAR_TYPE_NORMAL_PLANET, // Terrestrial planet with atmosphere and oceans
44#if !NEW_PLANETS
46#endif
47 STELLAR_TYPE_MOON, // Rocky/airless planet
48 STELLAR_TYPE_MINIATURE // Display proxy for a "normal" planet
OOStellarBodyType
@ STELLAR_TYPE_MOON
@ STELLAR_TYPE_ATMOSPHERE
@ STELLAR_TYPE_MINIATURE
@ STELLAR_TYPE_SUN
@ STELLAR_TYPE_NORMAL_PLANET