|
Oolite 1.91.0.7712-251017-85ce217
|
#include <OOFlasherEntity.h>
Instance Methods | |
| (id) | - initWithDictionary: |
| (BOOL) | - isActive |
| (void) | - setActive: |
| (OOColor *) | - color |
| (float) | - frequency |
| (void) | - setFrequency: |
| (float) | - phase |
| (void) | - setPhase: |
| (float) | - fraction |
| (void) | - setFraction: |
| (void) | - dealloc [implementation] |
| (void) | - setUpColors: [implementation] |
| (void) | - getCurrentColorComponents [implementation] |
| (void) | - update: [implementation] |
| (void) | - drawImmediate:translucent: [implementation] |
| (void) | - drawSubEntityImmediate:translucent: [implementation] |
| (BOOL) | - isFlasher [implementation] |
| (double) | - findCollisionRadius [implementation] |
| (void) | - rescaleBy: [implementation] |
| (void) | - rescaleBy:writeToCache: [implementation] |
| (void) | - getJSClass:andPrototype: |
| (NSString *) | - oo_jsClassName |
| (BOOL) | - isVisibleToScripts |
| Instance Methods inherited from OOLightParticleEntity | |
| (id) | - initWithDiameter: |
| (float) | - diameter |
| (void) | - setDiameter: |
| (void) | - setColor: |
| (void) | - setColor:alpha: |
| (OOTexture *) | - texture |
| (BOOL) | - isEffect [implementation] |
| (BOOL) | - canCollide [implementation] |
| (NSSet *) | - allTextures [implementation] |
| Instance Methods inherited from Entity | |
| (NSUInteger) | - sessionID |
| (BOOL) | - isShip |
| (BOOL) | - isDock |
| (BOOL) | - isStation |
| (BOOL) | - isSubEntity |
| (BOOL) | - isPlayer |
| (BOOL) | - isPlanet |
| (BOOL) | - isSun |
| (BOOL) | - isSunlit |
| (BOOL) | - isStellarObject |
| (BOOL) | - isSky |
| (BOOL) | - isWormhole |
| (BOOL) | - isVisualEffect |
| (BOOL) | - isWaypoint |
| (BOOL) | - validForAddToUniverse |
| (void) | - addToLinkedLists |
| (void) | - removeFromLinkedLists |
| (void) | - updateLinkedLists |
| (void) | - wasAddedToUniverse |
| (void) | - wasRemovedFromUniverse |
| (void) | - warnAboutHostiles |
| (CollisionRegion *) | - collisionRegion |
| (void) | - setCollisionRegion: |
| (void) | - setUniversalID: |
| (OOUniversalID) | - universalID |
| (BOOL) | - throwingSparks |
| (void) | - setThrowSparks: |
| (void) | - throwSparks |
| (void) | - setOwner: |
| (id) | - owner |
| (ShipEntity *) | - parentEntity |
| (ShipEntity *) | - rootShipEntity |
| (void) | - setPosition: |
| (void) | - setPositionX:y:z: |
| (HPVector) | - position |
| (Vector) | - cameraRelativePosition |
| (GLfloat) | - cameraRangeFront |
| (GLfloat) | - cameraRangeBack |
| (void) | - updateCameraRelativePosition |
| (Vector) | - vectorTo: |
| (HPVector) | - absolutePositionForSubentity |
| (HPVector) | - absolutePositionForSubentityOffset: |
| (double) | - zeroDistance |
| (double) | - camZeroDistance |
| (NSComparisonResult) | - compareZeroDistance: |
| (BoundingBox) | - boundingBox |
| (GLfloat) | - mass |
| (Quaternion) | - orientation |
| (void) | - setOrientation: |
| (Quaternion) | - normalOrientation |
| (void) | - setNormalOrientation: |
| (void) | - orientationChanged |
| (void) | - setVelocity: |
| (Vector) | - velocity |
| (double) | - speed |
| (GLfloat) | - distanceTravelled |
| (void) | - setDistanceTravelled: |
| (void) | - setStatus: |
| (OOEntityStatus) | - status |
| (void) | - setScanClass: |
| (OOScanClass) | - scanClass |
| (void) | - setEnergy: |
| (GLfloat) | - energy |
| (void) | - setMaxEnergy: |
| (GLfloat) | - maxEnergy |
| (void) | - applyRoll:andClimb: |
| (void) | - applyRoll:climb:andYaw: |
| (void) | - moveForward: |
| (OOMatrix) | - rotationMatrix |
| (OOMatrix) | - drawRotationMatrix |
| (OOMatrix) | - transformationMatrix |
| (OOMatrix) | - drawTransformationMatrix |
| (GLfloat) | - collisionRadius |
| (GLfloat) | - frustumRadius |
| (void) | - setCollisionRadius: |
| (NSMutableArray *) | - collisionArray |
| (void) | - applyVelocity: |
| (BOOL) | - checkCloseCollisionWith: |
| (void) | - takeEnergyDamage:from:becauseOf:weaponIdentifier: |
| (void) | - dumpState |
| (void) | - dumpSelfState |
| (BOOL) | - isVisible |
| (BOOL) | - isInSpace |
| (BOOL) | - isImmuneToBreakPatternHide |
| (GLfloat) | - universalTime |
| (GLfloat) | - spawnTime |
| (GLfloat) | - timeElapsedSinceSpawn |
| (void) | - setAtmosphereFogging: |
| (OOColor *) | - fogUniform |
| (NSString *) | - descriptionForObjDumpBasic |
| (NSString *) | - descriptionForObjDump |
| (id) | - init [implementation] |
| (NSString *) | - descriptionComponents [implementation] |
| (BOOL) | - checkLinkedLists [implementation] |
| (id< OOWeakReferenceSupport >) | - superShaderBindingTarget [implementation] |
| (Vector) | - relativePosition [implementation] |
| (void) | - subEntityReallyDied: [implementation] |
| (BOOL) | - isBreakPattern |
| (void) | - inspect [implementation] |
| (BOOL) | - isECMBlast |
| (NSArray *) | - debugInspectorModules [implementation] |
| (NSString *) | - inspScanClassLine |
| (NSString *) | - inspStatusLine |
| (NSString *) | - inspRetainCountLine |
| (NSString *) | - inspPositionLine |
| (NSString *) | - inspVelocityLine |
| (NSString *) | - inspOrientationLine |
| (NSString *) | - inspEnergyLine |
| (NSString *) | - inspOwnerLine |
| (NSString *) | - inspTargetLine |
| (NSString *) | - inspDescription [implementation] |
| (NSString *) | - inspBasicIdentityLine [implementation] |
| (BOOL) | - isExhaust |
| (void) | - deleteJSSelf |
| (jsval) | - oo_jsValueInContext: [implementation] |
| (BOOL) | - isCascadeWeapon |
| (BOOL) | - isPlayerLikeShip |
| (GLfloat) | - clock [implementation] |
| (unsigned) | - pseudoFixedD100 [implementation] |
| (unsigned) | - pseudoFixedD256 [implementation] |
| (unsigned) | - systemGovernment [implementation] |
| (unsigned) | - systemEconomy [implementation] |
| (unsigned) | - systemTechLevel [implementation] |
| (unsigned) | - systemPopulation [implementation] |
| (unsigned) | - systemProductivity [implementation] |
| (BOOL) | - isShipWithSubEntityShip: |
| Instance Methods inherited from OOWeakRefObject | |
| (id) | - weakSelf |
| (id) | - weakRetain [implementation] |
| (void) | - weakRefDied: [implementation] |
| Instance Methods inherited from <OOWeakReferenceSupport> | |
| (id) | - OO_RETURNS_RETAINED |
Class Methods | |
| (instancetype) | + flasherWithDictionary: |
| Class Methods inherited from OOLightParticleEntity | |
| (void) | + setUpTexture |
| (OOTexture *) | + defaultParticleTexture |
| (void) | + resetGraphicsState [implementation] |
Private Attributes | |
| float | _frequency |
| float | _phase |
| float | _wave |
| float | _brightfraction |
| NSArray * | _colors |
| NSUInteger | _activeColor |
| OOTimeDelta | _time |
| BOOL | _active |
| BOOL | _justSwitched |
Definition at line 32 of file OOFlasherEntity.h.
| - (OOColor *) color |
Definition at line 109 of file OOFlasherEntity.m.
References color, and OOColor::colorWithRed:green:blue:alpha:.
Referenced by color, and FlasherGetProperty().
|
implementation |
Reimplemented from Entity.
Definition at line 69 of file OOFlasherEntity.m.
References Entity::dealloc, and dealloc.
Referenced by dealloc.
|
implementation |
Reimplemented from OOLightParticleEntity.
Definition at line 202 of file OOFlasherEntity.m.
References _active, and OOLightParticleEntity::drawImmediate:translucent:.
|
implementation |
Reimplemented from OOLightParticleEntity.
Definition at line 211 of file OOFlasherEntity.m.
References _active, and OOLightParticleEntity::drawSubEntityImmediate:translucent:.
|
implementation |
Reimplemented from Entity.
Definition at line 226 of file OOFlasherEntity.m.
References OOLightParticleEntity::diameter, and findCollisionRadius.
Referenced by findCollisionRadius.
| + (instancetype) flasherWithDictionary: | (NSDictionary *) | dictionary |
Definition at line 44 of file OOFlasherEntity.m.
Referenced by OOVisualEffectEntity(Private)::setUpOneFlasher:, and ShipEntity(Private)::setUpOneFlasher:.
| - (float) fraction |
Definition at line 142 of file OOFlasherEntity.m.
References _brightfraction, and fraction.
Referenced by fraction, and setFraction:.
| - (float) frequency |
Definition at line 118 of file OOFlasherEntity.m.
References _frequency, and frequency.
Referenced by frequency, and setFrequency:.
|
implementation |
Provided by category OOFlasherEntity(Internal).
Definition at line 91 of file OOFlasherEntity.m.
References OOFlasherEntity(Internal)::getCurrentColorComponents, and OOLightParticleEntity::setColor:alpha:.
Referenced by OOFlasherEntity(Internal)::getCurrentColorComponents, and initWithDictionary:.
| - (void) getJSClass: | (JSClass **) | outClass | |
| andPrototype: | (JSObject **) | outPrototype |
Reimplemented from Entity.
Provided by category OOFlasherEntity(OOJavaScriptExtensions).
Definition at line 128 of file OOJSFlasher.m.
| - (id) initWithDictionary: | (NSDictionary *) | dictionary |
Definition at line 50 of file OOFlasherEntity.m.
References _brightfraction, _frequency, _phase, getCurrentColorComponents, setActive:, and setUpColors:.
| - (BOOL) isActive |
|
implementation |
Reimplemented from Entity.
Definition at line 220 of file OOFlasherEntity.m.
References isFlasher.
Referenced by isFlasher.
| - (BOOL) isVisibleToScripts |
Reimplemented from Entity.
Provided by category OOFlasherEntity(OOJavaScriptExtensions).
Definition at line 140 of file OOJSFlasher.m.
| - (NSString *) oo_jsClassName |
Reimplemented from Entity.
Provided by category OOFlasherEntity(OOJavaScriptExtensions).
Definition at line 135 of file OOJSFlasher.m.
| - (float) phase |
|
implementation |
Reimplemented from <OOSubEntity>.
Definition at line 232 of file OOFlasherEntity.m.
References OOLightParticleEntity::diameter, and OOLightParticleEntity::setDiameter:.
Referenced by ShipEntity(Private)::setUpOneFlasher:.
|
implementation |
Reimplemented from <OOSubEntity>.
Definition at line 238 of file OOFlasherEntity.m.
| - (void) setActive: | (BOOL) | active |
Definition at line 103 of file OOFlasherEntity.m.
References _active.
Referenced by FlasherSetProperty(), and initWithDictionary:.
| - (void) setFraction: | (float) | fraction |
Definition at line 148 of file OOFlasherEntity.m.
References _brightfraction, and fraction.
Referenced by FlasherSetProperty().
| - (void) setFrequency: | (float) | frequency |
Definition at line 124 of file OOFlasherEntity.m.
References _frequency, and frequency.
Referenced by FlasherSetProperty().
| - (void) setPhase: | (float) | phase |
Definition at line 136 of file OOFlasherEntity.m.
Referenced by FlasherSetProperty().
|
implementation |
Provided by category OOFlasherEntity(Internal).
Definition at line 77 of file OOFlasherEntity.m.
References OOColor::colorWithDescription:saturationFactor:, and nil.
Referenced by initWithDictionary:.
|
implementation |
Reimplemented from Entity.
Definition at line 154 of file OOFlasherEntity.m.
References _activeColor, _brightfraction, OOLightParticleEntity::_colorComponents, _frequency, _justSwitched, _phase, _time, _wave, count, M_PI, OOLightParticleEntity::setColor:, and Entity::update:.
|
private |
Definition at line 45 of file OOFlasherEntity.h.
Referenced by drawImmediate:translucent:, drawSubEntityImmediate:translucent:, isActive, and setActive:.
|
private |
Definition at line 41 of file OOFlasherEntity.h.
Referenced by update:.
|
private |
Definition at line 39 of file OOFlasherEntity.h.
Referenced by fraction, initWithDictionary:, setFraction:, and update:.
|
private |
Definition at line 40 of file OOFlasherEntity.h.
|
private |
Definition at line 36 of file OOFlasherEntity.h.
Referenced by frequency, initWithDictionary:, setFrequency:, and update:.
|
private |
Definition at line 46 of file OOFlasherEntity.h.
Referenced by update:.
|
private |
Definition at line 37 of file OOFlasherEntity.h.
Referenced by initWithDictionary:, phase, setPhase:, and update:.
|
private |
Definition at line 43 of file OOFlasherEntity.h.
Referenced by update:.
|
private |
Definition at line 38 of file OOFlasherEntity.h.
Referenced by update:.