82 void Spin(
float flTime,
float flTumbleX,
float flTumbleY);
110 void Update(
bool bPlaying,
float flTicks,
float flTime,
float flScale);
160 static constexpr float kNoFlash = -1e9f;
163 static constexpr float kNotSetUp = -1.0f;
void Update(bool bPlaying, float flTicks, float flTime, float flScale)
Advance the animations and scale the freestylus.
void SetPitchColor(float flPitch, float flColor)
Pose the pitch and the colour of the freestylus.
Freestylus(GfxTunnel *pTunnel, int nType)
Find the views, animations, and particle systems of the freestylus.
~Freestylus()
Destroy the freestylus.
void Flash()
Start the flash.
void Draw(RndTransformable *pParent, int bAssembled)
Draw the freestylus under a parent.
Type
The kinds of freestyle.
Definition freestylus.h:23
@ kTypeScratch
Definition freestylus.h:25
@ kTypeAxe
Definition freestylus.h:24
static float sTumbleAnglePerMs
The angle of the tumble per unit of its rate, tumble_angle_per_ms.
Definition freestylus.h:128
void Reset()
End the flash and restart the particles of the button.
void Spin(float flTime, float flTumbleX, float flTumbleY)
Turn the basis of the tumble about its X and Y axes, and keep it orthonormal.
void Setup(float flScale)
Scale the freestylus and its particles, the first time only.
void ClearParticles()
Free every particle of the freestylus and of its arm.
RampAnimator & GetSample()
Definition freestylus.h:136
RampAnimator & GetBeamGrow()
Definition freestylus.h:131
Tunnel of tracks the players fly down, with the gems, the cameras of the players, and the effects dra...
Definition gfxtunnel.h:58
Particle system that hangs from a transform and is drawn as a reflection of it.
Definition particlearm.h:12
Value that moves toward a target along an interpolator, and poses an animation on the value.
Definition rampanimator.h:14
Mix-in for an object driven by a frame.
Definition rndanimatable.h:16
Emitter that spawns, moves, and fades a population of particles.
Definition rndparticlesys.h:69
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27
Particle system that emits in several steps along the path its transform moved since the last update,...
Definition substepparticles.h:12
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:14