67 void SetTarget(
char nTrack,
float flStartTick,
float flEndTick);
95 void SetWindow(
char nTrack,
float flStartTick,
float flEndTick);
116 void Poll(
float flDelta,
float flAlpha);
130 std::unique_ptr<RndMesh> mMesh;
131 std::unique_ptr<InvExpInterpolator> mTrackCurve;
132 std::unique_ptr<InvExpInterpolator> mDepthCurve;
137 float mFromStartTick;
139 float mTargetStartTick;
140 float mDrawnStartTick;
143 float mTargetEndTick;
151 float mMultiplierStartTime;
169 static void AddStrip(std::vector<RndMesh::Face> &faces,
191 void SetTexCoords(std::vector<RndMesh::Vert> &verts,
213 void SetSection(std::vector<RndMesh::Vert> &verts,
233 Layout(std::vector<RndMesh::Vert> &verts,
float flTrack,
float flStartTick,
float flEndTick);
Reference-counted array of script data nodes.
Definition dataarray.h:20
Tunnel of tracks the players fly down, with the gems, the cameras of the players, and the effects dra...
Definition gfxtunnel.h:58
Straight-line interpolator.
Definition interpolator.h:99
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
The geometry of the tracks of the tunnel, which places a cell of a track in the world.
Definition tnlgeom.h:32
void SetWindow(char nTrack, float flStartTick, float flEndTick)
Receive the window the cursor fades in on.
void SetTarget(char nTrack, float flStartTick, float flEndTick)
Start the glide to a new track and window.
void LoadConfig(DataArray *pConfig, DataArray *pDefaults, GfxTunnel *pTunnel, int nOption)
Load the shape of the frame from the seeker_frame section and build the mesh.
void StopMultiplier()
Return to the normal material.
static float sFadeSpeed
The fade speed of the cursor, seeker_fade_speed over 1000.
Definition tnlseeker.h:126
void StartMultiplier(float flEndTick)
Draw with the multiplier material, shrinking the frame until a tick.
~TnlSeeker()
Delete the mesh and the curves.
void Poll(float flDelta, float flAlpha)
Advance the glide and rebuild the mesh when the frame moves.
void OnRangeChanged(const TnlTrackRange *pRange)
Mark the mesh for rebuilding when the tunnel changes a range that overlaps the frame.
TnlSeeker(TnlGeom *pGeom, int nPlayer, const char *pszColor)
Find the materials and create the mesh of a player's frame.
A run of tracks over a span of ticks, which the tunnel reports when the region changes.
Definition tnltrackrange.h:8