Oolite 1.91.0.7645-241119-222d325
|
import "Universe.h"
import "MyOpenGLView.h"
import "GameController.h"
import "ResourceManager.h"
import "AI.h"
import "GuiDisplayGen.h"
import "HeadUpDisplay.h"
import "OOSound.h"
import "OOColor.h"
import "OOCacheManager.h"
import "OOStringExpander.h"
import "OOStringParsing.h"
import "OOCollectionExtractors.h"
import "OOConstToString.h"
import "OOOpenGLExtensionManager.h"
import "OOOpenGLMatrixManager.h"
import "OOCPUInfo.h"
import "OOMaterial.h"
import "OOTexture.h"
import "OORoleSet.h"
import "OOShipGroup.h"
import "OODebugSupport.h"
import "Octree.h"
import "CollisionRegion.h"
import "OOGraphicsResetManager.h"
import "OOEntityFilterPredicate.h"
import "OOCharacter.h"
import "OOShipRegistry.h"
import "OOProbabilitySet.h"
import "OOEquipmentType.h"
import "OOShipLibraryDescriptions.h"
import "PlayerEntity.h"
import "PlayerEntityContracts.h"
import "PlayerEntityControls.h"
import "PlayerEntityScriptMethods.h"
import "StationEntity.h"
import "DockEntity.h"
import "SkyEntity.h"
import "DustEntity.h"
import "OOPlanetEntity.h"
import "OOVisualEffectEntity.h"
import "OOWaypointEntity.h"
import "OOSunEntity.h"
import "WormholeEntity.h"
import "OOBreakPatternEntity.h"
import "ShipEntityAI.h"
import "ProxyPlayerEntity.h"
import "OORingEffectEntity.h"
import "OOLightParticleEntity.h"
import "OOFlashEffectEntity.h"
import "OOExplosionCloudEntity.h"
import "OOSystemDescriptionManager.h"
import "OOMusicController.h"
import "OOAsyncWorkManager.h"
import "OODebugFlags.h"
import "OODebugStandards.h"
import "OOLoggingExtended.h"
import "OOJSEngineTimeManagement.h"
import "OOJoystickManager.h"
import "OOScriptTimer.h"
import "OOJSScript.h"
import "OOJSFrameCallbacks.h"
import "OOJSPopulatorDefinition.h"
import "OOOpenGL.h"
import "OOShaderProgram.h"
import "OOConvertSystemDescriptions.h"
Go to the source code of this file.
Classes | |
class | RouteElement |
category | Universe(OOPrivate) |
Macros | |
#define | DEMO2_VANISHING_DISTANCE 650.0 |
#define | DEMO2_FLY_IN_STAGE_TIME 0.4 |
#define | MAX_NUMBER_OF_ENTITIES 200 |
#define | STANDARD_STATION_ROLL 0.4 |
#define | LANE_WIDTH 51200.0 |
#define | DOCKED_AMBIENT_LEVEL 0.2f |
#define | DOCKED_ILLUM_LEVEL 0.7f |
#define | SUN_AMBIENT_INFLUENCE 0.75 |
#define | SKY_AMBIENT_ADJUSTMENT 0.0625 |
#define | PROFILE_SHIP_SELECTION 0 |
Enumerations | |
enum | { DEMO_FLY_IN = 101 , DEMO_SHOW_THING , DEMO_FLY_OUT } |
Functions | |
static BOOL | MaintainLinkedLists (Universe *uni) |
OOINLINE BOOL | EntityInRange (HPVector p1, Entity *e2, float range) |
static OOComparisonResult | compareName (id dict1, id dict2, void *context) |
static OOComparisonResult | comparePrice (id dict1, id dict2, void *context) |
NSComparisonResult | populatorPrioritySort (id a, id b, void *context) |
NSComparisonResult | equipmentSort (id a, id b, void *context) |
NSComparisonResult | equipmentSortOutfitting (id a, id b, void *context) |
NSString * | OOLookUpDescriptionPRIV (NSString *key) |
NSString * | OOLookUpPluralDescriptionPRIV (NSString *key, NSInteger count) |
Variables | |
static NSString *const | kOOLogUniversePopulateError = @"universe.populate.error" |
static NSString *const | kOOLogUniversePopulateWitchspace = @"universe.populate.witchspace" |
static NSString *const | kOOLogEntityVerificationError = @"entity.linkedList.verify.error" |
static NSString *const | kOOLogEntityVerificationRebuild = @"entity.linkedList.verify.rebuild" |
const GLfloat | framebufferQuadVertices [] |
const GLuint | framebufferQuadIndices [] |
Universe * | gSharedUniverse = nil |
Entity * | gOOJSPlayerIfStale = nil |
static int | JSResetFlags = 0 |
static BOOL | object_light_on = NO |
static BOOL | demo_light_on = NO |
static GLfloat | sun_off [4] = {0.0, 0.0, 0.0, 1.0} |
static GLfloat | demo_light_position [4] = { DEMO_LIGHT_POSITION, 1.0 } |
static GLfloat | docked_light_ambient [4] = { DOCKED_AMBIENT_LEVEL, DOCKED_AMBIENT_LEVEL, DOCKED_AMBIENT_LEVEL, 1.0f } |
static GLfloat | docked_light_diffuse [4] = { DOCKED_ILLUM_LEVEL, DOCKED_ILLUM_LEVEL, DOCKED_ILLUM_LEVEL, 1.0f } |
static GLfloat | docked_light_specular [4] = { DOCKED_ILLUM_LEVEL, DOCKED_ILLUM_LEVEL, DOCKED_ILLUM_LEVEL * 0.75f, (GLfloat) 1.0f } |
static const OOMatrix | fwd_matrix |
static const OOMatrix | aft_matrix |
static const OOMatrix | port_matrix |
static const OOMatrix | starboard_matrix |
#define DEMO2_FLY_IN_STAGE_TIME 0.4 |
Definition at line 113 of file Universe.m.
#define DEMO2_VANISHING_DISTANCE 650.0 |
Definition at line 112 of file Universe.m.
#define DOCKED_AMBIENT_LEVEL 0.2f |
Definition at line 269 of file Universe.m.
#define DOCKED_ILLUM_LEVEL 0.7f |
Definition at line 270 of file Universe.m.
Referenced by Universe::addShipAt:withRole:withinRadius:.
#define LANE_WIDTH 51200.0 |
Definition at line 119 of file Universe.m.
#define MAX_NUMBER_OF_ENTITIES 200 |
Definition at line 116 of file Universe.m.
#define PROFILE_SHIP_SELECTION 0 |
Definition at line 3886 of file Universe.m.
#define SKY_AMBIENT_ADJUSTMENT 0.0625 |
Definition at line 279 of file Universe.m.
#define STANDARD_STATION_ROLL 0.4 |
Definition at line 117 of file Universe.m.
#define SUN_AMBIENT_INFLUENCE 0.75 |
Definition at line 277 of file Universe.m.
anonymous enum |
Enumerator | |
---|---|
DEMO_FLY_IN | |
DEMO_SHOW_THING | |
DEMO_FLY_OUT |
Definition at line 105 of file Universe.m.
|
static |
|
static |
NSComparisonResult equipmentSort | ( | id | a, |
id | b, | ||
void * | context ) |
Definition at line 11093 of file Universe.m.
NSComparisonResult equipmentSortOutfitting | ( | id | a, |
id | b, | ||
void * | context ) |
Definition at line 11119 of file Universe.m.
|
static |
NSString * OOLookUpDescriptionPRIV | ( | NSString * | key | ) |
Definition at line 11145 of file Universe.m.
References nil.
Referenced by OOLookUpPluralDescriptionPRIV().
NSString * OOLookUpPluralDescriptionPRIV | ( | NSString * | key, |
NSInteger | count ) |
Definition at line 11154 of file Universe.m.
References count, nil, OOLogWARN, and OOLookUpDescriptionPRIV().
NSComparisonResult populatorPrioritySort | ( | id | a, |
id | b, | ||
void * | context ) |
Definition at line 11081 of file Universe.m.
|
static |
Definition at line 4616 of file Universe.m.
|
static |
Definition at line 265 of file Universe.m.
|
static |
Definition at line 267 of file Universe.m.
|
static |
Definition at line 271 of file Universe.m.
|
static |
Definition at line 272 of file Universe.m.
|
static |
Definition at line 273 of file Universe.m.
const GLuint framebufferQuadIndices[] |
Definition at line 135 of file Universe.m.
const GLfloat framebufferQuadVertices[] |
Definition at line 128 of file Universe.m.
|
static |
Definition at line 4609 of file Universe.m.
Definition at line 144 of file Universe.m.
Referenced by OOIsPlayerStale(), and OOIsStaleEntity().
Definition at line 141 of file Universe.m.
Referenced by OOGetUniverse().
|
static |
Definition at line 260 of file Universe.m.
|
static |
Definition at line 123 of file Universe.m.
Referenced by Universe::addEntity:.
|
static |
Definition at line 124 of file Universe.m.
Referenced by Universe::addEntity:.
|
static |
Definition at line 121 of file Universe.m.
|
static |
Definition at line 122 of file Universe.m.
|
static |
Definition at line 264 of file Universe.m.
|
static |
Definition at line 4623 of file Universe.m.
|
static |
Definition at line 4630 of file Universe.m.
|
static |
Definition at line 266 of file Universe.m.