|
Oolite
|
#include <DustEntity.h>
Private Attributes | |
| OOColor * | dust_color |
| Vector | vertices [DUST_N_PARTICLES *2] |
| GLushort | indices [DUST_N_PARTICLES *2] |
| GLfloat | color_fv [4] |
| OOTexture * | texture |
| bool | hasPointSprites |
| bool | drawDust |
Definition at line 36 of file DustEntity.h.
|
implementation |
Reimplemented from Entity.
Definition at line 140 of file DustEntity.m.
References canCollide.
Referenced by canCollide.
|
implementation |
Provided by category DustEntity(Private).
Referenced by drawImmediate:translucent:, and update:.
|
implementation |
Reimplemented from Entity.
Definition at line 113 of file DustEntity.m.
References dealloc, Entity::dealloc, DESTROY, dust_color, OOGraphicsResetManager::sharedManager, texture, and OOGraphicsResetManager::unregisterClient:.
Referenced by dealloc.
|
implementation |
Reimplemented from Entity.
Definition at line 251 of file DustEntity.m.
References OOTexture::apply, PlayerEntity::atHyperspeed, checkShaderMode, color_fv, DEBUG_NO_DUST, drawDust, DUST_N_PARTICLES, EXPECT_NOT, FAR_PLANE, gDebugFlags, GLScaledLineWidth(), GLScaledPointSize(), hasPointSprites, indices, Entity::isSunlit, NEAR_PLANE, nil, OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOClamp_0_1_f(), OOGL, OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OPAQUE, PLAYER, UNIVERSE, vector_subtract(), vertices, and warpVector.
| - (OOColor *) dustColor |
Definition at line 135 of file DustEntity.m.
References dust_color, and dustColor.
Referenced by dustColor.
|
implementation |
Reimplemented from Entity.
Definition at line 62 of file DustEntity.m.
References Entity::collision_radius, OOColor::colorWithRed:green:blue:alpha:, drawDust, dust_color, DUST_N_PARTICLES, DUST_SCALE, hasPointSprites, OOOpenGLExtensionManager::haveExtension:, indices, init, Entity::init, ranrot_rand, OOGraphicsResetManager::registerClient:, Entity::setStatus:, OOGraphicsResetManager::sharedManager, OOOpenGLExtensionManager::sharedManager, texture, OOTexture::textureWithName:inFolder:options:anisotropy:lodBias:, and vertices.
Referenced by init.
|
implementation |
Definition at line 395 of file DustEntity.m.
References DESTROY, DUST_N_PARTICLES, resetGraphicsState, and vertices.
Referenced by resetGraphicsState.
| - (void) setDustColor: | (OOColor*) | color |
Definition at line 127 of file DustEntity.m.
References dust_color, and OOColor::getRed:green:blue:alpha:.
Referenced by Universe::setSystemDataForGalaxy:planet:key:value:fromManifest:forLayer:, and Universe::setUpSpace.
|
implementation |
Reimplemented from Entity.
Definition at line 151 of file DustEntity.m.
References Entity::cameraRelativePosition, checkShaderMode, DUST_N_PARTICLES, DUST_SCALE, EXPECT_NOT, vector_flip(), vertices, x, y, and Entity::zero_distance.
|
implementation |
Reimplemented from Entity.
Definition at line 145 of file DustEntity.m.
References Entity::cameraRelativePosition, DUST_SCALE, make_vector(), updateCameraRelativePosition, HPVector::x, HPVector::y, and HPVector::z.
Referenced by updateCameraRelativePosition.
|
implementation |
Definition at line 246 of file DustEntity.m.
References HYPERSPEED_FACTOR, PLAYER, vector_multiply_scalar(), Entity::velocity, and warpVector.
Referenced by drawImmediate:translucent:, and warpVector.
|
private |
Definition at line 41 of file DustEntity.h.
Referenced by drawImmediate:translucent:.
|
private |
Definition at line 44 of file DustEntity.h.
Referenced by drawImmediate:translucent:, and init.
|
private |
Definition at line 38 of file DustEntity.h.
Referenced by dealloc, dustColor, init, and setDustColor:.
|
private |
Definition at line 43 of file DustEntity.h.
Referenced by drawImmediate:translucent:, and init.
|
private |
Definition at line 40 of file DustEntity.h.
Referenced by drawImmediate:translucent:, and init.
|
private |
Definition at line 42 of file DustEntity.h.
|
private |
Definition at line 39 of file DustEntity.h.
Referenced by drawImmediate:translucent:, init, resetGraphicsState, and update:.