Oolite 1.91.0.7644-241112-7f5034b
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.

◆ kInnerRingInitialSizeFactor

#define kInnerRingInitialSizeFactor   (0.5f)

Definition at line 35 of file OORingEffectEntity.m.

◆ kOuterRingGrowthRateFactor

#define kOuterRingGrowthRateFactor   (1.25f * kInnerRingInitialSizeFactor)

Definition at line 38 of file OORingEffectEntity.m.

◆ kOuterRingInitialSizeFactor

#define kOuterRingInitialSizeFactor   (1.25f * kInnerRingInitialSizeFactor)

Definition at line 36 of file OORingEffectEntity.m.

◆ kRingAttack

#define kRingAttack   (0.4f)

Definition at line 32 of file OORingEffectEntity.m.

◆ kRingDuration

#define kRingDuration   (2.0f)

Definition at line 31 of file OORingEffectEntity.m.

◆ kShrinkingRingInnerGrowthFactor

#define kShrinkingRingInnerGrowthFactor   (-2.5)

Definition at line 41 of file OORingEffectEntity.m.

◆ kShrinkingRingOuterGrowthFactor

#define kShrinkingRingOuterGrowthFactor   (-2.0)

Definition at line 42 of file OORingEffectEntity.m.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kCircleSegments 

Definition at line 45 of file OORingEffectEntity.m.

46{
48};
@ kCircleSegments

Variable Documentation

◆ [struct]

struct { ... } sCircleVerts[kCircleSegments]

◆ x

float x
protected

Definition at line 49 of file OORingEffectEntity.m.

Referenced by addNoise(), basis_vectors_from_quaternion(), OORingEffectEntity::canCollide, NSString(OODisplayEncoding)::cStringUsingOoliteEncoding, DataArrayToPoints(), HeadUpDisplay::drawCharacterQuad, HeadUpDisplay::drawHighlight, HeadUpDisplay::drawScannerGrid, fillSquareImageDataWithCloudTexture(), gen_rnd_number(), TextureStore::getCloudTextureNameFor:color:impress:intoData:width:height:, GLDrawFilledOval(), HeadUpDisplay::GLDrawNonlinearCascadeWeapon, GLDrawOval(), GLDrawOvalPoints(), HeadUpDisplay::hudDrawBarAt, HeadUpDisplay::hudDrawIndicatorAt, HeadUpDisplay::hudDrawMarkerAt, HeadUpDisplay::hudDrawStatusIconAt, HeadUpDisplay::hudDrawSurroundAt, JSObjectGetVector(), HeadUpDisplay::nonlinearScannerFunc, OldRandomDigrams(), OOConvertCubeMapToLatLong(), HeadUpDisplay::OODrawHilightedPlanetInfo, HeadUpDisplay::OODrawHilightedString, HeadUpDisplay::OODrawPlanetInfo, HeadUpDisplay::OODrawString, HeadUpDisplay::OODrawStringAligned, HeadUpDisplay::OODrawStringQuadsAligned, OOHPVectorMultiplyMatrix(), OOMatrixColumnSwap(), OOMatrixForQuaternionRotation(), OOMatrixForRotation(), OOMatrixRowSwap(), HeadUpDisplay::OORectFromString, OOVectorMultiplyMatrix(), q_factor(), QuaternionFromArgumentListNoErrorInternal(), rotate_byte_left(), rotate_seed(), ScaleToHalf_1_x1(), ScaleToHalf_1_x4(), ScaleToHalf_2_x1(), ScaleToHalf_4_x1(), SplitGeometryX(), SqueezeHorizontally1(), SqueezeHorizontally2(), SqueezeHorizontally4(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), StretchHorizontally1(), StretchHorizontally2(), StretchHorizontally4(), StretchVerticallyN_x1(), StretchVerticallyN_x4(), unz64local_getLong(), unz64local_getLong64(), unz64local_getShort(), 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(), basis_vectors_from_quaternion(), OORingEffectEntity::canCollide, NSString(OODisplayEncoding)::cStringUsingOoliteEncoding, DataArrayToPoints(), HeadUpDisplay::drawCharacterQuad, HeadUpDisplay::drawHighlight, HeadUpDisplay::drawScannerGrid, ExtractChannel_4(), fillSquareImageDataWithCloudTexture(), TextureStore::getCloudTextureNameFor:color:impress:intoData:width:height:, GLDrawFilledOval(), HeadUpDisplay::GLDrawNonlinearCascadeWeapon, GLDrawOval(), GLDrawOvalPoints(), HeadUpDisplay::hudDrawBarAt, HeadUpDisplay::hudDrawIndicatorAt, HeadUpDisplay::hudDrawMarkerAt, HeadUpDisplay::hudDrawStatusIconAt, HeadUpDisplay::hudDrawSurroundAt, JSObjectGetVector(), ModulatePixMap_4(), ModulateUniform_4(), OOConvertCubeMapToLatLong(), HeadUpDisplay::OODrawHilightedPlanetInfo, HeadUpDisplay::OODrawHilightedString, HeadUpDisplay::OODrawPlanetInfo, HeadUpDisplay::OODrawString, HeadUpDisplay::OODrawStringAligned, HeadUpDisplay::OODrawStringQuadsAligned, OOHPVectorMultiplyMatrix(), OOMatrixForQuaternionRotation(), OOMatrixForRotation(), HeadUpDisplay::OORectFromString, OOVectorMultiplyMatrix(), q_factor(), QuaternionFromArgumentListNoErrorInternal(), rotate_seed(), ScaleToHalf_1_x1(), ScaleToHalf_1_x4(), ScaleToHalf_2_x1(), ScaleToHalf_4_x1(), SplitGeometryY(), SqueezeHorizontally1(), SqueezeHorizontally2(), SqueezeHorizontally4(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), StretchHorizontally1(), StretchHorizontally2(), StretchHorizontally4(), StretchVerticallyN_x1(), StretchVerticallyN_x4(), tdefl_write_image_to_png_file_in_memory_ex(), ToRGBA_1(), ToRGBA_2(), vector_forward_from_quaternion(), vector_right_from_quaternion(), vector_up_from_quaternion(), and VectorFromArgumentListNoErrorInternal().