|
Oolite 1.91.0.7712-251017-85ce217
|
#include <OOParticleSystem.h>
Protected Attributes | |
| Vector | _particlePosition [kFragmentBurstMaxParticles] |
| Vector | _particleVelocity [kFragmentBurstMaxParticles] |
| GLfloat | _particleColor [kFragmentBurstMaxParticles][4] |
| GLfloat | _particleSize [kFragmentBurstMaxParticles] |
| unsigned | _count |
| unsigned | _particleType |
| OOTimeDelta | _timePassed |
| OOTimeDelta | _duration |
| double | _maxSpeed |
| Protected Attributes inherited from Entity | |
| HPVector | lastPosition |
| Quaternion | lastOrientation |
| GLfloat | distanceTravelled |
| OOMatrix | rotMatrix |
| Vector | velocity |
| GLfloat | energy |
| GLfloat | maxEnergy |
| BoundingBox | boundingBox |
| GLfloat | mass |
| NSMutableArray * | collidingEntities |
| OOTimeAbsolute | spawnTime |
| struct JSObject * | _jsSelf |
| Protected Attributes inherited from OOWeakRefObject | |
| OOWeakReference * | weakSelf |
Additional Inherited Members | |
| Public Attributes inherited from Entity | |
| OOUniversalID | universalID |
| unsigned | isShip: 1 |
| unsigned | isStation: 1 |
| unsigned | isPlayer: 1 |
| unsigned | isWormhole: 1 |
| unsigned | isSubEntity: 1 |
| unsigned | hasMoved: 1 |
| unsigned | hasRotated: 1 |
| unsigned | hasCollided: 1 |
| unsigned | isSunlit: 1 |
| unsigned | collisionTestFilter: 2 |
| unsigned | throw_sparks: 1 |
| unsigned | isImmuneToBreakPatternHide: 1 |
| unsigned | isExplicitlyNotMainStation: 1 |
| unsigned | isVisualEffect: 1 |
| OOScanClass | scanClass |
| GLfloat | zero_distance |
| GLfloat | cam_zero_distance |
| GLfloat | no_draw_distance |
| GLfloat | collision_radius |
| HPVector | position |
| Vector | cameraRelativePosition |
| Quaternion | orientation |
| OOColor * | atmosphereFogging |
| int | zero_index |
| Entity * | x_previous |
| Entity * | x_next |
| Entity * | y_previous |
| Entity * | y_next |
| Entity * | z_previous |
| Entity * | z_next |
| Entity * | collision_chain |
| OOUniversalID | shadingEntityID |
| Entity * | collider |
| CollisionRegion * | collisionRegion |
Definition at line 41 of file OOParticleSystem.h.
|
implementation |
Reimplemented from Entity.
Definition at line 252 of file OOParticleSystem.m.
References allTextures, and OOLightParticleEntity::defaultParticleTexture.
Referenced by allTextures.
|
implementation |
Reimplemented from Entity.
Definition at line 99 of file OOParticleSystem.m.
References canCollide.
Referenced by canCollide.
|
implementation |
Reimplemented from Entity.
Definition at line 105 of file OOParticleSystem.m.
References Entity::isEffect, and Entity::owner.
|
implementation |
Reimplemented from Entity.
Definition at line 93 of file OOParticleSystem.m.
References descriptionComponents.
Referenced by descriptionComponents.
|
implementation |
Reimplemented from Entity.
Definition at line 142 of file OOParticleSystem.m.
References _count, _particleColor, _particlePosition, _particleSize, OOTexture::apply, Entity::cam_zero_distance, Entity::collision_radius, count, DrawQuadForView, OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOGL, OOGLBEGIN, OOGLEND, OOGLMultModelView(), OOGLPopModelView(), OOGLPushModelView(), OOGLTranslateModelView(), OOMatrixForBillboard(), OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_ADDITIVE_BLENDING, Entity::position, texture, UNIVERSE, x, and y.
|
implementation |
Reimplemented from Entity.
Definition at line 41 of file OOParticleSystem.m.
Referenced by init, and initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:.
| - (id) initWithPosition: | (HPVector) | position | |
| velocity: | (Vector) | velocity | |
| count: | (unsigned) | count | |
| minSpeed: | (float) | minSpeed | |
| maxSpeed: | (float) | maxSpeed | |
| duration: | (OOTimeDelta) | duration | |
| baseColor: | (GLfloat[4]) | baseColor |
Definition at line 51 of file OOParticleSystem.m.
References _count, _duration, _maxSpeed, _particleColor, _particleSize, _particleVelocity, baseColor, count, init, kFragmentBurstMaxParticles, maxSpeed, OORandomUnitVector(), randf(), Entity::scanClass, Entity::setPosition:, Entity::setStatus:, Entity::speed, and Entity::velocity.
|
implementation |
Reimplemented from Entity.
Definition at line 241 of file OOParticleSystem.m.
References isEffect.
Referenced by isEffect.
| - (OOTexture *) texture |
Reimplemented in OOExplosionCloudEntity.
Definition at line 246 of file OOParticleSystem.m.
References OOLightParticleEntity::defaultParticleTexture, and texture.
Referenced by drawImmediate:translucent:, and texture.
|
implementation |
Reimplemented from Entity.
Reimplemented in OOBigFragmentBurstEntity, OOExplosionCloudEntity, and OOSmallFragmentBurstEntity.
Definition at line 112 of file OOParticleSystem.m.
References _count, _duration, _maxSpeed, _particlePosition, _particleVelocity, _timePassed, Entity::collision_radius, count, and Entity::update:.
Referenced by OOBigFragmentBurstEntity::update:, OOExplosionCloudEntity::update:, and OOSmallFragmentBurstEntity::update:.
|
protected |
Definition at line 48 of file OOParticleSystem.h.
Referenced by drawImmediate:translucent:, initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, OOBigFragmentBurstEntity::update:, OOExplosionCloudEntity::update:, update:, and OOSmallFragmentBurstEntity::update:.
|
protected |
Definition at line 52 of file OOParticleSystem.h.
Referenced by initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, OOBigFragmentBurstEntity::update:, and update:.
|
protected |
Definition at line 53 of file OOParticleSystem.h.
Referenced by initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, and update:.
|
protected |
Definition at line 46 of file OOParticleSystem.h.
Referenced by drawImmediate:translucent:, initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, OOBigFragmentBurstEntity::update:, OOExplosionCloudEntity::update:, and OOSmallFragmentBurstEntity::update:.
|
protected |
Definition at line 44 of file OOParticleSystem.h.
Referenced by drawImmediate:translucent:, and update:.
|
protected |
|
protected |
Definition at line 50 of file OOParticleSystem.h.
|
protected |
Definition at line 45 of file OOParticleSystem.h.
Referenced by initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, and update:.
|
protected |
Definition at line 52 of file OOParticleSystem.h.
Referenced by OOBigFragmentBurstEntity::update:, OOExplosionCloudEntity::update:, update:, and OOSmallFragmentBurstEntity::update:.