![]() |
Oolite 1.91.0.7678-250623-7b2f98d
|
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 "OOConstToJSString.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 114 of file Universe.m.
Referenced by Universe::update:.
#define DEMO2_VANISHING_DISTANCE 650.0 |
Definition at line 113 of file Universe.m.
Referenced by Universe::update:.
#define DOCKED_AMBIENT_LEVEL 0.2f |
Definition at line 270 of file Universe.m.
#define DOCKED_ILLUM_LEVEL 0.7f |
Definition at line 271 of file Universe.m.
#define LANE_WIDTH 51200.0 |
Definition at line 120 of file Universe.m.
Referenced by Universe::locationByCode:withSun:andPlanet:.
#define MAX_NUMBER_OF_ENTITIES 200 |
Definition at line 117 of file Universe.m.
#define PROFILE_SHIP_SELECTION 0 |
Definition at line 3898 of file Universe.m.
#define SKY_AMBIENT_ADJUSTMENT 0.0625 |
Definition at line 280 of file Universe.m.
Referenced by Universe::setLighting.
#define STANDARD_STATION_ROLL 0.4 |
Definition at line 118 of file Universe.m.
#define SUN_AMBIENT_INFLUENCE 0.75 |
Definition at line 278 of file Universe.m.
Referenced by Universe::setLighting.
anonymous enum |
Enumerator | |
---|---|
DEMO_FLY_IN | |
DEMO_SHOW_THING | |
DEMO_FLY_OUT |
Definition at line 106 of file Universe.m.
|
static |
Referenced by Universe::shipsForSaleForSystem:withTL:atTime:.
|
static |
References OOINLINE.
Referenced by Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:.
NSComparisonResult equipmentSort | ( | id | a, |
id | b, | ||
void * | context ) |
Definition at line 11124 of file Universe.m.
NSComparisonResult equipmentSortOutfitting | ( | id | a, |
id | b, | ||
void * | context ) |
Definition at line 11150 of file Universe.m.
|
static |
NSString * OOLookUpDescriptionPRIV | ( | NSString * | key | ) |
Definition at line 11176 of file Universe.m.
References nil.
Referenced by OOLookUpPluralDescriptionPRIV().
NSString * OOLookUpPluralDescriptionPRIV | ( | NSString * | key, |
NSInteger | count ) |
Definition at line 11185 of file Universe.m.
References count, nil, OOLogWARN, and OOLookUpDescriptionPRIV().
NSComparisonResult populatorPrioritySort | ( | id | a, |
id | b, | ||
void * | context ) |
Definition at line 11112 of file Universe.m.
|
static |
Definition at line 4628 of file Universe.m.
Referenced by Universe::getActiveViewMatrix:forwardVector:upVector:.
|
static |
Definition at line 266 of file Universe.m.
Referenced by Universe::forceLightSwitch, Universe::lightForEntity:, and Universe::useGUILightSource:.
|
static |
Definition at line 268 of file Universe.m.
Referenced by Universe::setLighting.
|
static |
Definition at line 272 of file Universe.m.
Referenced by Universe::drawUniverse, and Universe::setLighting.
|
static |
|
static |
Definition at line 274 of file Universe.m.
Referenced by Universe::setLighting.
const GLuint framebufferQuadIndices[] |
Definition at line 136 of file Universe.m.
Referenced by Universe(OOPrivate)::initTargetFramebufferWithViewSize:.
const GLfloat framebufferQuadVertices[] |
Definition at line 129 of file Universe.m.
Referenced by Universe(OOPrivate)::initTargetFramebufferWithViewSize:.
|
static |
Definition at line 4621 of file Universe.m.
Referenced by Universe::getActiveViewMatrix:forwardVector:upVector:.
Definition at line 145 of file Universe.m.
Referenced by Universe::blockJSPlayerShipProps, OOIsPlayerStale(), OOIsStaleEntity(), and Universe::setBlockJSPlayerShipProps:.
Definition at line 142 of file Universe.m.
Referenced by Universe::dealloc, Universe::initWithGameView:, and OOGetUniverse().
|
static |
Definition at line 261 of file Universe.m.
Referenced by Universe::reinitAndShowDemo:.
|
static |
Definition at line 124 of file Universe.m.
|
static |
Definition at line 125 of file Universe.m.
Referenced by Universe::MaintainLinkedLists.
|
static |
Definition at line 122 of file Universe.m.
Referenced by Universe::locationByCode:withSun:andPlanet:.
|
static |
Definition at line 123 of file Universe.m.
Referenced by Universe::setUpWitchspaceBetweenSystem:andSystem:.
|
static |
Definition at line 265 of file Universe.m.
Referenced by Universe::lightForEntity:.
|
static |
Definition at line 4635 of file Universe.m.
Referenced by Universe::getActiveViewMatrix:forwardVector:upVector:.
|
static |
Definition at line 4642 of file Universe.m.
Referenced by Universe::getActiveViewMatrix:forwardVector:upVector:.
|
static |
Definition at line 267 of file Universe.m.
Referenced by Universe::lightForEntity:.