Oolite
Loading...
Searching...
No Matches
OOExhaustPlumeEntity.m File Reference
Include dependency graph for OOExhaustPlumeEntity.m:

Go to the source code of this file.

Classes

category  OOExhaustPlumeEntity(Private)

Macros

#define kOverallAlpha   1.0f
#define kTimeStep   0.05f
#define kFadeLevel1   0.4f
#define kFadeLevel2   0.2f
#define kFadeLevel3   0.02f
#define kScaleLevel1   1.0f
#define kScaleLevel2   0.8f
#define kScaleLevel3   0.6f
#define PREV(n)
#define NEXT(n)

Variables

static OOTexture * sPlumeTexture = nil
static GLuint tfan1 [10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 1 }
static GLuint tstr1 [9] = { 1, 5, 9, 13, 17, 21, 25, 29, 33 }
static GLuint tstr2 [9] = { 2, 6, 10, 14, 18, 22, 26, 30, 33 }
static GLuint tstr3 [9] = { 3, 7, 11, 15, 19, 23, 27, 31, 33 }
static GLuint tstr4 [9] = { 4, 8, 12, 16, 20, 24, 28, 32, 33 }
static GLuint afttstr1 [4] = { 1, 5, 25, 29 }
static GLuint afttstr2 [4] = { 2, 6, 26, 30 }
static GLuint afttstr3 [4] = { 3, 7, 27, 31 }
static GLuint afttstr4 [4] = { 4, 8, 28, 32 }
static GLfloat pA [6] = { 0.01, 0.0, 2.0, 4.0, 6.0, 10.0 }

Macro Definition Documentation

◆ kFadeLevel1

#define kFadeLevel1   0.4f

Definition at line 39 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kFadeLevel2

#define kFadeLevel2   0.2f

Definition at line 40 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kFadeLevel3

#define kFadeLevel3   0.02f

Definition at line 41 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kOverallAlpha

#define kOverallAlpha   1.0f

Definition at line 37 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kScaleLevel1

#define kScaleLevel1   1.0f

Definition at line 42 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kScaleLevel2

#define kScaleLevel2   0.8f

Definition at line 43 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kScaleLevel3

#define kScaleLevel3   0.6f

Definition at line 44 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ kTimeStep

#define kTimeStep   0.05f

Definition at line 38 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity::update:.

◆ NEXT

#define NEXT ( n)
Value:
((n + 1) % kExhaustFrameCount)
@ kExhaustFrameCount

Definition at line 540 of file OOExhaustPlumeEntity.m.

Referenced by OOExhaustPlumeEntity(Private)::frameAtTime:fromFrame:.

◆ PREV

#define PREV ( n)

Variable Documentation

◆ afttstr1

GLuint afttstr1[4] = { 1, 5, 25, 29 }
static

Definition at line 352 of file OOExhaustPlumeEntity.m.

352{ 1, 5, 25, 29 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ afttstr2

GLuint afttstr2[4] = { 2, 6, 26, 30 }
static

Definition at line 353 of file OOExhaustPlumeEntity.m.

353{ 2, 6, 26, 30 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ afttstr3

GLuint afttstr3[4] = { 3, 7, 27, 31 }
static

Definition at line 354 of file OOExhaustPlumeEntity.m.

354{ 3, 7, 27, 31 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ afttstr4

GLuint afttstr4[4] = { 4, 8, 28, 32 }
static

Definition at line 355 of file OOExhaustPlumeEntity.m.

355{ 4, 8, 28, 32 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ pA

GLfloat pA[6] = { 0.01, 0.0, 2.0, 4.0, 6.0, 10.0 }
static

Definition at line 357 of file OOExhaustPlumeEntity.m.

357{ 0.01, 0.0, 2.0, 4.0, 6.0, 10.0 }; // phase adjustments

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, and mz_zip_string_equal().

◆ sPlumeTexture

◆ tfan1

GLuint tfan1[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 1 }
static

Definition at line 343 of file OOExhaustPlumeEntity.m.

343{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 1 }; // initial fan 0..9

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ tstr1

GLuint tstr1[9] = { 1, 5, 9, 13, 17, 21, 25, 29, 33 }
static

Definition at line 346 of file OOExhaustPlumeEntity.m.

346{ 1, 5, 9, 13, 17, 21, 25, 29, 33 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ tstr2

GLuint tstr2[9] = { 2, 6, 10, 14, 18, 22, 26, 30, 33 }
static

Definition at line 347 of file OOExhaustPlumeEntity.m.

347{ 2, 6, 10, 14, 18, 22, 26, 30, 33 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ tstr3

GLuint tstr3[9] = { 3, 7, 11, 15, 19, 23, 27, 31, 33 }
static

Definition at line 348 of file OOExhaustPlumeEntity.m.

348{ 3, 7, 11, 15, 19, 23, 27, 31, 33 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.

◆ tstr4

GLuint tstr4[9] = { 4, 8, 12, 16, 20, 24, 28, 32, 33 }
static

Definition at line 349 of file OOExhaustPlumeEntity.m.

349{ 4, 8, 12, 16, 20, 24, 28, 32, 33 };

Referenced by OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:.