75 void SetRange(
int nFirstSlice,
int nSliceCount,
int nRing);
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Base of every object the renderer can load, resolve by name, and serialise.
Definition object.h:43
void SetRange(int nFirstSlice, int nSliceCount, int nRing)
Place the strip on a run of slices.
void SetColor(const Color &color)
Store a colour and recolour every section already updated.
int mStepNumerator
Definition tunnelseekstrip.h:152
void Build(Tunnel *pTunnel, TunnelSeeker *pOwner, int nIndex)
Generate the sections for a tunnel.
Tunnel * mTunnel
Definition tunnelseekstrip.h:150
Color mColor
Definition tunnelseekstrip.h:148
int mFirstSlice
Definition tunnelseekstrip.h:145
void Clear()
Release the material reference and empty the sections.
TunnelSeeker * mOwner
Definition tunnelseekstrip.h:151
void Replace(Object *pFrom, Object *pTo, Object *pReferrer)
Replace the material reference.
void SetMat(Mat *pMat)
Replace the material and hand it to the finest mesh of every section.
~TunnelSeekStrip()
Release the material reference and destroy the strip.
Definition tunnelseekstrip.h:48
int mRing
Definition tunnelseekstrip.h:147
void DrawSection(int nSlice, float flScreenSize)
Draw the section placed on one slice.
std::vector< TunnelSeekSection > mSections
Definition tunnelseekstrip.h:155
int mSliceCount
Definition tunnelseekstrip.h:146
void Refresh()
Place the strip again on the run it last received.
Mat * mMat
Definition tunnelseekstrip.h:149
int mStepSize
Definition tunnelseekstrip.h:153
int mStepCount
Definition tunnelseekstrip.h:154
TunnelSeekStrip()
Construct an empty strip with a white colour.
Marker that travels around the tunnel rings towards a target ring.
Definition tunnelseeker.h:33
Procedural tunnel the game flies the player through.
Definition tunnel.h:72
The rendering engine.
Definition animhelper.h:3
Linear colour with four float components.
Definition color.h:10