175 int nTrack,
int nBar,
int nRefreshing,
Player *pPlayer,
int nPowerup,
int nEnabled);
282 static constexpr int kTrackCount = 8;
330 void StartFireFX(
float flPathStart,
334 const Color &altColor,
345 int StartCrippleFX(
const std::vector<TnlPlayer *> &targets,
float flFrame);
355 int StartBumpFX(
int nStep,
const HxStr &colorName,
int nForward,
float flPathOffset);
365 int StartSnake(
float flFrame,
int nRing,
const Color &color,
float flPhase,
float flAmplitude);
375 void AddPendingTrigger(
TnlTrigger *pTrigger,
float flFrame);
386 void PlaceStringFlareOnRing(
int nRing,
float flBlend);
396 void AddPanel(
TnlPanel *pPanel,
float flStartFrame);
639 void UpdateGhostFades();
652 std::vector<TnlFireFX *> mFireFX;
653 std::vector<TnlCrippleFX *> mCrippleFX;
654 std::vector<TnlPanelFX *> mPanelFX;
655 std::vector<TnlBumpFX *> mBumpFX;
656 std::vector<TnlSnake *> mSnakes;
657 std::vector<TnlPendingTrigger> mPendingTriggers;
658 std::vector<GemFlash *> mGemFlashes;
659 std::vector<TnlArrow *> mArrows;
674 std::list<TnlPanel *> mPanels;
676 std::vector<float> mGhostFadeRates;
678 std::vector<Rnd::Cam *> mSavedCams;
685 float mInitialTempoRate;
687 std::vector<Rnd::Mat *> mGhostMats;
690 std::vector<char> mTrackEffectKinds;
693 std::vector<char> mPowerupGemKinds;
695 std::vector<char> mHexGemKinds;
697 std::vector<char> mGhostGemKinds;
714 unsigned char mReserved14c[0x14];
716 unsigned char mReserved164[0x0c];
AppTunnel * g_pAppTunnel
The tunnel that exists, or null.
Event the game passes between a MsgSource and a MsgSink.
Definition advancesectiontogglemsg.h:22
Game-side driver of the tunnel the in-game renderer draws.
Definition apptunnel.h:88
int mShowCrates
Definition apptunnel.h:704
int StartPanelFX(int nRing, int nSlice, int nForward)
Start the first idle panel effect on one cell.
virtual void DispatchPriv(Message *pMsg)
Act on one message the renderer sends on.
AppTunnel(Renderer *pRenderer)
Build the tunnel for the game about to start.
void PlaceStringFlare(const Vector3 &pos)
Move the first unplaced particle of "string flare.ps" to a point.
void OnBarChanged(int nTrack, int nBar, int nRefreshing, Player *pPlayer, int nPowerup, int nEnabled)
Update the tunnel section of one bar whose state a BarStatusMsg changed.
virtual ~AppTunnel()
Release every tunnel object and give each main camera back its saved state.
void ShowTrackGhost(int nTrack, Rnd::Drawable *pGhost)
Show the ghost gems of one track in a drawable.
void PrepareLocalView(int nView, float flFrame)
Turn the now ring for one local view before the renderer draws it.
void HideTrackGhost(int nTrack)
Make the ghost material of one track opaque again and fade the ghost out at -0.15.
std::vector< TnlPlayer * > mPlayers
Definition apptunnel.h:666
Rnd::Mat * GetGhostMat(int nTrack)
Report the "gem_ghost<n>.mat" material of one track.
void SetFrame(float flFrame)
Advance the tunnel to one song position.
void OnLeaderChanged(Player *pOldLeader, Player *pNewLeader)
Move the leader marker from one player's activator to another's.
void StartGemFlash(const Vector3 &pos)
Start one flash of "gem_flash.ps" at a point.
int IsTrackBarLocked(int nTrack, int nBar)
Report whether the player may not act on one bar of a track.
Event the game passes between a MsgSource and a MsgSink.
Definition catchmsg.h:24
Event the game passes between a MsgSource and a MsgSink.
Definition cleargemmsg.h:20
Event the game passes between a MsgSource and a MsgSink.
Definition cleargemsmsg.h:19
Network packet the game sends between game systems.
Definition cripplepacket.h:28
Event the game passes between a MsgSource and a MsgSink.
Definition deployedpowerupmsg.h:25
Event the game passes between a MsgSource and a MsgSink.
Definition durgemmsg.h:20
Ribbons that trace durable gems along the tunnel lanes.
Definition durgemtrails.h:31
Event the game passes between a MsgSource and a MsgSink.
Definition freestylefxmsg.h:19
Event the game passes between a MsgSource and a MsgSink.
Definition gemmsg.h:29
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Event the game passes between a MsgSource and a MsgSink.
Definition juiceamountmsg.h:20
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Receiver of engine messages.
Definition msgsink.h:37
Event the game passes between a MsgSource and a MsgSink.
Definition multiplierstatemsg.h:23
Event the game passes between a MsgSource and a MsgSink.
Definition nowbarmsg.h:24
Event the game passes between a MsgSource and a MsgSink.
Definition phrasemuffedmsg.h:31
Event the game passes between a MsgSource and a MsgSink.
Definition pitchmsg.h:24
Traversal order over one playable sequence.
Definition playmap.h:47
Event the game passes between a MsgSource and a MsgSink.
Definition playbacktogglemsg.h:20
One participant in a session, local or remote.
Definition player.h:39
Event the game passes between a MsgSource and a MsgSink.
Definition playerstrackneutralizedmsg.h:25
Event the game passes between a MsgSource and a MsgSink.
Definition powerupfailedmsg.h:22
In-game renderer that drives the tunnel, the overlay, and the arena for one game.
Definition renderer.h:56
Camera.
Definition cam.h:53
Mix-in for an object that draws itself and then a list of other drawables.
Definition drawable.h:32
Light in a scene.
Definition light.h:41
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Emitter that spawns, integrates, and draws a population of particles.
Definition particlesys.h:60
Root of a loadable scene.
Definition view.h:47
Event the game passes between a MsgSource and a MsgSink.
Definition sectioncapturedmsg.h:24
Event the game passes between a MsgSource and a MsgSink.
Definition seekermsg.h:25
Event the game passes between a MsgSource and a MsgSink.
Definition showeraseeffectmsg.h:26
Event the game passes between a MsgSource and a MsgSink.
Definition susgemmsg.h:23
Burst of three particle arms shown for a limited time after a trigger frame.
Definition tnlarms.h:27
Arrow mesh that appears in the local view of up to four players for a limited time.
Definition tnlarrow.h:20
Marker that stands in the tunnel at the next step boundary and labels it.
Definition tnlboundary.h:22
Burst of generated instances that sweeps along a short stretch of the tunnel.
Definition tnlbumpfx.h:25
Main tunnel cameras and the blend between the intro pose and the playing pose.
Definition tnlcamerarig.h:29
Crippler effect that flies along a path and hits a set of players.
Definition tnlcripplefx.h:22
Coloured particle fire that travels down the tunnel path from one lane.
Definition tnlfirefx.h:27
Keeper of every gem on the tunnel, which it draws within a per-frame cost budget.
Definition tnlgemmanager.h:27
Material animation that plays out the tunnel lattice once it is triggered.
Definition tnllattice.h:19
Particle burst that plays along "multfx.path" for one run.
Definition tnlmultfx.h:19
Ring of "now" meshes around the tunnel, with a gap under each player.
Definition tnlnowring.h:24
Flash that lifts one tunnel panel out of the wall and fades it away.
Definition tnlpanelfx.h:25
One tunnel section whose material and colour follow the lane owner, with a timed show or erase.
Definition tnlpanel.h:30
Everything AppTunnel drives in the tunnel for one player.
Definition tnlplayer.h:31
Glowing ribbon with a head mesh that snakes along one lane of the tunnel.
Definition tnlsnake.h:26
An action AppTunnel schedules for a later frame.
Definition tnltrigger.h:14
Event the game passes between a MsgSource and a MsgSink.
Definition toggleghostmsg.h:20
Event the game passes between a MsgSource and a MsgSink.
Definition trackselectmsg.h:24
Event the game passes between a MsgSource and a MsgSink.
Definition winmsg.h:30
The rendering engine.
Definition animhelper.h:3
Linear colour with four float components.
Definition color.h:10
One live particle of a Rnd::ParticleSys.
Definition particle.h:33
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:12
TrackMode
The play modes of a track, as TrackData::Print() writes them.
Definition trackdata.h:22