Oolite 1.91.0.7650-250121-affa790
Loading...
Searching...
No Matches
OORingEffectEntity.m File Reference
import "OORingEffectEntity.h"
import "Universe.h"
import "OOMacroOpenGL.h"
+ Include dependency graph for OORingEffectEntity.m:

Go to the source code of this file.

Macros

#define kRingDuration   (2.0f)
 
#define kRingAttack   (0.4f)
 
#define kInnerRingInitialSizeFactor   (0.5f)
 
#define kOuterRingInitialSizeFactor   (1.25f * kInnerRingInitialSizeFactor)
 
#define kInnerRingGrowthRateFactor   (1.1f * kInnerRingInitialSizeFactor)
 
#define kOuterRingGrowthRateFactor   (1.25f * kInnerRingInitialSizeFactor)
 
#define kShrinkingRingInnerGrowthFactor   (-2.5)
 
#define kShrinkingRingOuterGrowthFactor   (-2.0)
 

Enumerations

enum  { kCircleSegments = 65 }
 

Variables

struct { 
 
   float   x 
 
   float   y 
 
sCircleVerts [kCircleSegments
 

Macro Definition Documentation

◆ kInnerRingGrowthRateFactor

#define kInnerRingGrowthRateFactor   (1.1f * kInnerRingInitialSizeFactor)

Definition at line 37 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::initRingFromEntity:.

◆ kInnerRingInitialSizeFactor

#define kInnerRingInitialSizeFactor   (0.5f)

Definition at line 35 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::initRingFromEntity:.

◆ kOuterRingGrowthRateFactor

#define kOuterRingGrowthRateFactor   (1.25f * kInnerRingInitialSizeFactor)

Definition at line 38 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::initRingFromEntity:.

◆ kOuterRingInitialSizeFactor

#define kOuterRingInitialSizeFactor   (1.25f * kInnerRingInitialSizeFactor)

Definition at line 36 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::initRingFromEntity:.

◆ kRingAttack

#define kRingAttack   (0.4f)

Definition at line 32 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::drawImmediate:translucent:.

◆ kRingDuration

#define kRingDuration   (2.0f)

◆ kShrinkingRingInnerGrowthFactor

#define kShrinkingRingInnerGrowthFactor   (-2.5)

Definition at line 41 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::shrinkingRingFromEntity:.

◆ kShrinkingRingOuterGrowthFactor

#define kShrinkingRingOuterGrowthFactor   (-2.0)

Definition at line 42 of file OORingEffectEntity.m.

Referenced by OORingEffectEntity::shrinkingRingFromEntity:.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kCircleSegments 

Definition at line 45 of file OORingEffectEntity.m.

46{
48};
@ kCircleSegments

Variable Documentation

◆ [struct]

◆ x

float x
protected

Definition at line 49 of file OORingEffectEntity.m.

Referenced by addNoise(), PlayerEntity(Scripting)::addShipsWithinRadius:, basis_vectors_from_quaternion(), OOTextureSprite::blitCentredToX:Y:Z:alpha:, OOTextureSprite::blitToX:Y:Z:alpha:, OOSystemDescriptionManager::buildRouteCache, WormholeEntity::canCollide, DataArrayToPoints(), GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay(Private)::drawAftShieldBar:, HeadUpDisplay(Private)::drawAltitudeBar:, HeadUpDisplay(Private)::drawASCTarget:, HeadUpDisplay(Private)::drawCabinTempBar:, HeadUpDisplay::drawCharacterQuad, HeadUpDisplay(Private)::drawClock:, HeadUpDisplay(Private)::drawCompass:, GuiDisplayGen(Internal)::drawCrossHairsWithSize:x:y:z:, HeadUpDisplay(Private)::drawCustomBar:, HeadUpDisplay(Private)::drawCustomImage:, HeadUpDisplay(Private)::drawCustomIndicator:, HeadUpDisplay(Private)::drawCustomLight:, HeadUpDisplay(Private)::drawCustomText:, HeadUpDisplay(Private)::drawEnergyGauge:, HeadUpDisplay(Private)::drawForwardShieldBar:, HeadUpDisplay(Private)::drawFPSInfoCounter:, HeadUpDisplay(Private)::drawFuelBar:, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen::drawGUI:drawCursor:, GuiDisplayGen::drawGUIBackground, HeadUpDisplay::drawHighlight, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOParticleSystem::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawLegend:, HeadUpDisplay(Private)::drawMissileDisplay:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, HeadUpDisplay(Private)::drawPitchBar:, HeadUpDisplay::drawPrimedEquipment:, HeadUpDisplay(Private)::drawRollBar:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, drawScannerGrid(), HeadUpDisplay(Private)::drawScannerZoomIndicator:, HeadUpDisplay(Private)::drawScoopStatus:, HeadUpDisplay::DrawSpecialOval, DrawSpecialOval(), HeadUpDisplay(Private)::drawSpeedBar:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, HeadUpDisplay(Private)::drawStatusLight:, HeadUpDisplay(Private)::drawStickSensitivityIndicator:, HeadUpDisplay(Private)::drawSurroundInternal:color:, GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, HeadUpDisplay(Private)::drawWeaponsOfflineText:, HeadUpDisplay(Private)::drawWeaponTempBar:, HeadUpDisplay(Private)::drawWitchspaceDestination:, HeadUpDisplay(Private)::drawYawBar:, MyOpenGLView::dumpRGBAToRGBFileNamed:andGrayFileNamed:bytes:width:height:rowBytes:, fillSquareImageDataWithCloudTexture(), fillSquareImageWithPlanetTex(), gen_rnd_number(), GLDrawFilledOval(), HeadUpDisplay::GLDrawNonlinearCascadeWeapon, GLDrawNonlinearCascadeWeapon(), GLDrawOval(), GLDrawOvalPoints(), OOJoystickSplineAxisProfile::gradient:, OOJoystickSplineSegment::gradient:, HeadUpDisplay::hudDrawBarAt, hudDrawBarAt(), HeadUpDisplay::hudDrawIndicatorAt, hudDrawIndicatorAt(), HeadUpDisplay::hudDrawMarkerAt, hudDrawMarkerAt(), HeadUpDisplay::hudDrawStatusIconAt, hudDrawStatusIconAt(), HeadUpDisplay::hudDrawSurroundAt, hudDrawSurroundAt(), OOMacJoystickManager::init, OOSkyQuadSet::initWithQuadsWithTexture:inArray:count:, JSObjectGetVector(), OOMesh(Private)::loadData:scaleFactor:, HeadUpDisplay::nonlinearScannerFunc, OldRandomDigrams(), OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:, OOConvertCubeMapToLatLong(), HeadUpDisplay::OODrawHilightedPlanetInfo, OODrawHilightedPlanetInfo(), HeadUpDisplay::OODrawHilightedString, OODrawHilightedString(), HeadUpDisplay::OODrawPlanetInfo, OODrawPlanetInfo(), HeadUpDisplay::OODrawString, OODrawString(), HeadUpDisplay::OODrawStringAligned, OODrawStringAligned(), HeadUpDisplay::OODrawStringQuadsAligned, OODrawStringQuadsAligned(), OOHPVectorMultiplyMatrix(), OOMatrixColumnSwap(), OOMatrixForQuaternionRotation(), OOMatrixForRotation(), OOMatrixRowSwap(), HeadUpDisplay::OORectFromString, OORectFromString(), OOVectorMultiplyMatrix(), q_factor(), QuaternionFromArgumentListNoErrorInternal(), OOJoystickAxisProfile::rawValue:, OOJoystickSplineAxisProfile::rawValue:, OOJoystickStandardAxisProfile::rawValue:, rotate_byte_left(), rotate_seed(), ScaleToHalf_1_x1(), ScaleToHalf_1_x4(), ScaleToHalf_2_x1(), ScaleToHalf_4_x1(), PlayerEntity::setGalacticHyperspaceFixedCoordsX:y:, Entity::setPositionX:y:z:, SplitGeometryX(), SqueezeHorizontally1(), SqueezeHorizontally2(), SqueezeHorizontally4(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), stbi_write_jpg(), stbi_write_jpg_to_func(), PlayerEntity(StickProfile)::stickProfileInputHandler:view:, StretchHorizontally1(), StretchHorizontally2(), StretchHorizontally4(), StretchVerticallyN_x1(), StretchVerticallyN_x4(), WormholeEntity::suckInShip:, unz64local_getLong(), unz64local_getLong64(), unz64local_getShort(), DustEntity::update:, OOJoystickAxisProfile::value:, OOJoystickSplineSegment::value:, vector_forward_from_quaternion(), vector_right_from_quaternion(), vector_up_from_quaternion(), and VectorFromArgumentListNoErrorInternal().

◆ y

float y
protected

Definition at line 49 of file OORingEffectEntity.m.

Referenced by addNoise(), AddPixMap_4(), PlayerEntity(Scripting)::addShipsWithinRadius:, basis_vectors_from_quaternion(), OOTextureSprite::blitCentredToX:Y:Z:alpha:, OOTextureSprite::blitToX:Y:Z:alpha:, OOSystemDescriptionManager::buildRouteCache, DataArrayToPoints(), GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay(Private)::drawAftShieldBar:, HeadUpDisplay(Private)::drawAltitudeBar:, HeadUpDisplay(Private)::drawASCTarget:, HeadUpDisplay(Private)::drawCabinTempBar:, HeadUpDisplay::drawCharacterQuad, HeadUpDisplay(Private)::drawClock:, HeadUpDisplay(Private)::drawCompass:, GuiDisplayGen(Internal)::drawCrossHairsWithSize:x:y:z:, HeadUpDisplay(Private)::drawCustomBar:, HeadUpDisplay(Private)::drawCustomImage:, HeadUpDisplay(Private)::drawCustomIndicator:, HeadUpDisplay(Private)::drawCustomLight:, HeadUpDisplay(Private)::drawCustomText:, HeadUpDisplay(Private)::drawEnergyGauge:, HeadUpDisplay(Private)::drawForwardShieldBar:, HeadUpDisplay(Private)::drawFPSInfoCounter:, HeadUpDisplay(Private)::drawFuelBar:, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen::drawGUI:drawCursor:, GuiDisplayGen::drawGUIBackground, HeadUpDisplay::drawHighlight, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOParticleSystem::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawLegend:, HeadUpDisplay(Private)::drawMissileDisplay:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, HeadUpDisplay(Private)::drawPitchBar:, HeadUpDisplay::drawPrimedEquipment:, HeadUpDisplay(Private)::drawRollBar:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, drawScannerGrid(), HeadUpDisplay(Private)::drawScannerZoomIndicator:, HeadUpDisplay(Private)::drawScoopStatus:, HeadUpDisplay::DrawSpecialOval, DrawSpecialOval(), HeadUpDisplay(Private)::drawSpeedBar:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, HeadUpDisplay(Private)::drawStatusLight:, HeadUpDisplay(Private)::drawStickSensitivityIndicator:, HeadUpDisplay(Private)::drawSurroundInternal:color:, GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, HeadUpDisplay(Private)::drawWeaponsOfflineText:, HeadUpDisplay(Private)::drawWeaponTempBar:, HeadUpDisplay(Private)::drawWitchspaceDestination:, HeadUpDisplay(Private)::drawYawBar:, MyOpenGLView::dumpRGBAToRGBFileNamed:andGrayFileNamed:bytes:width:height:rowBytes:, ExtractChannel_4(), fillSquareImageDataWithCloudTexture(), fillSquareImageWithPlanetTex(), GLDrawFilledOval(), HeadUpDisplay::GLDrawNonlinearCascadeWeapon, GLDrawNonlinearCascadeWeapon(), GLDrawOval(), GLDrawOvalPoints(), HeadUpDisplay::hudDrawBarAt, hudDrawBarAt(), HeadUpDisplay::hudDrawIndicatorAt, hudDrawIndicatorAt(), HeadUpDisplay::hudDrawMarkerAt, hudDrawMarkerAt(), HeadUpDisplay::hudDrawStatusIconAt, hudDrawStatusIconAt(), HeadUpDisplay::hudDrawSurroundAt, hudDrawSurroundAt(), OOMacJoystickManager::init, JSObjectGetVector(), OOMesh(Private)::loadData:scaleFactor:, ModulatePixMap_4(), ModulateUniform_4(), OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:, OOConvertCubeMapToLatLong(), HeadUpDisplay::OODrawHilightedPlanetInfo, OODrawHilightedPlanetInfo(), HeadUpDisplay::OODrawHilightedString, OODrawHilightedString(), HeadUpDisplay::OODrawPlanetInfo, OODrawPlanetInfo(), HeadUpDisplay::OODrawString, OODrawString(), HeadUpDisplay::OODrawStringAligned, OODrawStringAligned(), HeadUpDisplay::OODrawStringQuadsAligned, OODrawStringQuadsAligned(), OOHPVectorMultiplyMatrix(), OOMatrixForQuaternionRotation(), OOMatrixForRotation(), HeadUpDisplay::OORectFromString, OORectFromString(), OOVectorMultiplyMatrix(), q_factor(), QuaternionFromArgumentListNoErrorInternal(), rotate_seed(), ScaleToHalf_1_x1(), ScaleToHalf_1_x4(), ScaleToHalf_2_x1(), ScaleToHalf_4_x1(), PlayerEntity::setGalacticHyperspaceFixedCoordsX:y:, Entity::setPositionX:y:z:, MyOpenGLView::snapShot:, SplitGeometryY(), SqueezeHorizontally1(), SqueezeHorizontally2(), SqueezeHorizontally4(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), stbi_write_jpg(), stbi_write_jpg_to_func(), PlayerEntity(StickProfile)::stickProfileInputHandler:view:, StretchHorizontally1(), StretchHorizontally2(), StretchHorizontally4(), StretchVerticallyN_x1(), StretchVerticallyN_x4(), tdefl_write_image_to_png_file_in_memory_ex(), ToRGBA_1(), ToRGBA_2(), DustEntity::update:, vector_forward_from_quaternion(), vector_right_from_quaternion(), vector_up_from_quaternion(), and VectorFromArgumentListNoErrorInternal().