Oolite 1.91.0.7644-241112-7f5034b
|
#include <Universe.h>
Class Methods | |
(static BOOL) | + IsCandidateMainStationPredicate [implementation] |
(static BOOL) | + IsFriendlyStationPredicate [implementation] |
(static BOOL) | + MaintainLinkedLists [implementation] |
(static void) | + VerifyDesc [implementation] |
(static void) | + VerifyDescString [implementation] |
(static void) | + VerifyDescArray [implementation] |
(static OOComparisonResult) | + compareName [implementation] |
(static OOComparisonResult) | + comparePrice [implementation] |
(static void) | + PreloadOneSound [implementation] |
Public Attributes | |
Entity * | sortedEntities [UNIVERSE_MAX_ENTITIES+1] |
unsigned | n_entities |
int | cursor_row |
Entity * | x_list_start |
Entity * | y_list_start |
Entity * | z_list_start |
GLfloat | stars_ambient [4] |
Additional Inherited Members | |
Protected Attributes inherited from OOWeakRefObject | |
OOWeakReference * | weakSelf |
Definition at line 186 of file Universe.h.
|
implementation |
Definition at line 4630 of file Universe.m.
- (void) addCommsMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count |
Definition at line 6447 of file Universe.m.
References Entity::collision_radius, and Entity::position.
- (void) addCommsMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count | |
andShowComms: | (BOOL) | showComms | |
logOnly: | (BOOL) | logOnly |
Definition at line 6447 of file Universe.m.
- (void) addConditionScripts: | (NSEnumerator *) | scripts |
Definition at line 10697 of file Universe.m.
References ResourceManager::ooSoundNamed:inFolder:.
- (void) addDelayedMessage: | (NSDictionary *) | textdict |
Definition at line 6447 of file Universe.m.
- (void) addDelayedMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count | |
afterDelay: | (OOTimeDelta) | delay |
Definition at line 6447 of file Universe.m.
- (BOOL) addEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
References Entity::addToLinkedLists, entities, kOOLogEntityVerificationError, kOOLogEntityVerificationRebuild, n_entities, nil, OOExtraLog, x_list_start, Entity::x_next, Entity::x_previous, y_list_start, Entity::y_next, Entity::y_previous, z_list_start, Entity::z_next, and Entity::z_previous.
- (void) addLaserHitEffectsAt: | (HPVector) | pos | |
against: | (ShipEntity *) | target | |
damage: | (float) | damage | |
color: | (OOColor *) | color |
Definition at line 5364 of file Universe.m.
- (void) addMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count |
Definition at line 6447 of file Universe.m.
- (void) addMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count | |
forceDisplay: | (BOOL) | forceDisplay |
Definition at line 6447 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 10697 of file Universe.m.
- (ShipEntity *) addShipAt: | (HPVector) | pos | |
withRole: | (NSString *) | role | |
withinRadius: | (GLfloat) | radius |
Definition at line 273 of file Universe.m.
References DOCKED_ILLUM_LEVEL.
- (BOOL) addShips: | (int) | howMany | |
withRole: | (NSString *) | desc | |
atPosition: | (HPVector) | pos | |
withCoordinateSystem: | (NSString *) | system |
Definition at line 273 of file Universe.m.
- (BOOL) addShips: | (int) | howMany | |
withRole: | (NSString *) | desc | |
intoBoundingBox: | (BoundingBox) | bbox |
Definition at line 273 of file Universe.m.
- (BOOL) addShips: | (int) | howMany | |
withRole: | (NSString *) | desc | |
nearPosition: | (HPVector) | pos | |
withCoordinateSystem: | (NSString *) | system |
Definition at line 273 of file Universe.m.
- (BOOL) addShips: | (int) | howMany | |
withRole: | (NSString *) | desc | |
nearPosition: | (HPVector) | pos | |
withCoordinateSystem: | (NSString *) | system | |
withinRadius: | (GLfloat) | radius |
Definition at line 273 of file Universe.m.
- (NSArray *) addShipsAt: | (HPVector) | pos | |
withRole: | (NSString *) | role | |
quantity: | (unsigned) | count | |
withinRadius: | (GLfloat) | radius | |
asGroup: | (BOOL) | isGroup |
Definition at line 273 of file Universe.m.
- (NSArray *) addShipsToRoute: | (NSString *) | route | |
withRole: | (NSString *) | role | |
quantity: | (unsigned) | count | |
routeFraction: | (double) | routeFraction | |
asGroup: | (BOOL) | isGroup |
Definition at line 273 of file Universe.m.
|
implementation |
Definition at line 273 of file Universe.m.
- (BOOL) addShipWithRole: | (NSString *) | desc | |
nearPosition: | (HPVector) | pos | |
withCoordinateSystem: | (NSString *) | system |
Definition at line 273 of file Universe.m.
- (void) addShipWithRole: | (NSString *) | desc | |
nearRouteOneAt: | (double) | route_fraction |
Definition at line 273 of file Universe.m.
- (OOVisualEffectEntity *) addVisualEffectAt: | (HPVector) | pos | |
withKey: | (NSString *) | key |
Definition at line 273 of file Universe.m.
- (void) addWitchspaceJumpEffectForShip: | (ShipEntity *) | ship |
Definition at line 273 of file Universe.m.
- (ShipEntity *) addWreckageFrom: | (ShipEntity *) | ship | |
withRole: | (NSString *) | wreckRole | |
at: | (HPVector) | rpos | |
scale: | (GLfloat) | scale | |
lifetime: | (GLfloat) | lifetime |
Definition at line 5364 of file Universe.m.
- (GLfloat) airResistanceFactor |
- (void) allShipsDoScriptEvent: | (jsid) | event | |
andReactToAIMessage: | (NSString *) | message |
Definition at line 9471 of file Universe.m.
- (float) ambientLightLevel |
- (BOOL) autoMessageLogBg |
Definition at line 9471 of file Universe.m.
- (BOOL) autoSave |
- (BOOL) autoSaveNow |
- (BOOL) blockJSPlayerShipProps |
Definition at line 9471 of file Universe.m.
- (BOOL) bloom |
Definition at line 273 of file Universe.m.
- (BOOL) breakPatternHide |
- (BOOL) breakPatternOver |
Definition at line 3616 of file Universe.m.
- (NSString *) brochureDescriptionWithDictionary: | (NSDictionary*) | dict | |
standardEquipment: | (NSArray*) | extras | |
optionalEquipment: | (NSArray*) | options |
Definition at line 9471 of file Universe.m.
|
implementation |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) cargoPodFromTemplate: | (ShipEntity *) | cargoObj |
Definition at line 3616 of file Universe.m.
- (void) carryPlayerOn: | (StationEntity*) | carrier | |
inWormhole: | (WormholeEntity*) | wormhole |
Definition at line 273 of file Universe.m.
- (NSDictionary *) characters |
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 10697 of file Universe.m.
- (void) clearBeacon: | (Entity <OOBeaconEntity> *) | beaconShip |
Definition at line 3616 of file Universe.m.
- (void) clearGUIs |
Definition at line 9471 of file Universe.m.
- (void) clearPreviousMessage |
Definition at line 6447 of file Universe.m.
- (void) clearSystemPopulator |
Definition at line 273 of file Universe.m.
- (NSString *) collisionDescription |
Definition at line 6447 of file Universe.m.
- (int) colorblindMode |
Definition at line 273 of file Universe.m.
- (GuiDisplayGen *) commLogGUI |
Definition at line 9471 of file Universe.m.
- (OOCommodities *) commodities |
- (NSDictionary *) commodityDataForType: | (OOCommodityType) | type |
Definition at line 3616 of file Universe.m.
- (OOCommodityMarket *) commodityMarket |
|
implementation |
Definition at line 9456 of file Universe.m.
References comparePrice().
|
implementation |
Definition at line 9471 of file Universe.m.
- (HPVector) coordinatesForPosition: | (HPVector) | pos | |
withCoordinateSystem: | (NSString *) | system | |
returningScalar: | (GLfloat*) | my_scalar |
Definition at line 273 of file Universe.m.
- (NSPoint) coordinatesForSystem: | (OOSystemID) | s |
Definition at line 7996 of file Universe.m.
References OOLogERR.
- (HPVector) coordinatesFromCoordinateSystemString: | (NSString *) | system_x_y_z |
Definition at line 273 of file Universe.m.
- (unsigned) countEntitiesMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (unsigned) countShipsMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (unsigned) countShipsWithPrimaryRole: | (NSString *) | role |
Definition at line 5364 of file Universe.m.
- (unsigned) countShipsWithPrimaryRole: | (NSString *) | role | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (unsigned) countShipsWithRole: | (NSString *) | role |
Definition at line 5364 of file Universe.m.
- (unsigned) countShipsWithRole: | (NSString *) | role | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (unsigned) countShipsWithScanClass: | (OOScanClass) | scanClass | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (int) currentPostFX |
Definition at line 273 of file Universe.m.
- (NSDictionary *) currentSystemData |
Definition at line 7996 of file Universe.m.
- (OOSystemID) currentSystemID |
Definition at line 6447 of file Universe.m.
- (NSDictionary *) currentWaypoints |
Definition at line 3616 of file Universe.m.
|
implementation |
Reimplemented from OOWeakRefObject.
Definition at line 273 of file Universe.m.
- (void) debugDumpEntities |
Definition at line 273 of file Universe.m.
- (NSString *) defaultAIForRole: | (NSString *) | role |
Definition at line 3616 of file Universe.m.
- (void) defineFrustum |
Definition at line 4630 of file Universe.m.
- (void) defineWaypoint: | (NSDictionary *) | definition | |
forKey: | (NSString *) | key |
Definition at line 3616 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 273 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 273 of file Universe.m.
- (NSString *) describeCommodity: | (OOCommodityType) | co_type | |
amount: | (OOCargoQuantity) | co_amount |
Definition at line 3616 of file Universe.m.
- (BOOL) descriptionBooleanForKey: | (NSString *) | key |
Definition at line 7996 of file Universe.m.
- (NSString *) descriptionForArrayKey: | (NSString *) | key | |
index: | (unsigned) | index |
Definition at line 7996 of file Universe.m.
- (NSString *) descriptionForKey: | (NSString *) | key |
Definition at line 7996 of file Universe.m.
- (NSDictionary *) descriptions |
Definition at line 6447 of file Universe.m.
- (OOGraphicsDetail) detailLevel |
- (BOOL) deterministicPopulation |
Definition at line 273 of file Universe.m.
- (void) displayCountdownMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count |
Definition at line 6447 of file Universe.m.
- (BOOL) displayFPS |
- (BOOL) displayGUI |
- (void) displayMessage: | (NSString *) | text | |
forCount: | (OOTimeDelta) | count |
Definition at line 6447 of file Universe.m.
- (NSString *) displayNameForCommodity: | (OOCommodityType) | co_type |
Definition at line 3616 of file Universe.m.
- (BOOL) dockingClearanceProtocolActive |
Definition at line 273 of file Universe.m.
- (BOOL) doingStartUp |
Definition at line 273 of file Universe.m.
- (BOOL) doProcedurallyTexturedPlanets |
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
- (void) drawMessage |
Definition at line 4630 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 273 of file Universe.m.
- (void) drawUniverse |
Definition at line 4630 of file Universe.m.
- (void) drawWatermarkString: | (NSString *) | watermarkString |
Definition at line 4630 of file Universe.m.
- (void) dumpCollisions |
Definition at line 6447 of file Universe.m.
- (void) ensureEntityReallyRemoved: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (void) enterGUIViewModeWithMouseInteraction: | (BOOL) | mouseInteraction |
Definition at line 6447 of file Universe.m.
- (NSArray *) entitiesWithinRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
- (NSUInteger) entityCount |
Definition at line 273 of file Universe.m.
- (id) entityForUniversalID: | (OOUniversalID) | u_id |
Definition at line 4630 of file Universe.m.
Definition at line 6447 of file Universe.m.
- (NSArray *) entityList |
Definition at line 273 of file Universe.m.
- (NSArray *) equipmentData |
- (NSArray *) equipmentDataOutfitting |
- (NSDictionary *) explosionSetting: | (NSString *) | explosion |
Definition at line 7996 of file Universe.m.
- (NSString *) expressPosition: | (HPVector) | pos | |
inCoordinateSystem: | (NSString *) | system |
Definition at line 273 of file Universe.m.
- (void) fillCargopodWithRandomCargo: | (ShipEntity *) | cargopod |
Definition at line 3616 of file Universe.m.
- (void) filterSortedLists |
Definition at line 6447 of file Universe.m.
- (void) findCollisionsAndShadows |
Definition at line 6447 of file Universe.m.
- (OOSystemID) findConnectedSystemAtCoords: | (NSPoint) | coords | |
withGalaxy: | (OOGalaxyID) | gal |
Definition at line 7996 of file Universe.m.
- (NSMutableArray *) findEntitiesMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 6447 of file Universe.m.
- (OOSystemID) findNeighbouringSystemToCoords: | (NSPoint) | coords | |
withGalaxy: | (OOGalaxyID) | gal |
Definition at line 7996 of file Universe.m.
- (id) findOneEntityMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter |
Definition at line 6447 of file Universe.m.
- (NSMutableArray *) findShipsMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 6447 of file Universe.m.
- (OOSystemID) findSystemAtCoords: | (NSPoint) | coords | |
withGalaxy: | (OOGalaxyID) | gal |
Definition at line 7996 of file Universe.m.
- (NSPoint) findSystemCoordinatesWithPrefix: | (NSString *) | p_fix |
Definition at line 7996 of file Universe.m.
- (NSPoint) findSystemCoordinatesWithPrefix: | (NSString *) | p_fix | |
exactMatch: | (BOOL) | exactMatch |
Definition at line 7996 of file Universe.m.
- (OOSystemID) findSystemFromName: | (NSString *) | sysName |
Definition at line 7996 of file Universe.m.
- (OOSystemID) findSystemNumberAtCoords: | (NSPoint) | coords | |
withGalaxy: | (OOGalaxyID) | gal | |
includingHidden: | (BOOL) | hidden |
Definition at line 7996 of file Universe.m.
- (NSMutableArray *) findVisualEffectsMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
inRange: | (double) | range | |
ofEntity: | (Entity *) | entity |
Definition at line 6447 of file Universe.m.
- (Entity< OOBeaconEntity > *) firstBeacon |
Definition at line 3616 of file Universe.m.
- (Entity *) firstEntityTargetedByPlayer |
Definition at line 5364 of file Universe.m.
- (Entity *) firstEntityTargetedByPlayerPrecisely |
Definition at line 5364 of file Universe.m.
- (ShipEntity *) firstShipHitByLaserFromShip: | (ShipEntity *) | srcEntity | |
inDirection: | (OOWeaponFacing) | direction | |
offset: | (Vector) | offset | |
gettingRangeFound: | (GLfloat*) | range_ptr |
Definition at line 5364 of file Universe.m.
- (void) forceLightSwitch |
Definition at line 273 of file Universe.m.
- (void) forceWitchspaceEntries |
Definition at line 273 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
- (int) framesDoneThisUpdate |
- (GameController *) gameController |
Definition at line 3616 of file Universe.m.
- (NSDictionary *) gameSettings |
Definition at line 3616 of file Universe.m.
- (MyOpenGLView *) gameView |
- (NSDictionary *) generateSystemData: | (OOSystemID) | s |
Definition at line 7996 of file Universe.m.
- (NSDictionary *) generateSystemData: | (OOSystemID) | s | |
useCache: | (BOOL) | useCache |
Definition at line 7996 of file Universe.m.
|
implementation |
Definition at line 7996 of file Universe.m.
|
implementation |
Definition at line 4630 of file Universe.m.
- (OOJSScript *) getConditionScript: | (NSString *) | scriptname |
Definition at line 10697 of file Universe.m.
- (NSArray *) getContainersOfCommodity: | (OOCommodityType) | ||
commodity_name: | (OOCargoQuantity) | how_many |
Definition at line 3616 of file Universe.m.
- (NSArray *) getContainersOfGoods: | (OOCargoQuantity) | how_many | |
scarce: | (BOOL) | scarce | |
legal: | (BOOL) | legal |
Definition at line 3616 of file Universe.m.
- (OOCreditsQuantity) getEquipmentPriceForKey: | (NSString *) | eq_key |
Definition at line 3616 of file Universe.m.
- (NSDictionary *) getPopulatorSettings |
Definition at line 273 of file Universe.m.
- (OOCargoQuantity) getRandomAmountOfCommodity: | (OOCommodityType) | co_type |
Definition at line 3616 of file Universe.m.
- (NSString *) getRandomCommodity |
Definition at line 3616 of file Universe.m.
- (HPVector) getSafeVectorFromEntity: | (Entity *) | e1 | |
toDistance: | (double) | dist | |
fromPoint: | (HPVector) | p2 |
Definition at line 5364 of file Universe.m.
- (NSArray *) getStationMarkets |
Definition at line 7996 of file Universe.m.
- (HPVector) getSunSkimEndPositionForShip: | (ShipEntity*) | ship |
Definition at line 9471 of file Universe.m.
- (HPVector) getSunSkimStartPositionForShip: | (ShipEntity*) | ship |
Definition at line 9471 of file Universe.m.
- (OOGovernmentID) getSystemGovernment: | (OOSystemID) | sys |
Definition at line 7996 of file Universe.m.
- (NSString *) getSystemInhabitants: | (OOSystemID) | sys |
Definition at line 7996 of file Universe.m.
- (NSString *) getSystemInhabitants: | (OOSystemID) | sys | |
plural: | (BOOL) | plural |
Definition at line 7996 of file Universe.m.
- (NSString *) getSystemName: | (OOSystemID) | sys |
Definition at line 7996 of file Universe.m.
- (NSString *) getSystemName: | (OOSystemID) | sys | |
forGalaxy: | (OOGalaxyID) | gnum |
Definition at line 7996 of file Universe.m.
- (OOTimeAbsolute) getTime |
Definition at line 6447 of file Universe.m.
- (OOTimeDelta) getTimeDelta |
Definition at line 6447 of file Universe.m.
- (HPVector) getWitchspaceExitPosition |
Definition at line 9471 of file Universe.m.
- (Quaternion) getWitchspaceExitRotation |
Definition at line 9471 of file Universe.m.
- (NSDictionary *) globalSettings |
- (GuiDisplayGen *) gui |
- (void) handleGameOver |
Definition at line 273 of file Universe.m.
- (void) handleOoliteException: | (NSException *) | ooliteException |
Definition at line 9471 of file Universe.m.
- (Entity *) hazardOnRouteFromEntity: | (Entity *) | e1 | |
toDistance: | (double) | dist | |
fromPoint: | (HPVector) | p2 |
Definition at line 5364 of file Universe.m.
- (BOOL) inInterstellarSpace |
Definition at line 7996 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 273 of file Universe.m.
- (id) initWithGameView: | (MyOpenGLView *) | gameView |
Definition at line 273 of file Universe.m.
|
implementation |
Definition at line 3610 of file Universe.m.
References Entity::isExplicitlyNotMainStation, and Entity::isStation.
|
implementation |
Definition at line 3616 of file Universe.m.
- (BOOL) isSpeaking |
Definition at line 9471 of file Universe.m.
- (BOOL) isVectorClearFromEntity: | (Entity *) | e1 | |
toDistance: | (double) | dist | |
fromPoint: | (HPVector) | p2 |
Definition at line 5364 of file Universe.m.
- (NSString *) keyForInterstellarOverridesForSystems: | (OOSystemID) | ||
s1: | (OOSystemID) | s2 | |
inGalaxy: | (OOGalaxyID) | g |
Definition at line 7996 of file Universe.m.
- (NSString *) keyForPlanetOverridesForSystem: | (OOSystemID) | s | |
inGalaxy: | (OOGalaxyID) | g |
Definition at line 7996 of file Universe.m.
- (Entity< OOBeaconEntity > *) lastBeacon |
Definition at line 3616 of file Universe.m.
- (HPVector) legacyPositionFrom: | (HPVector) | pos | |
asCoordinateSystem: | (NSString *) | system |
Definition at line 273 of file Universe.m.
|
implementation |
Definition at line 3616 of file Universe.m.
- (NSArray *) listBeaconsWithCode: | (NSString*) | code |
Definition at line 9471 of file Universe.m.
- (void) loadConditionScripts |
Definition at line 10697 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 7996 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 7996 of file Universe.m.
- (void) loadStationMarkets: | (NSArray *) | marketData |
Definition at line 7996 of file Universe.m.
- (HPVector) locationByCode: | (NSString *) | code | |
withSun: | (OOSunEntity *) | sun | |
andPlanet: | (OOPlanetEntity *) | planet |
Definition at line 273 of file Universe.m.
|
implementation |
Definition at line 5364 of file Universe.m.
- (ShipEntity *) makeDemoShipWithRole: | (NSString *) | role | |
spinning: | (BOOL) | spinning |
Definition at line 5364 of file Universe.m.
- (void) makeSunSkimmer: | (ShipEntity *) | ship | |
andSetAI: | (BOOL) | setAI |
Definition at line 7996 of file Universe.m.
- (Random_Seed) marketSeed |
Definition at line 7996 of file Universe.m.
- (OOCargoQuantity) maxCargoForShip: | (NSString *) | desc |
Definition at line 3616 of file Universe.m.
- (GuiDisplayGen *) messageGUI |
Definition at line 9471 of file Universe.m.
- (NSDictionary *) missiontext |
- (NSMutableArray *) nearbyDestinationsWithinRange: | (double) | range |
Finds systems within range. If range is greater than 7.0LY then only look within 7.0LY.
Definition at line 7996 of file Universe.m.
- (id) nearestEntityMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
relativeToEntity: | (Entity *) | entity |
Definition at line 6447 of file Universe.m.
- (id) nearestShipMatchingPredicate: | (EntityFilterPredicate) | predicate | |
parameter: | (void *) | parameter | |
relativeToEntity: | (Entity *) | entity |
Definition at line 6447 of file Universe.m.
- (NSArray *) neighboursToSystem: | (OOSystemID) | system_number |
Definition at line 7996 of file Universe.m.
- (DockEntity *) newDockWithName: | (NSString *) | shipKey | |
andScaleFactor: | (float) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) newShipWithName: | (NSString *) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) newShipWithName: | (NSString *) | shipKey | |
usePlayerProxy: | (BOOL) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) newShipWithName: | (NSString *) | shipKey | |
usePlayerProxy: | (BOOL) | usePlayerProxy | |
isSubentity: | (BOOL) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) newShipWithName: | (NSString *) | shipKey | |
usePlayerProxy: | (BOOL) | usePlayerProxy | |
isSubentity: | (BOOL) | isSubentity | |
andScaleFactor: | (float) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) newShipWithRole: | (NSString *) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (ShipEntity *) newSubentityWithName: | (NSString *) | shipKey | |
andScaleFactor: | (float) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
- (OOVisualEffectEntity *) newVisualEffectWithName: | (NSString *) | OO_RETURNS_RETAINED |
Definition at line 3616 of file Universe.m.
Definition at line 273 of file Universe.m.
- (void) pauseGame |
Definition at line 273 of file Universe.m.
- (BOOL) pauseMessageVisible |
Definition at line 9471 of file Universe.m.
- (BOOL) permanentCommLog |
Definition at line 9471 of file Universe.m.
- (BOOL) permanentMessageLog |
Definition at line 9471 of file Universe.m.
- (OOPlanetEntity *) planet |
Definition at line 3616 of file Universe.m.
- (NSArray *) planets |
Definition at line 3616 of file Universe.m.
- (void) populateNormalSpace |
Definition at line 273 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 10697 of file Universe.m.
- (void) populateSystemFromDictionariesWithSun: | (OOSunEntity *) | sun | |
andPlanet: | (OOPlanetEntity *) | planet |
Definition at line 273 of file Universe.m.
|
implementation |
Definition at line 10697 of file Universe.m.
- (void) preloadPlanetTexturesForSystem: | (OOSystemID) | system |
Definition at line 7996 of file Universe.m.
- (void) preloadSounds |
Definition at line 10697 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 4630 of file Universe.m.
Definition at line 273 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
- (NSString *) randomShipKeyForRoleRespectingConditions: | (NSString *) | role |
Definition at line 3616 of file Universe.m.
- (BOOL) reducedDetail |
Definition at line 9471 of file Universe.m.
- (ShipEntity *) reifyCargoPod: | (ShipEntity *) | cargoObj |
Definition at line 3616 of file Universe.m.
- (BOOL) reinitAndShowDemo: | (BOOL) | showDemo |
Definition at line 9471 of file Universe.m.
- (void) removeAllEntitiesExceptPlayer |
Definition at line 5364 of file Universe.m.
- (void) removeDemoShips |
Definition at line 5364 of file Universe.m.
- (BOOL) removeEntity: | (Entity *) | entity |
Definition at line 5364 of file Universe.m.
|
implementation |
Definition at line 6447 of file Universe.m.
- (void) resetBeacons |
Definition at line 3616 of file Universe.m.
- (void) resetCommsLogColor |
Definition at line 9471 of file Universe.m.
- (void) resetFramesDoneThisUpdate |
Definition at line 4630 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 273 of file Universe.m.
- (BOOL) role: | (NSString *) | role | |
isInCategory: | (NSString *) | category |
Definition at line 273 of file Universe.m.
- (BOOL) roleIsPirateVictim: | (NSString *) | role |
Definition at line 273 of file Universe.m.
- (NSDictionary *) routeFromSystem: | (OOSystemID) | start | |
toSystem: | (OOSystemID) | goal | |
optimizedBy: | (OORouteType) | optimizeBy |
Definition at line 7996 of file Universe.m.
- (GLfloat) safeWitchspaceExitDistance |
Definition at line 273 of file Universe.m.
- (NSArray *) scenarios |
Definition at line 7996 of file Universe.m.
- (NSDictionary *) screenTextureDescriptorForKey: | (NSString *) | key |
Definition at line 6447 of file Universe.m.
- (void) selectIntro2Next |
Definition at line 273 of file Universe.m.
- (void) selectIntro2NextCategory |
Definition at line 273 of file Universe.m.
- (void) selectIntro2Previous |
Definition at line 273 of file Universe.m.
- (void) selectIntro2PreviousCategory |
Definition at line 273 of file Universe.m.
- (NSUInteger) sessionID |
Definition at line 273 of file Universe.m.
- (void) setAirResistanceFactor: | (GLfloat) | newFactor |
Definition at line 9471 of file Universe.m.
- (void) setAmbientLightLevel: | (float) | newValue |
Definition at line 273 of file Universe.m.
- (void) setAutoCommLog: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setAutoMessageLogBg: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setAutoSave: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setAutoSaveNow: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setBlockJSPlayerShipProps: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setBloom: | (BOOL) | newBloom |
Definition at line 273 of file Universe.m.
- (void) setCurrentPostFX: | (int) | newCurrentPostFX |
Definition at line 273 of file Universe.m.
- (void) setDetailLevel: | (OOGraphicsDetail) | value |
Definition at line 9471 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
- (void) setDisplayFPS: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setDisplayText: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setDockingClearanceProtocolActive: | (BOOL) | newValue |
Definition at line 273 of file Universe.m.
- (void) setDoProcedurallyTexturedPlanets: | (BOOL) | value |
Definition at line 273 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 3616 of file Universe.m.
- (void) setGalaxyTo: | (OOGalaxyID) | g |
Definition at line 6447 of file Universe.m.
- (void) setGalaxyTo: | (OOGalaxyID) | g | |
andReinit: | (BOOL) | forced |
Definition at line 6447 of file Universe.m.
- (void) setGameView: | (MyOpenGLView *) | view |
Definition at line 3616 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 3616 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 273 of file Universe.m.
- (void) setLighting |
Definition at line 273 of file Universe.m.
- (void) setMainLightPosition: | (Vector) | sunPos |
Definition at line 273 of file Universe.m.
- (void) setMessageGuiBackgroundColor: | (OOColor *) | some_color |
Definition at line 6447 of file Universe.m.
- (void) setNextBeacon: | (Entity <OOBeaconEntity> *) | beaconShip |
Definition at line 3616 of file Universe.m.
- (void) setPauseMessageVisible: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setPermanentCommLog: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setPermanentMessageLog: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setPopulatorSetting: | (NSString *) | key | |
to: | (NSDictionary *) | setting |
Definition at line 273 of file Universe.m.
- (void) setScreenTextureDescriptorForKey: | (NSString *) | key | |
descriptor: | (NSDictionary *) | desc |
Definition at line 6447 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
- (void) setSkyColorRed: | (GLfloat) | red | |
green: | (GLfloat) | green | |
blue: | (GLfloat) | blue | |
alpha: | (GLfloat) | alpha |
Definition at line 3616 of file Universe.m.
- (void) setSystemDataForGalaxy: | (OOGalaxyID) | gnum | |
planet: | (OOSystemID) | pnum | |
key: | (NSString *) | key | |
value: | (id) | object | |
fromManifest: | (NSString *) | manifest | |
forLayer: | (OOSystemLayer) | layer |
Definition at line 7996 of file Universe.m.
- (void) setSystemDataKey: | (NSString*) | key | |
value: | (NSObject*) | object | |
fromManifest: | (NSString *) | manifest |
Definition at line 7996 of file Universe.m.
- (void) setSystemTo: | (OOSystemID) | s |
Definition at line 6447 of file Universe.m.
- (void) setTimeAccelerationFactor: | (double) | newTimeAccelerationFactor |
Definition at line 6447 of file Universe.m.
- (void) setUpBreakPattern: | (HPVector) | pos | |
orientation: | (Quaternion) | q | |
forDocking: | (BOOL) | forDocking |
Definition at line 273 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
- (void) setupIntroFirstGo: | (BOOL) | justCobra |
Definition at line 273 of file Universe.m.
- (OOPlanetEntity *) setUpPlanet |
Definition at line 273 of file Universe.m.
- (void) setUpSettings |
Definition at line 9471 of file Universe.m.
- (void) setUpSpace |
Definition at line 273 of file Universe.m.
- (void) setUpUniverseFromMisjump |
Definition at line 273 of file Universe.m.
- (void) setUpUniverseFromStation |
Definition at line 273 of file Universe.m.
- (void) setUpUniverseFromWitchspace |
Definition at line 273 of file Universe.m.
- (void) setUpWitchspace |
Definition at line 273 of file Universe.m.
- (void) setUpWitchspaceBetweenSystem: | (OOSystemID) | s1 | |
andSystem: | (OOSystemID) | s2 |
Definition at line 273 of file Universe.m.
- (BOOL) setUseAddOns: | (NSString *) | newUse | |
fromSaveGame: | (BOOL) | saveGame |
Definition at line 273 of file Universe.m.
- (BOOL) setUseAddOns: | (NSString *) | newUse | |
fromSaveGame: | (BOOL) | saveGame | |
forceReinit: | (BOOL) | force |
Definition at line 273 of file Universe.m.
- (void) setViewDirection: | (OOViewID) | vd |
Definition at line 6447 of file Universe.m.
- (void) setWireframeGraphics: | (BOOL) | value |
Definition at line 9471 of file Universe.m.
- (void) setWitchspaceBreakPattern: | (BOOL) | newValue |
Definition at line 273 of file Universe.m.
- (Class) shipClassForShipDictionary: | (NSDictionary *) | dict |
Definition at line 3616 of file Universe.m.
- (NSArray *) shipsForSaleForSystem: | (OOSystemID) | s | |
withTL: | (OOTechLevelID) | specialTL | |
atTime: | (OOTimeAbsolute) | current_time |
Definition at line 7996 of file Universe.m.
- (NSString *) shortTimeDescription: | (OOTimeDelta) | interval |
Definition at line 7996 of file Universe.m.
- (void) showCommsLog: | (OOTimeDelta) | how_long |
Definition at line 6447 of file Universe.m.
- (void) showGUIMessage: | (NSString *) | text | |
withScroll: | (BOOL) | scroll | |
andColor: | (OOColor *) | selectedColor | |
overDuration: | (OOTimeDelta) | how_long |
Definition at line 6447 of file Universe.m.
- (GLfloat *) skyClearColor |
- (NSString *) soundNameForCustomSoundKey: | (NSString *) | key |
Definition at line 6447 of file Universe.m.
- (BOOL) spawnShip: | (NSString *) | shipdesc |
Definition at line 273 of file Universe.m.
- (ShipEntity *) spawnShipWithRole: | (NSString *) | desc | |
near: | (Entity *) | entity |
Definition at line 273 of file Universe.m.
|
implementation |
Definition at line 6447 of file Universe.m.
- (void) startSpeakingString: | (NSString *) | text |
Definition at line 9471 of file Universe.m.
- (StationEntity *) station |
Definition at line 3616 of file Universe.m.
- (StationEntity *) stationFriendlyTo: | (ShipEntity *) | ship |
Definition at line 3616 of file Universe.m.
- (NSArray *) stations |
Definition at line 3616 of file Universe.m.
- (StationEntity *) stationWithRole: | (NSString *) | role | |
andPosition: | (HPVector) | position |
Definition at line 3616 of file Universe.m.
- (void) stopSpeaking |
Definition at line 9471 of file Universe.m.
- (OOSunEntity *) sun |
- (id) systemDataForGalaxy: | (OOGalaxyID) | gnum | |
planet: | (OOSystemID) | pnum | |
key: | (NSString *) | key |
Definition at line 7996 of file Universe.m.
- (NSArray *) systemDataKeysForGalaxy: | (OOGalaxyID) | gnum | |
planet: | (OOSystemID) | pnum |
Definition at line 7996 of file Universe.m.
- (OOSystemDescriptionManager *) systemManager |
- (NSString *) systemNameIndex: | (OOSystemID) | index |
Definition at line 7996 of file Universe.m.
- (BOOL *) systemsFound |
Definition at line 7996 of file Universe.m.
- (double) timeAccelerationFactor |
- (NSString *) timeDescription: | (OOTimeDelta) | interval |
Definition at line 7996 of file Universe.m.
- (OOCreditsQuantity) tradeInValueForCommanderDictionary: | (NSDictionary*) | cmdr_dict |
Definition at line 9471 of file Universe.m.
- (void) unMagicMainStation |
Definition at line 3616 of file Universe.m.
- (void) update: | (OOTimeDelta) | delta_t |
Definition at line 6447 of file Universe.m.
- (NSString *) useAddOns |
- (void) useGUILightSource: | (BOOL) | GUILight |
Definition at line 3616 of file Universe.m.
- (BOOL) useShaders |
Definition at line 9471 of file Universe.m.
|
implementation |
Definition at line 7996 of file Universe.m.
|
implementation |
Definition at line 7986 of file Universe.m.
References nil.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 7996 of file Universe.m.
|
implementation |
Definition at line 7976 of file Universe.m.
References OOLog.
|
implementation |
Provided by category Universe(OOPrivate).
Definition at line 9471 of file Universe.m.
- (OOViewID) viewDirection |
- (BOOL) viewFrustumIntersectsSphereAt: | (Vector) | position | |
withRadius: | (GLfloat) | radius |
Definition at line 4630 of file Universe.m.
- (OOMatrix) viewMatrix |
- (BOOL) wireframeGraphics |
- (BOOL) witchspaceBreakPattern |
Definition at line 273 of file Universe.m.
- (void) witchspaceShipWithPrimaryRole: | (NSString *) | role |
Definition at line 273 of file Universe.m.
- (NSArray *) wormholes |
Definition at line 3616 of file Universe.m.
|
private |
Definition at line 349 of file Universe.h.
|
private |
Definition at line 351 of file Universe.h.
|
private |
Definition at line 373 of file Universe.h.
|
private |
Definition at line 375 of file Universe.h.
|
private |
Definition at line 374 of file Universe.h.
|
private |
Definition at line 266 of file Universe.h.
|
private |
Definition at line 354 of file Universe.h.
|
private |
Definition at line 355 of file Universe.h.
|
private |
Definition at line 220 of file Universe.h.
|
private |
Definition at line 221 of file Universe.h.
|
private |
Definition at line 348 of file Universe.h.
|
private |
Definition at line 350 of file Universe.h.
|
private |
Definition at line 352 of file Universe.h.
|
private |
Definition at line 269 of file Universe.h.
|
private |
Definition at line 201 of file Universe.h.
|
private |
Definition at line 353 of file Universe.h.
|
private |
Definition at line 317 of file Universe.h.
|
private |
Definition at line 211 of file Universe.h.
|
private |
Definition at line 297 of file Universe.h.
|
private |
Definition at line 298 of file Universe.h.
|
private |
Definition at line 300 of file Universe.h.
|
private |
Definition at line 277 of file Universe.h.
|
private |
Definition at line 238 of file Universe.h.
|
private |
Definition at line 237 of file Universe.h.
|
private |
Definition at line 367 of file Universe.h.
|
private |
Definition at line 290 of file Universe.h.
|
private |
Definition at line 295 of file Universe.h.
|
private |
Definition at line 294 of file Universe.h.
|
private |
Definition at line 296 of file Universe.h.
|
private |
Definition at line 281 of file Universe.h.
|
private |
Definition at line 319 of file Universe.h.
|
private |
Definition at line 268 of file Universe.h.
|
private |
Definition at line 307 of file Universe.h.
|
private |
Definition at line 232 of file Universe.h.
|
private |
Definition at line 262 of file Universe.h.
|
private |
Definition at line 263 of file Universe.h.
|
private |
Definition at line 346 of file Universe.h.
|
private |
Definition at line 228 of file Universe.h.
|
private |
Definition at line 226 of file Universe.h.
- (int) cursor_row |
Definition at line 193 of file Universe.h.
|
private |
Definition at line 267 of file Universe.h.
|
private |
Definition at line 370 of file Universe.h.
|
private |
Definition at line 292 of file Universe.h.
|
private |
Definition at line 254 of file Universe.h.
|
private |
Definition at line 255 of file Universe.h.
|
private |
Definition at line 256 of file Universe.h.
|
private |
Definition at line 253 of file Universe.h.
|
private |
Definition at line 250 of file Universe.h.
|
private |
Definition at line 251 of file Universe.h.
|
private |
Definition at line 252 of file Universe.h.
|
private |
Definition at line 240 of file Universe.h.
|
private |
Definition at line 305 of file Universe.h.
|
private |
Definition at line 245 of file Universe.h.
|
private |
Definition at line 234 of file Universe.h.
|
private |
Definition at line 324 of file Universe.h.
|
private |
Definition at line 342 of file Universe.h.
|
private |
Definition at line 260 of file Universe.h.
|
private |
Definition at line 218 of file Universe.h.
Referenced by addEntity:.
|
private |
Definition at line 326 of file Universe.h.
|
private |
Definition at line 216 of file Universe.h.
|
private |
Definition at line 273 of file Universe.h.
|
private |
Definition at line 274 of file Universe.h.
|
private |
Definition at line 279 of file Universe.h.
|
private |
Definition at line 368 of file Universe.h.
|
private |
Definition at line 327 of file Universe.h.
|
private |
Definition at line 344 of file Universe.h.
|
private |
Definition at line 283 of file Universe.h.
|
private |
Definition at line 213 of file Universe.h.
|
private |
Definition at line 270 of file Universe.h.
|
private |
Definition at line 230 of file Universe.h.
|
private |
Definition at line 258 of file Universe.h.
|
private |
Definition at line 231 of file Universe.h.
|
private |
Definition at line 227 of file Universe.h.
|
private |
Definition at line 272 of file Universe.h.
|
private |
Definition at line 362 of file Universe.h.
|
private |
Definition at line 361 of file Universe.h.
|
private |
Definition at line 357 of file Universe.h.
- (unsigned) n_entities |
Definition at line 191 of file Universe.h.
Referenced by addEntity:.
|
private |
Definition at line 303 of file Universe.h.
|
private |
Definition at line 215 of file Universe.h.
|
private |
Definition at line 311 of file Universe.h.
|
private |
Definition at line 365 of file Universe.h.
|
private |
Definition at line 359 of file Universe.h.
|
private |
Definition at line 372 of file Universe.h.
|
private |
Definition at line 371 of file Universe.h.
|
private |
Definition at line 302 of file Universe.h.
|
private |
Definition at line 369 of file Universe.h.
|
private |
Definition at line 369 of file Universe.h.
|
private |
Definition at line 369 of file Universe.h.
|
private |
Definition at line 276 of file Universe.h.
|
private |
Definition at line 278 of file Universe.h.
|
private |
Definition at line 224 of file Universe.h.
- (Entity* sortedEntities[UNIVERSE_MAX_ENTITIES+1]) |
Definition at line 190 of file Universe.h.
|
private |
Definition at line 336 of file Universe.h.
|
private |
Definition at line 331 of file Universe.h.
- (GLfloat stars_ambient[4]) |
Definition at line 198 of file Universe.h.
|
private |
Definition at line 204 of file Universe.h.
|
private |
Definition at line 205 of file Universe.h.
|
private |
Definition at line 288 of file Universe.h.
|
private |
Definition at line 287 of file Universe.h.
|
private |
Definition at line 304 of file Universe.h.
|
private |
Definition at line 284 of file Universe.h.
|
private |
Definition at line 271 of file Universe.h.
|
private |
Definition at line 363 of file Universe.h.
|
private |
Definition at line 364 of file Universe.h.
|
private |
Definition at line 360 of file Universe.h.
|
private |
Definition at line 285 of file Universe.h.
|
private |
Definition at line 358 of file Universe.h.
|
private |
Definition at line 366 of file Universe.h.
|
private |
Definition at line 248 of file Universe.h.
|
private |
Definition at line 314 of file Universe.h.
|
private |
Definition at line 247 of file Universe.h.
|
private |
Definition at line 321 of file Universe.h.
|
private |
Definition at line 309 of file Universe.h.
|
private |
Definition at line 207 of file Universe.h.
|
private |
Definition at line 209 of file Universe.h.
|
private |
Definition at line 235 of file Universe.h.
|
private |
Definition at line 222 of file Universe.h.
|
private |
Definition at line 239 of file Universe.h.
- (Entity*) x_list_start |
Definition at line 196 of file Universe.h.
Referenced by addEntity:.
- (Entity *) y_list_start |
Definition at line 196 of file Universe.h.
Referenced by addEntity:.
- (Entity *) z_list_start |
Definition at line 196 of file Universe.h.
Referenced by addEntity:.