210 std::unique_ptr<RndMat> mMatCopy;
216 std::vector<float> mGemTicks;
227 static void SetGlowSizes(std::list<TnlGem> *pGems,
char nTrack,
float flSize);
238 static void RestoreGlowSizes(std::list<TnlGem> *pGems,
char nTrack,
float flSize);
Reference-counted array of script data nodes.
Definition dataarray.h:20
Interpolator whose output follows a power of the input's position in the range.
Definition interpolator.h:147
Tunnel of tracks the players fly down, with the gems, the cameras of the players, and the effects dra...
Definition gfxtunnel.h:58
Interpolator that mirrors ExpInterpolator, easing out of the start of the range.
Definition interpolator.h:218
Straight-line interpolator.
Definition interpolator.h:99
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
Emitter that spawns, moves, and fades a population of particles.
Definition rndparticlesys.h:69
The geometry of the tracks of the tunnel, which places a cell of a track in the world.
Definition tnlgeom.h:32
static float sCaptureSpewTicks
The ticks ahead of the song a capture spews from, autocapture_burst_tick.
Definition tnltrackfx.h:151
bool Poll(GfxTunnel *pTunnel, TnlGeom *pGeom)
Advance the effect.
static float sCaptureCamJiggle
The kick a capture gives the camera, autocapture_cam_jiggle.
Definition tnltrackfx.h:159
float CaptureEndTime() const
Report the time the drop of a capture ends.
static Vector2 sFlareSize
The size the gems of a capture flare from and to, autocapture_flare_size times the scroll speed.
Definition tnltrackfx.h:175
void Enable(GfxTunnel *pTunnel)
Start the enable effect.
static float sCaptureHeight
The height a capture raises the track, autocapture_offset_height times the scroll speed.
Definition tnltrackfx.h:134
void Capture(GfxTunnel *pTunnel, float flTick)
Start the capture effect, and spew from the track.
static void LoadConfig(DataArray *pConfig, DataArray *pDefaults, GfxTunnel *pTunnel, int nOption)
Load the settings of the effects of the tracks, the streak arrows, and the cripplers.
TnlTrackFX(char nTrack)
Construct the effects of a track, and for track 0 the shared spew of a capture.
static float sEnableHeight
The depth an enable effect starts the track at, track_enable_offset_height times the scroll speed.
Definition tnltrackfx.h:143
void Stop(GfxTunnel *pTunnel)
Stop the effect at once and put the track back.
static float sEnableTimes[3]
The milliseconds the enable effect rises, holds lit, and fades, track_activate_lengths.
Definition tnltrackfx.h:117
char GetState() const
Definition tnltrackfx.h:194
static float sSpewFrame
The frame of sSpew, which each capture advances.
Definition tnltrackfx.h:191
~TnlTrackFX()
Release the shared spew, and the material of a track other than track 0.
char GetTrack() const
Definition tnltrackfx.h:199
static float sCaptureBrightness
The alpha of the overlay of a capture, autocapture_track_brightness.
Definition tnltrackfx.h:167
static float sCaptureTimes[3]
The milliseconds the capture drops and falls, then an unused length, autocapture_anim_times.
Definition tnltrackfx.h:126
State
The values of mState.
Definition tnltrackfx.h:26
@ kStateCapture
Definition tnltrackfx.h:29
@ kStateEnable
Definition tnltrackfx.h:28
@ kStateIdle
Definition tnltrackfx.h:27
static RndParticleSys * sSpew
The particle system a capture spews from, autocapture spew.part.
Definition tnltrackfx.h:183
Two-component vector, used for texture coordinates.
Definition vector2.h:12