|
wavelength 1.0.0
|
Tunnel of tracks the players fly down, with the gems, the cameras of the players, and the effects drawn on the tracks. More...
#include <gfxtunnel.h>

Classes | |
| struct | BarData |
| The look of one bar of a track, 0x14 bytes. More... | |
| class | TrackData |
| The state of one track, 0x2c bytes. More... | |
Public Types | |
| enum | BarFlag { kBarFlagNoReveal = 0x4 , kBarFlagCheckpoint = 0x8 , kBarFlagFinish = 0x10 , kBarFlagBeforeSong = 0x20 } |
| The bits of BarData::mFlags. More... | |
| enum | GemBurst { kGemBurstGem = 0 , kGemBurstAuto = 1 , kGemBurstMult = 2 , kGemBurstSlow = 3 , kGemBurstFree = 4 , kGemBurstBump = 5 , kGemBurstCrip = 6 , kNumGemBursts = 7 } |
| The kinds of the capture bursts of mGemBurstViews, in order. More... | |
| enum | PowerupGem { kPowerupGemAuto = 0 , kPowerupGemMult = 1 , kPowerupGemSlow = 2 , kPowerupGemFree = 3 , kPowerupGemBump = 4 , kPowerupGemCrip = 5 , kNumPowerupGems = 6 } |
| The powerup gems of mPowerupGemGroups, in order. More... | |
| typedef std::pair< Vector2, Vector2 > | Segment |
| A line of the cross section of the tunnel, from one point to the other. | |
Public Member Functions | |
| GfxTunnel (const std::vector< int > &instruments, const std::vector< int > &trackTypes, GfxArena *pArena, int nOption, float fStartTick, float fSongTicks) | |
| Build the tunnel of a song. | |
| ~GfxTunnel () | |
| Destroy the tunnel. | |
| int | BuildOuterCams () |
| Find the outer cameras, one for each player, and fit them to the screen. | |
| void | LoadViews (std::vector< RndView * > *pViews, const char *pszFormat) |
| Collect the views of a numbered series, <format> with 1, 2, and on, until one is missing. | |
| void | LoadTrackColors () |
| Load the colour of each instrument from its panel material and colour each track. | |
| void | UpdateTrackGemGroups () |
| Give each track the sprite gem group of its instrument. | |
| void | SetShowPanels (int bShow) |
| Show or hide the panels of the tracks. | |
| void | SetShowDividers (int bShow) |
| Show or hide the boundaries between the sections of the song. | |
| void | SetShowActivator (int bShow) |
| Show or hide the targets of the activators, target <n>_<c>.mesh for each colour. | |
| void | BuildPanels (int bResetPanels, RndTransAnim *pCamPath) |
| Build the panels of the tracks from the cross section of the tunnel. | |
| void | PrintBars (int nPlayer) |
| Report the bars of the track of a player through the debug output. | |
| void | AddPanel (GfxTunnelPanel *pPanel, int bDeferred, float flRevealTick) |
| Queue a panel to apply when its track is no longer captured or its reveal ends. | |
| TnlPlayer * | GetPlayer (int nPlayer) |
| Report the graphics of a player. | |
| float | GetFreestyleConstraint () |
| Report how far the arena constrains the freestyles at the frame of its camera. | |
| bool | HasActiveBar (int nTrack, float flTick) |
| Report whether the bar of a track at a tick maps to the song and has no owner. | |
| void | OnGemRemoved (const TnlGem *pGem) |
| Tell the spotlight and the cursors of the players that a gem leaves the tunnel. | |
| Particle * | Flash (const Vector3 *pPos, float flSize, float flGrowth) |
| Start a flash at a position with the first free flash effect. | |
| bool | Burst (const std::vector< RndView * > *pViews, char nTrack, bool bErase, float flTick, float flLateral) |
| Start a capture burst at a gem with the first free burst effect, through a random view. | |
| int | GetTrackInstrument (int nTrack) |
| Report the instrument of a track. | |
| void | SetTrackInstrument (int nTrack, int nInstrument) |
| Give a track another instrument. | |
| int | GetTrackType (int nTrack) |
| Report the type of a track. | |
| int | GetPlayerTrack (int nPlayer) |
| Report the track a player is on. | |
| bool | IsTrackOpen (int nTrack) const |
| Report whether a track is open, its effect not in the state that closes it. | |
| bool | IsTrackCaptured (int nTrack) const |
| Report whether a track is captured, for a track given as an int. | |
| bool | IsTrackCaptured (char nTrack) const |
| Report whether a track is captured. | |
| const Vector3 * | GetHudOffset () |
| Report the offset of the head-up display from the camera. | |
| void | Poll (float fTicks, float fTime) |
| Advance the tunnel and every effect it draws. | |
| void | PollCameras (float fTicks, float fTime) |
| Update the trail of the freestyle of each player. | |
| void | SetLetterbox (float fLetterbox) |
| Set how far the letterbox is closed, and move the field of view of the outer cameras from sCameraFov towards sLetterboxFov with it. | |
| void | DrawBackground () |
| Draw the fires, the boundaries between the sections, and the panels of the tracks. | |
| void | DrawTracks () |
| Draw the gems, the grid, the transparent layer, the spotlights, the capture bursts, the arrows of the tracks, the cripplers, and the beams of the ships. | |
| void | DrawCameras () |
| Draw the overlays of the tracks and the freestyle of each player. | |
| void | DrawForeground () |
| Draw the overlay camera, the arrows of the ships on each track, the fade of mFadeMesh, and the shell of a slowdown. | |
| void | StartFade (bool bToBlack) |
| Start the fade of mFadeMesh from its current opacity over sFadeToBlackDuration. | |
| void | RefreshChangedRange () |
| Refresh the grids, the cursors, the arrows, and the spotlights over mChangedRange. | |
| float | PanelWidth () const |
| Report the width of a panel of the tunnel. | |
| void | CollectGemTicks (std::vector< float > *pTicks, char nTrack, float flFromTick, float flToTick) |
| Collect the ticks of the bars of a track a fire burns between two ticks. | |
| void | StartFire (int nPlayer, int nTrack, int bAuto, float flTick, float flStartTick, float flEndTick, const Color *pInnerColor, const Color *pOuterColor, const std::vector< float > *pGemTicks) |
| Start the fire of a captured track with the first free fire effect, or else the one that started first. | |
| bool | IsActivatorIdle (int nPlayer) |
| Report whether the activator of a player is at rest. | |
| void | ReportParticles () |
| Report the use of the particles of the particle arms through the debug output. | |
| void | SetEnergy (float flEnergy, int nZone) |
| Show the energy as the frame of boundary_condition.view, a thousand times the energy. | |
| void | SetStreakMultiplier (int nPlayer, int nMultiplier, int nNextMultiplier, const char *pszMultiplier, const char *pszNextMultiplier, bool bBoosted) |
| Colour the track of a player for a multiplier, and for a local player show the text of the next multiplier on the first arrow of the tracks. | |
| void | SetMultiplierEndTick (int nPlayer, float flTick) |
| Start the multiplier on the cursor of a player, unless the player has no graphics. | |
| void | ShowSlowdown (int nPlayer, float flStartTick, float flEndTick, float flStopTick) |
| Start the shell of a slowdown, then the blur slowdown_end from flEndTick to flStopTick and the blur slowdown_start from the song tick to flStartTick. | |
| void | ShowCripple (int nAttacker, int nVictim) |
| Start the first idle crippler, or the last crippler when every crippler is busy. | |
| void | ShowBump (int nAttacker, int nVictim, int nTrack) |
| Tell the activators of two players of a bump, skipping a player with no graphics. | |
| void | SetPlayerTrack (int nPlayer, int nTrack, int nTrackType, int nInstrument) |
| Take a player off the freestyle and move the player and the grid of the player to a track. | |
| void | SetPlayerFreestyle (int nPlayer, bool bVictory, bool bQuick) |
| Start the freestyle of a player and take the player off its track. | |
| int | GetViewedTrack (int nPlayer) |
| Report the track the ship of the freestyle of a player is over. | |
| void | SetFreestylePosition (int nPlayer, const Vector3 &stick) |
| Set the position of the stick of the freestyle of a player, unless the player has no graphics. | |
| void | ShowScratchNote (int nPlayer, float flTick, float flDuration) |
| Sweep the needle of the scratch freestyle of a player for a note, unless the player has no graphics. | |
| void | SetTrackPlayers (int nTrack, int nPlayers, const int *pPlayers) |
| Record the players on a track, in order of place, for the next poll. | |
| void | PlaceGem (int nTrack, int nSlot, int nPlayer, float flTick, int bSlot, int nPowerup) |
| Place a gem on a track, unless it lies more than 960 ticks behind the song. | |
| void | RemoveGem (int nTrack, int nSlot, float flTick) |
| Remove the gems of a tick and slot of a track, and tell the cursors when the tick is more than 80 ticks ahead of the song. | |
| void | ClearGems (int nTrack, bool bErase, float flStartTick, float flEndTick) |
| Remove the gems of a track over a span of ticks, and tell the cursors when the span ends more than 80 ticks ahead of the song. | |
| void | HideNextPhrase (bool bNow) |
| Hide the arrow of each track. | |
| void | ShowNextPhrase (int nTrack, float flTick, int nSlot) |
| Point the arrow of a track at the first gem of the next phrase, when the tracks have arrows. | |
| void | SetCatchMeter (int nPlayer, float flLevel) |
| Set the energy of the cursor of a player. | |
| void | ShowGemResult (int nTrack, int nSlot, bool bHit, int nPlayer, int nBurst, float flTick) |
| Show the result of a gem on the activator of a player. | |
| void | HitGem (int nPlayer, int nTrack, int nSlot, float flTick) |
| Flash the cell of a gem with the flash of a pitched gem. | |
| void | SetFreestyle (int nPlayer, bool bPlaying, int nColumn) |
| Record whether a player plays the freestyle, and outside a remix whether the gems of the focus track fire hit events. | |
| void | ResetFreestyle (int nPlayer) |
| Start a sample on the freestyle of a player. | |
| void | ShowCapture (int nPlayer, int nTrack, int bAuto, bool bFreestyle, float flStartTick, float flEndTick) |
| Record the capture of a phrase of a track and start its effect, except in a duel. | |
| void | ShowResult (bool bWon, int nPlayer, bool bCampaignWin, bool bUnlocked) |
| Show the result of the song. | |
| void | StartBossJourney () |
| Start the boss journey, which ends mBossDoneTicks after the song tick. | |
| void | ShowPhrase (int nPlayer, int nTrack, bool bPlayable, float flStartTick, float flEndTick, int nStyle, bool bSlide) |
| Point the cursor of a player at a phrase, or refresh the cursor. | |
| void | SetBar (int nTrack, int nPlayer, int nOwner, bool bInSong, bool bNow, int nFlags, signed char nInstrument, float flTick, float flTicks) |
| Set the look of one bar of a track, adding the bar when it is not set, and show its panel. | |
| void | DimBar (int nTrack, float flTick) |
| Darken the panel of one bar of a track by sDuelFailDarkening. | |
| void | SetTrackEnabled (int nTrack, bool bEnabled) |
| Start the effect that enables a track. | |
| void | AddCheckpoint (const char *pszLabel, float flTick, float flTextScale) |
| Add a boundary between the sections of the song. | |
| void | ClearCheckpoints () |
| Remove every boundary between the sections of the song. | |
| void | SetOption (bool bOption) |
| Select the near or the far pull back of the camera. | |
| int | GetOption () |
| Report whether the far pull back of the camera is selected. | |
| void | SetZoom (float flZoom) |
| Set the pull back of the camera. | |
| void | BlendToArenaPath (bool bArena) |
| Blend the camera towards the arena path or back over one second from the current blend. | |
| void | SetCatcherShown (int nPlayer, bool bShown) |
| Show or hide the catcher of a player. | |
| void | ClearLanes () |
| Reset the activator of each player and put every player at its track at once. | |
| void | ClearAll () |
| Clear every effect of the tunnel. | |
| int | GetTrackPlayersDirty () const |
| void | SetTrackPlayersDirty (int nValue) |
| Set whether SetTrackPlayers() changed the players of a track. | |
| int | GetPanelColorsDirty () const |
| void | SetPanelColorsDirty (int nValue) |
| Set whether the next poll restores the colours of the panels. | |
| signed char | GetDefaultFocusTrack () const |
| void | SetDefaultFocusTrack (signed char nValue) |
| Set the track the gems focus on. | |
| TnlDivider * | GetDivider () const |
| ParticleArms * | GetArms () const |
| const std::vector< std::unique_ptr< TnlFire > > & | GetFires () const |
| const std::vector< std::unique_ptr< TnlTrackFX > > & | GetTrackFX () const |
| const std::vector< std::unique_ptr< TnlFlashFX > > & | GetFlashes () const |
| const std::vector< std::unique_ptr< TnlCripFX > > & | GetCrippleFX () const |
| TnlSlowdownFX * | GetSlowdown () const |
| SpotLightFX * | GetSpotLights () const |
| GemEraseFX * | GetGemErase () const |
| TnlWinShell * | GetWinShell () const |
| TnlBlurs * | GetBlurs () const |
| const std::vector< std::unique_ptr< TnlGemCapFX > > & | GetGemCaps () const |
| const std::vector< std::unique_ptr< TnlStreakGemFX > > & | GetStreakGems () const |
| TnlGems * | GetGems () const |
| TnlGeom * | GetGeom () const |
| RndView * | GetTransparentView () const |
| RndView * | GetGridView () const |
| GfxArena * | GetArena () const |
| RndLight * | GetTrackColorLight () const |
| int | GetTrackColorPlayer () const |
| RndMesh * | GetFadeMesh () const |
| LinearInterpolator & | GetFadeCurve () |
| const std::vector< std::unique_ptr< TnlPlayer > > & | GetPlayers () const |
| const Color & | GetSavedClearColor () const |
| const std::list< std::unique_ptr< GfxTunnelPanel > > & | GetPanels () const |
| const std::vector< signed char > & | GetInstrumentGemGroups () const |
| const std::vector< signed char > & | GetTrackGemGroups () const |
| const std::vector< signed char > & | GetPlayerGemGroups () const |
| const std::vector< signed char > & | GetPowerupGemGroups () const |
| signed char | GetMissGemGroup () const |
| signed char | GetSlotGemGroup () const |
| signed char | GetGemGroup () const |
| const std::vector< TrackData > & | GetTracks () const |
| signed char | GetCrippledTracks () const |
| void | SetCrippledTracks (signed char nValue) |
| Set the tracks whose players are crippled. | |
| int | GetNumTracks () const |
| const std::vector< Color > & | GetInstrumentColors () const |
| const std::vector< Color > & | GetTrackColors () const |
| RndMat * | GetCheckpointMat () const |
| RndMat * | GetCheckpointFinishMat () const |
| RndCam * | GetOverlayCam () const |
| const std::vector< RndCam * > & | GetOuterCams () const |
| float | GetLetterbox () const |
| const std::vector< std::vector< RndView * > > & | GetPlayerBurstViews () const |
| const std::vector< std::vector< RndView * > > & | GetGemBurstViews () const |
| int | GetCaptureReveals () const |
| TnlTrackRange & | GetChangedRange () |
| int | GetBossJourneyDone () const |
| int | GetIdle () const |
| void | SetIdle (int nValue) |
| Set whether no effect of the tunnel runs. | |
| float | GetUnlockDoneTicks () const |
| void | SetUnlockDoneTicks (float fValue) |
| Set the extra ticks of a result that unlocks a path. | |
| float | GetBossDoneTicks () const |
| void | SetBossDoneTicks (float fValue) |
| Set the ticks the boss journey lasts. | |
| float | GetResultDoneTick () const |
| float | GetBossJourneyDoneTick () const |
| PlayerCamFX * | GetCamFX () const |
| ATanInterpolator & | GetPathBlendCurve () |
| int | GetPathBlending () const |
| const Vector3 & | GetCenter () const |
Static Public Member Functions | |
| static RndView * | CreateMainView () |
| Find the main view of the tunnel and set its camera from the configuration. | |
| static void | LoadConfig (GfxTunnel *pTunnel, DataArray *pConfig, DataArray *pDefaults, int nNumTracks, int nOption) |
| Load the settings of the tunnel and of the effects it draws, and with a tunnel rebuild its panels from them. | |
| static void | LayoutDividers (const std::vector< SegmentSegment > *pSegments, float flScale) |
| Fit the boundaries between the sections to the bounds of a cross section. | |
| static void | ScaleHudGemMeshes (const Vector3 *pScale, const char *pszKind) |
| Scale the meshes HUD <kind>_gem<n>.mesh of one kind of powerup gem. | |
| static void | ScaleHudGems (float flScrollSpeed) |
| Undo the scroll speed of the tunnel on the powerup gems of the head-up display. | |
| static void | OnBlendToPath (DataArray *pCommand, void *pUserData) |
| Run the script command blend_to_path. | |
| static void | OnArenaDoneIn (DataArray *pCommand, void *pUserData) |
| Run the script command arena_done_in. | |
| static void | OnSetParticlePlayerColor (DataArray *pCommand, void *pUserData) |
| Run the script command set_particle_player_color. | |
| static void | OnGfxDebug (DataArray *pCommand, void *pUserData) |
| Run the script command gfx_debug. | |
| static float | BurstSpinPeriod () |
| Report the time a capture burst takes to advance eight quarter turns. | |
| static void | ScaleLights (RndEnviron *pEnviron) |
| Divide the colour of each light of an environment by the scroll speed of the tunnel. | |
Static Public Attributes | |
| static GfxTunnel * | sCurrent |
| The tunnel of the song, or null. | |
| static int | sSplitScreen |
| Whether each pad gets its own cameras, splitscreen. | |
| static int | sShowPanels |
| Whether the panels of the tracks show, show_panels. | |
| static int | sShowDividers |
| Whether the boundaries between the sections show, show_dividers. | |
| static int | sInvertTunnel |
| Whether the tunnel entry has the invert flag. | |
| static int | sFlipTunnel |
| Whether the tunnel entry has the flip flag, or the second shape of the circular cheat is selected. | |
| static int | sCenterTunnel |
| Whether the tunnel entry has the center flag. | |
| static int | sOpaquePanels |
| opaque_panels, which is never read. | |
| static int | sShowDisabledPanels |
| show_disabled_panels, which is never read. | |
| static int | sShowSeeker |
| Whether the seekers show, show_seeker. | |
| static int | sSeekerEndcapsAlways |
| seeker_endcaps_always, which is never read. | |
| static float | sSeekerOpacity |
| seeker_opacity, which is never read. | |
| static int | sShowActivator |
| Whether the targets of the activators show, show_activator. | |
| static int | sShowMissGems |
| Whether missed gems show, show_miss_gems. | |
| static int | sTunnelBars |
| tunnel_bars, which BuildPanels() reads. | |
| static int | sTunnelLowResBars |
| tunnel_low_res_bars, which BuildPanels() reads. | |
| static int | sUseSlab |
| use_slab, which is never read. | |
| static float | sSlabDepth |
| slab_depth times the scroll speed of the tunnel, which BuildPanels() reads. | |
| static float | sSlabAngle |
| slab_angle in radians, which BuildPanels() reads. | |
| static float | sCameraFov |
| The field of view of the cameras of the players, camera_fov. | |
| static float | sLetterboxFov |
| The field of view of the outer cameras with the letterbox closed, camera_letterbox_fov in radians. | |
| static float | sGemRotatePeriod |
| The milliseconds of one turn of a gem, gem_rotate_period. | |
| static float | sGemHitFlashSize |
| The size of the flash of a hit gem, gem_hit_flash_size times the scroll speed of the tunnel. | |
| static float | sGemHitFlashGrowth |
| The growth of the flash of a hit gem, the scroll speed of the tunnel divided by gem_hit_flash_time. | |
| static float | sGemPitchFlashSize |
| gem_pitch_flash_size times the scroll speed of the tunnel. | |
| static float | sGemPitchFlashGrowth |
| The scroll speed of the tunnel divided by gem_pitch_flash_time. | |
| static float | sWinSequenceDuration |
| win_sequence_duration. | |
| static float | sFadeToBlackDuration |
| fade_to_black_duration. | |
| static float | sPreviewCamChangeTime |
| preview_cam_change_time, the milliseconds BlendToArenaPath() blends the path over. | |
| static float | sDuelFailDarkening |
| duel_fail_darkening. | |
| static float | sMeshGemScale |
| mesh_gem_scale, which BuildPanels() reads. | |
| static float | sPanelWidth |
| The width of a panel, which BuildPanels() measures. | |
| static Vector3 | sBoundaryOffset |
| The offset of the boundaries between the sections, boundary_offset. | |
| static Color | sSeekerColor |
| The colour of the seekers, seeker_color. | |
| static Vector2 | sArenaZ |
| The depth range arena_z of the cameras of the tunnel. | |
| static Vector2 | sTnlZ |
| The depth range tnl_z of the cameras of the tunnel. | |
| static Vector2 | sTnlzZ |
| The depth range tnlz_z of the cameras of the tunnel. | |
| static LinearInterpolator | sTrackLightFade |
| The brightness of tunnel track color.lit over the ticks of the song, rising over the 480 ticks before the song. | |
| static std::vector< SegmentSegment > | sShape |
| The cross section of the tunnel, tunnel. | |
| static std::vector< SegmentSegment > | sSegments |
| The cross section BuildPanels() fits to the tracks, a copy of sShape. | |
| static std::vector< Vector2 > | sTrackPoints |
| The unit normal of each track in the cross section, which BuildPanels() measures from sSegments. | |
| static Vector3 | sBurstScale |
| The scale of the capture bursts, which BuildPanels() measures. | |
| static Vector3 | sGridQuarterScale |
| The scale of a quarter line of the grids, grid_quarter_scale. | |
| static Vector3 | sGridEighthScale |
| The scale of an eighth line of the grids, grid_eighth_scale. | |
Tunnel of tracks the players fly down, with the gems, the cameras of the players, and the effects drawn on the tracks.
The RTTI of its nested types names the class. The class is not polymorphic, and the object is 0x240 bytes. The titles of the display routines are inferred from the display routines that forward to them.
| typedef std::pair<Vector2, Vector2> GfxTunnel::Segment |
A line of the cross section of the tunnel, from one point to the other.
| enum GfxTunnel::BarFlag |
The bits of BarData::mFlags.
| enum GfxTunnel::GemBurst |
The kinds of the capture bursts of mGemBurstViews, in order.
| GfxTunnel::GfxTunnel | ( | const std::vector< int > & | instruments, |
| const std::vector< int > & | trackTypes, | ||
| GfxArena * | pArena, | ||
| int | nOption, | ||
| float | fStartTick, | ||
| float | fSongTicks ) |
Build the tunnel of a song.
| instruments | The instrument of each track. |
| trackTypes | The type of each track. |
| pArena | The arena. |
| nOption | The option of the tracks. |
| fStartTick | The tick the song starts at. |
| fSongTicks | The length of the song in ticks. |
| GfxTunnel::~GfxTunnel | ( | ) |
Destroy the tunnel.
|
static |
Find the main view of the tunnel and set its camera from the configuration.
|
static |
Load the settings of the tunnel and of the effects it draws, and with a tunnel rebuild its panels from them.
The tunnel is used without a test for null unless nNumTracks is negative, where a null tunnel returns at once. A nonzero nOption also loads the settings of each player, rebuilds the panels, and reloads the triggers.
| pTunnel | The tunnel. |
| pConfig | The configuration. |
| pDefaults | The defaults of the configuration. |
| nNumTracks | The number of tracks, or a negative number for the tracks of pTunnel. |
| nOption | The fourth argument every loader of the tunnel graphics receives. |
| int GfxTunnel::BuildOuterCams | ( | ) |
Find the outer cameras, one for each player, and fit them to the screen.
| void GfxTunnel::LoadViews | ( | std::vector< RndView * > * | pViews, |
| const char * | pszFormat ) |
Collect the views of a numbered series, <format> with 1, 2, and on, until one is missing.
The tunnel itself is not read. A series with no views is reported through the debug output.
| pViews | Receives the views after the views it already has. |
| pszFormat | The format of the names, with one integer. |
| void GfxTunnel::LoadTrackColors | ( | ) |
Load the colour of each instrument from its panel material and colour each track.
The materials are panel mat <instrument>.mat, or panel mat <instrument> multi.mat when the community is not GameDb::kCommunitySolo and the rule set is GameDb::kRuleSetGame. The tracks are black with the black_panels cheat.
| void GfxTunnel::UpdateTrackGemGroups | ( | ) |
Give each track the sprite gem group of its instrument.
| void GfxTunnel::SetShowPanels | ( | int | bShow | ) |
Show or hide the panels of the tracks.
| bShow | Whether the panels show. |
| void GfxTunnel::SetShowDividers | ( | int | bShow | ) |
Show or hide the boundaries between the sections of the song.
| bShow | Whether the boundaries show. |
| void GfxTunnel::SetShowActivator | ( | int | bShow | ) |
Show or hide the targets of the activators, target <n>_<c>.mesh for each colour.
| bShow | Whether the targets show. |
| void GfxTunnel::BuildPanels | ( | int | bResetPanels, |
| RndTransAnim * | pCamPath ) |
Build the panels of the tracks from the cross section of the tunnel.
| bResetPanels | Whether every panel then returns to its plain state. |
| pCamPath | The camera path of the arena. |
|
static |
Fit the boundaries between the sections to the bounds of a cross section.
| pSegments | The lines of the cross section. |
| flScale | The scroll speed of the tunnel. |
|
static |
Scale the meshes HUD <kind>_gem<n>.mesh of one kind of powerup gem.
| pScale | The scale of each axis. |
| pszKind | The kind of powerup. |
|
static |
Undo the scroll speed of the tunnel on the powerup gems of the head-up display.
| flScrollSpeed | The scroll speed of the tunnel. |
|
static |
Run the script command blend_to_path.
| pCommand | The command. |
| pUserData | The tunnel. |
|
static |
Run the script command arena_done_in.
| pCommand | The command. |
| pUserData | The tunnel. |
|
static |
Run the script command set_particle_player_color.
| pCommand | The command. |
| pUserData | The tunnel. |
|
static |
Run the script command gfx_debug.
| pCommand | The command. |
| pUserData | The tunnel. |
| void GfxTunnel::PrintBars | ( | int | nPlayer | ) |
Report the bars of the track of a player through the debug output.
| nPlayer | The player. |
| void GfxTunnel::AddPanel | ( | GfxTunnelPanel * | pPanel, |
| int | bDeferred, | ||
| float | flRevealTick ) |
Queue a panel to apply when its track is no longer captured or its reveal ends.
| pPanel | The panel, which the tunnel then deletes. |
| bDeferred | Whether the panel waits until its track is no longer captured. |
| flRevealTick | The tick the reveal of the panel starts at. |
| TnlPlayer * GfxTunnel::GetPlayer | ( | int | nPlayer | ) |
Report the graphics of a player.
| nPlayer | The player. |
| float GfxTunnel::GetFreestyleConstraint | ( | ) |
Report how far the arena constrains the freestyles at the frame of its camera.
| bool GfxTunnel::HasActiveBar | ( | int | nTrack, |
| float | flTick ) |
Report whether the bar of a track at a tick maps to the song and has no owner.
| nTrack | The track. |
| flTick | The tick. |
| void GfxTunnel::OnGemRemoved | ( | const TnlGem * | pGem | ) |
Tell the spotlight and the cursors of the players that a gem leaves the tunnel.
| pGem | The gem. |
Start a flash at a position with the first free flash effect.
| pPos | The position. |
| flSize | The size the flash starts at. |
| flGrowth | The growth of the flash per tick. |
| bool GfxTunnel::Burst | ( | const std::vector< RndView * > * | pViews, |
| char | nTrack, | ||
| bool | bErase, | ||
| float | flTick, | ||
| float | flLateral ) |
Start a capture burst at a gem with the first free burst effect, through a random view.
| pViews | The views to choose from. |
| nTrack | The track. |
| bErase | Whether the burst erases the gem. |
| flTick | The tick of the gem. |
| flLateral | The position across the track, 0 to 1. |
| int GfxTunnel::GetTrackInstrument | ( | int | nTrack | ) |
Report the instrument of a track.
| nTrack | The track. |
| void GfxTunnel::SetTrackInstrument | ( | int | nTrack, |
| int | nInstrument ) |
Give a track another instrument.
| nTrack | The track. |
| nInstrument | The instrument. |
| int GfxTunnel::GetTrackType | ( | int | nTrack | ) |
Report the type of a track.
| nTrack | The track. |
| int GfxTunnel::GetPlayerTrack | ( | int | nPlayer | ) |
Report the track a player is on.
| nPlayer | The player. |
| bool GfxTunnel::IsTrackOpen | ( | int | nTrack | ) | const |
Report whether a track is open, its effect not in the state that closes it.
| nTrack | The track. |
| bool GfxTunnel::IsTrackCaptured | ( | int | nTrack | ) | const |
Report whether a track is captured, for a track given as an int.
| nTrack | The track. |
| bool GfxTunnel::IsTrackCaptured | ( | char | nTrack | ) | const |
Report whether a track is captured.
| nTrack | The track. |
| const Vector3 * GfxTunnel::GetHudOffset | ( | ) |
Report the offset of the head-up display from the camera.
| void GfxTunnel::Poll | ( | float | fTicks, |
| float | fTime ) |
Advance the tunnel and every effect it draws.
The players of the tracks and the colours of the panels are refreshed first when marked dirty. A track whose effect changed, or a track a crippler wave crossed, is added to mChangedRange, which the gems, the cursors, the arrows, and the spotlights then refresh. The light tunnel track color.lit of a solo game takes the colour of the track of its player.
| fTicks | The ticks since the last poll. |
| fTime | The time since the last poll. |
| void GfxTunnel::PollCameras | ( | float | fTicks, |
| float | fTime ) |
Update the trail of the freestyle of each player.
| fTicks | The ticks since the last poll, passed on to each player. |
| fTime | The time since the last poll, passed on to each player. |
| void GfxTunnel::SetLetterbox | ( | float | fLetterbox | ) |
Set how far the letterbox is closed, and move the field of view of the outer cameras from sCameraFov towards sLetterboxFov with it.
The cameras are not changed when the value is the value already set.
| fLetterbox | How far the letterbox is closed, from 0 to 1. |
| void GfxTunnel::DrawBackground | ( | ) |
Draw the fires, the boundaries between the sections, and the panels of the tracks.
| void GfxTunnel::DrawTracks | ( | ) |
Draw the gems, the grid, the transparent layer, the spotlights, the capture bursts, the arrows of the tracks, the cripplers, and the beams of the ships.
| void GfxTunnel::DrawCameras | ( | ) |
Draw the overlays of the tracks and the freestyle of each player.
| void GfxTunnel::DrawForeground | ( | ) |
Draw the overlay camera, the arrows of the ships on each track, the fade of mFadeMesh, and the shell of a slowdown.
Once the fade shows, the vortex of the graphics manager draws after the head-up display.
| void GfxTunnel::StartFade | ( | bool | bToBlack | ) |
Start the fade of mFadeMesh from its current opacity over sFadeToBlackDuration.
| bToBlack | Whether the fade ends opaque rather than clear. |
| void GfxTunnel::RefreshChangedRange | ( | ) |
Refresh the grids, the cursors, the arrows, and the spotlights over mChangedRange.
| float GfxTunnel::PanelWidth | ( | ) | const |
Report the width of a panel of the tunnel.
|
static |
Report the time a capture burst takes to advance eight quarter turns.
| void GfxTunnel::CollectGemTicks | ( | std::vector< float > * | pTicks, |
| char | nTrack, | ||
| float | flFromTick, | ||
| float | flToTick ) |
Collect the ticks of the bars of a track a fire burns between two ticks.
The collection starts at the bar of flFromTick. It takes the start of each bar set on the track that maps to the song and has no owner, then the start of each bar after the last bar set, until flToTick. It stops once the vector has no free capacity, and the vector never grows.
| pTicks | Receives the ticks after the ticks it already has. |
| nTrack | The track. |
| flFromTick | The first tick. |
| flToTick | The tick the collection stops at. |
| void GfxTunnel::StartFire | ( | int | nPlayer, |
| int | nTrack, | ||
| int | bAuto, | ||
| float | flTick, | ||
| float | flStartTick, | ||
| float | flEndTick, | ||
| const Color * | pInnerColor, | ||
| const Color * | pOuterColor, | ||
| const std::vector< float > * | pGemTicks ) |
Start the fire of a captured track with the first free fire effect, or else the one that started first.
| nPlayer | The player who captured the track, or -1. |
| nTrack | The track. |
| bAuto | Whether the capture is automatic. |
| flTick | The tick of the capture. |
| flStartTick | The first tick of the fire. |
| flEndTick | The last tick of the fire. |
| pInnerColor | The colour of the inner flames. |
| pOuterColor | The colour of the outer flames. |
| pGemTicks | The ticks of the gems the fire burns, or null to collect them. |
| bool GfxTunnel::IsActivatorIdle | ( | int | nPlayer | ) |
Report whether the activator of a player is at rest.
| nPlayer | The player. |
| void GfxTunnel::ReportParticles | ( | ) |
Report the use of the particles of the particle arms through the debug output.
| void GfxTunnel::SetEnergy | ( | float | flEnergy, |
| int | nZone ) |
Show the energy as the frame of boundary_condition.view, a thousand times the energy.
| flEnergy | The energy, from 0 to 1. |
| nZone | The zone of the energy. The routine does not read it. |
| void GfxTunnel::SetStreakMultiplier | ( | int | nPlayer, |
| int | nMultiplier, | ||
| int | nNextMultiplier, | ||
| const char * | pszMultiplier, | ||
| const char * | pszNextMultiplier, | ||
| bool | bBoosted ) |
Colour the track of a player for a multiplier, and for a local player show the text of the next multiplier on the first arrow of the tracks.
| nPlayer | The player. |
| nMultiplier | The multiplier. |
| nNextMultiplier | The multiplier of the next streak. The routine does not read it. |
| pszMultiplier | The text of the multiplier. The routine does not read it. |
| pszNextMultiplier | The text of the multiplier of the next streak. |
| bBoosted | Whether a powerup boosts the multiplier. The routine does not read it. |
| void GfxTunnel::SetMultiplierEndTick | ( | int | nPlayer, |
| float | flTick ) |
Start the multiplier on the cursor of a player, unless the player has no graphics.
| nPlayer | The player. |
| flTick | The tick the multiplier ends at. |
| void GfxTunnel::ShowSlowdown | ( | int | nPlayer, |
| float | flStartTick, | ||
| float | flEndTick, | ||
| float | flStopTick ) |
Start the shell of a slowdown, then the blur slowdown_end from flEndTick to flStopTick and the blur slowdown_start from the song tick to flStartTick.
| nPlayer | The player who deployed the slowdown. The routine does not read it. |
| flStartTick | The tick the song arrives at the slow speed. |
| flEndTick | The tick the song starts to speed up again. |
| flStopTick | The tick the song is back at its speed. |
| void GfxTunnel::ShowCripple | ( | int | nAttacker, |
| int | nVictim ) |
Start the first idle crippler, or the last crippler when every crippler is busy.
| nAttacker | The attacking player. |
| nVictim | The crippled player. |
| void GfxTunnel::ShowBump | ( | int | nAttacker, |
| int | nVictim, | ||
| int | nTrack ) |
Tell the activators of two players of a bump, skipping a player with no graphics.
| nAttacker | The attacking player. |
| nVictim | The bumped player. |
| nTrack | The track of the bump. |
| void GfxTunnel::SetPlayerTrack | ( | int | nPlayer, |
| int | nTrack, | ||
| int | nTrackType, | ||
| int | nInstrument ) |
Take a player off the freestyle and move the player and the grid of the player to a track.
In a remix the gems of the track of a local player fire hit events. Otherwise the focus track of the gems is cleared when mDefaultFocusTrack is set.
| nPlayer | The player. |
| nTrack | The track. |
| nTrackType | The type of the track. The routine does not read it. |
| nInstrument | The instrument of the track. The routine does not read it. |
| void GfxTunnel::SetPlayerFreestyle | ( | int | nPlayer, |
| bool | bVictory, | ||
| bool | bQuick ) |
Start the freestyle of a player and take the player off its track.
The gems of mDefaultFocusTrack, when set, fire hit events.
| nPlayer | The player. |
| bVictory | Whether the freestyle rewards a won song. |
| bQuick | Whether the freestylus assembles in 4 ticks instead of the configured delay. |
| int GfxTunnel::GetViewedTrack | ( | int | nPlayer | ) |
Report the track the ship of the freestyle of a player is over.
| nPlayer | The player. |
| void GfxTunnel::SetFreestylePosition | ( | int | nPlayer, |
| const Vector3 & | stick ) |
Set the position of the stick of the freestyle of a player, unless the player has no graphics.
| nPlayer | The player. |
| stick | The position. |
| void GfxTunnel::ShowScratchNote | ( | int | nPlayer, |
| float | flTick, | ||
| float | flDuration ) |
Sweep the needle of the scratch freestyle of a player for a note, unless the player has no graphics.
| nPlayer | The player. |
| flTick | The tick of the note. |
| flDuration | The length of the note in ticks. |
| void GfxTunnel::SetTrackPlayers | ( | int | nTrack, |
| int | nPlayers, | ||
| const int * | pPlayers ) |
Record the players on a track, in order of place, for the next poll.
| nTrack | The track. |
| nPlayers | The number of players. |
| pPlayers | The players. |
| void GfxTunnel::PlaceGem | ( | int | nTrack, |
| int | nSlot, | ||
| int | nPlayer, | ||
| float | flTick, | ||
| int | bSlot, | ||
| int | nPowerup ) |
Place a gem on a track, unless it lies more than 960 ticks behind the song.
A gem of a player takes the gem group of the player in a duel and on a pitch track of a remix. Otherwise it takes the gem group of the track and flashes, in a game of several players takes the colour of the player, and while the captures reveal the gems shows from the end of the capture of the track or from the tick the head of a capture would arrive at it. A powerup gem also places a spotlight. The cursors are told of each gem except a slot and a gem of the track.
| nTrack | The track. |
| nSlot | The slot of the gem across the track. |
| nPlayer | The player the gem is for, or -1. |
| flTick | The tick of the gem. |
| bSlot | Whether the gem only marks a slot, with the gem group mSlotGemGroup. |
| nPowerup | One more than the PowerupGem of a gem of no player, or 0. |
| void GfxTunnel::RemoveGem | ( | int | nTrack, |
| int | nSlot, | ||
| float | flTick ) |
Remove the gems of a tick and slot of a track, and tell the cursors when the tick is more than 80 ticks ahead of the song.
| nTrack | The track. |
| nSlot | The slot of the gem across the track. |
| flTick | The tick of the gem. |
| void GfxTunnel::ClearGems | ( | int | nTrack, |
| bool | bErase, | ||
| float | flStartTick, | ||
| float | flEndTick ) |
Remove the gems of a track over a span of ticks, and tell the cursors when the span ends more than 80 ticks ahead of the song.
An erase gives each gem of the span a removal tick that grows with its distance from the song, and bursts each mesh gem through mGemErase.
| nTrack | The track. |
| bErase | Whether the gems burst away instead of vanishing at once. |
| flStartTick | The start of the span. |
| flEndTick | The end of the span. |
| void GfxTunnel::HideNextPhrase | ( | bool | bNow | ) |
Hide the arrow of each track.
| bNow | Whether the arrows vanish at once. |
| void GfxTunnel::ShowNextPhrase | ( | int | nTrack, |
| float | flTick, | ||
| int | nSlot ) |
Point the arrow of a track at the first gem of the next phrase, when the tracks have arrows.
| nTrack | The track. |
| flTick | The tick of the gem. |
| nSlot | The slot of the gem across the track. |
| void GfxTunnel::SetCatchMeter | ( | int | nPlayer, |
| float | flLevel ) |
Set the energy of the cursor of a player.
| nPlayer | The player. |
| flLevel | The level of the catch meter. |
| void GfxTunnel::ShowGemResult | ( | int | nTrack, |
| int | nSlot, | ||
| bool | bHit, | ||
| int | nPlayer, | ||
| int | nBurst, | ||
| float | flTick ) |
Show the result of a gem on the activator of a player.
A hit flashes the cell of the gem, pulses the cursor, and bursts the gem through a view of nBurst, or in a duel through a view of the other player. A miss outside a remix places a gem of mMissGemGroup when sShowMissGems is set.
| nTrack | The track. |
| nSlot | The slot of the gem across the track. |
| bHit | Whether the gem was hit. |
| nPlayer | The player. |
| nBurst | The GemBurst of a hit. |
| flTick | The tick of the gem. |
| void GfxTunnel::HitGem | ( | int | nPlayer, |
| int | nTrack, | ||
| int | nSlot, | ||
| float | flTick ) |
Flash the cell of a gem with the flash of a pitched gem.
| nPlayer | The player. |
| nTrack | The track. |
| nSlot | The slot of the gem across the track. |
| flTick | The tick of the gem. |
| void GfxTunnel::SetFreestyle | ( | int | nPlayer, |
| bool | bPlaying, | ||
| int | nColumn ) |
Record whether a player plays the freestyle, and outside a remix whether the gems of the focus track fire hit events.
| nPlayer | The player. |
| bPlaying | Whether the player plays. |
| nColumn | The column of the freestyle. |
| void GfxTunnel::ResetFreestyle | ( | int | nPlayer | ) |
Start a sample on the freestyle of a player.
| nPlayer | The player. |
| void GfxTunnel::ShowCapture | ( | int | nPlayer, |
| int | nTrack, | ||
| int | bAuto, | ||
| bool | bFreestyle, | ||
| float | flStartTick, | ||
| float | flEndTick ) |
Record the capture of a phrase of a track and start its effect, except in a duel.
An automatic capture starts the capture effect of the track. Otherwise a fire burns from the song tick to flEndTick in the colour of the instrument in a solo game, or of the player.
| nPlayer | The player. |
| nTrack | The track. |
| bAuto | Whether the capture is automatic. |
| bFreestyle | Whether the fire is a fire of the freestyle. |
| flStartTick | The tick the phrase starts at. |
| flEndTick | The tick after the phrase. |
| void GfxTunnel::ShowResult | ( | bool | bWon, |
| int | nPlayer, | ||
| bool | bCampaignWin, | ||
| bool | bUnlocked ) |
Show the result of the song.
A duel fades to black, hides the head-up display, and goes idle unless the song tick is 0. Otherwise the result ends after sWinSequenceDuration for a campaign win, plus mUnlockDoneTicks for an unlock, and a campaign win plays the shell of the win while any other result hides the head-up display.
| bWon | Whether the song was won. The routine does not read it. |
| nPlayer | The player. The routine does not read it. |
| bCampaignWin | Whether a won song outside practice is shown. |
| bUnlocked | Whether winning the song unlocked the path of the arena. |
| void GfxTunnel::StartBossJourney | ( | ) |
Start the boss journey, which ends mBossDoneTicks after the song tick.
| void GfxTunnel::ShowPhrase | ( | int | nPlayer, |
| int | nTrack, | ||
| bool | bPlayable, | ||
| float | flStartTick, | ||
| float | flEndTick, | ||
| int | nStyle, | ||
| bool | bSlide ) |
Point the cursor of a player at a phrase, or refresh the cursor.
In a game of several players the colours of the panels are restored at the next poll.
| nPlayer | The player. |
| nTrack | The track. |
| bPlayable | Whether the cursor targets the phrase, when sShowSeeker is set. |
| flStartTick | The tick the phrase starts at. |
| flEndTick | The tick after the phrase. |
| nStyle | The style of the display, passed to TnlCursor::Refresh(). |
| bSlide | Whether the camera moves to the phrase. The routine does not read it. |
| void GfxTunnel::SetBar | ( | int | nTrack, |
| int | nPlayer, | ||
| int | nOwner, | ||
| bool | bInSong, | ||
| bool | bNow, | ||
| int | nFlags, | ||
| signed char | nInstrument, | ||
| float | flTick, | ||
| float | flTicks ) |
Set the look of one bar of a track, adding the bar when it is not set, and show its panel.
A bar that ends by tick 0 is marked kBarFlagBeforeSong. In a remix, or for a bar that does not map to the song past the first two bars, a bar less than a bar after a boundary shows the checkpoint, or the finish at the end of the arena, and a bar less than two bars after a boundary is dropped instead of revealed.
| nTrack | The track. |
| nPlayer | The player. The routine passes it on to ApplyBar(). |
| nOwner | The player who owns the bar, or -1. |
| bInSong | Whether the bar maps to a bar of the song. |
| bNow | Whether the panel applies at once rather than through a reveal. |
| nFlags | A set of BarFlag. |
| nInstrument | The instrument whose colour the panel takes, or -1. |
| flTick | The tick the bar starts at. |
| flTicks | The length of the bar in ticks. |
| void GfxTunnel::DimBar | ( | int | nTrack, |
| float | flTick ) |
Darken the panel of one bar of a track by sDuelFailDarkening.
| nTrack | The track. |
| flTick | A tick of the bar. |
| void GfxTunnel::SetTrackEnabled | ( | int | nTrack, |
| bool | bEnabled ) |
Start the effect that enables a track.
| nTrack | The track. |
| bEnabled | Whether the track is enabled. A false value does nothing. |
| void GfxTunnel::AddCheckpoint | ( | const char * | pszLabel, |
| float | flTick, | ||
| float | flTextScale ) |
Add a boundary between the sections of the song.
| pszLabel | The text of the boundary, or null for the default text. |
| flTick | The tick of the boundary. |
| flTextScale | The scale of the text. |
| void GfxTunnel::ClearCheckpoints | ( | ) |
Remove every boundary between the sections of the song.
| void GfxTunnel::SetOption | ( | bool | bOption | ) |
Select the near or the far pull back of the camera.
| bOption | Whether the far pull back is selected. |
| int GfxTunnel::GetOption | ( | ) |
Report whether the far pull back of the camera is selected.
| void GfxTunnel::SetZoom | ( | float | flZoom | ) |
Set the pull back of the camera.
| flZoom | The pull back as a multiple of the far one, or 0 for the selected one. |
| void GfxTunnel::BlendToArenaPath | ( | bool | bArena | ) |
Blend the camera towards the arena path or back over one second from the current blend.
The name is inferred.
| bArena | Blend towards the arena path. |
| void GfxTunnel::SetCatcherShown | ( | int | nPlayer, |
| bool | bShown ) |
Show or hide the catcher of a player.
| nPlayer | The player. |
| bShown | Whether the catcher is shown. |
| void GfxTunnel::ClearLanes | ( | ) |
Reset the activator of each player and put every player at its track at once.
| void GfxTunnel::ClearAll | ( | ) |
Clear every effect of the tunnel.
|
static |
Divide the colour of each light of an environment by the scroll speed of the tunnel.
| pEnviron | The environment. |
|
inline |
|
inline |
Set whether SetTrackPlayers() changed the players of a track.
| nValue | The new value. |
|
inline |
|
inline |
Set whether the next poll restores the colours of the panels.
| nValue | The new value. |
|
inline |
|
inline |
Set the track the gems focus on.
| nValue | The new value. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set the tracks whose players are crippled.
| nValue | The new value. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set whether no effect of the tunnel runs.
| nValue | The new value. |
|
inline |
|
inline |
Set the extra ticks of a result that unlocks a path.
| fValue | The new value. |
|
inline |
|
inline |
Set the ticks the boss journey lasts.
| fValue | The new value. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
The tunnel of the song, or null.
|
static |
Whether each pad gets its own cameras, splitscreen.
|
static |
Whether the panels of the tracks show, show_panels.
|
static |
Whether the boundaries between the sections show, show_dividers.
|
static |
Whether the tunnel entry has the invert flag.
|
static |
Whether the tunnel entry has the flip flag, or the second shape of the circular cheat is selected.
|
static |
Whether the tunnel entry has the center flag.
|
static |
opaque_panels, which is never read.
|
static |
show_disabled_panels, which is never read.
|
static |
Whether the seekers show, show_seeker.
|
static |
seeker_endcaps_always, which is never read.
|
static |
seeker_opacity, which is never read.
|
static |
Whether the targets of the activators show, show_activator.
|
static |
Whether missed gems show, show_miss_gems.
|
static |
tunnel_bars, which BuildPanels() reads.
|
static |
tunnel_low_res_bars, which BuildPanels() reads.
|
static |
use_slab, which is never read.
|
static |
slab_depth times the scroll speed of the tunnel, which BuildPanels() reads.
|
static |
slab_angle in radians, which BuildPanels() reads.
|
static |
The field of view of the cameras of the players, camera_fov.
LoadConfig() converts it to radians. CreateMainView() loads it again and leaves it in degrees.
|
static |
The field of view of the outer cameras with the letterbox closed, camera_letterbox_fov in radians.
|
static |
The milliseconds of one turn of a gem, gem_rotate_period.
|
static |
The size of the flash of a hit gem, gem_hit_flash_size times the scroll speed of the tunnel.
|
static |
The growth of the flash of a hit gem, the scroll speed of the tunnel divided by gem_hit_flash_time.
|
static |
gem_pitch_flash_size times the scroll speed of the tunnel.
|
static |
The scroll speed of the tunnel divided by gem_pitch_flash_time.
|
static |
win_sequence_duration.
|
static |
fade_to_black_duration.
|
static |
preview_cam_change_time, the milliseconds BlendToArenaPath() blends the path over.
|
static |
duel_fail_darkening.
|
static |
mesh_gem_scale, which BuildPanels() reads.
|
static |
The width of a panel, which BuildPanels() measures.
|
static |
The offset of the boundaries between the sections, boundary_offset.
|
static |
The colour of the seekers, seeker_color.
|
static |
The depth range arena_z of the cameras of the tunnel.
|
static |
The depth range tnl_z of the cameras of the tunnel.
|
static |
The depth range tnlz_z of the cameras of the tunnel.
|
static |
The brightness of tunnel track color.lit over the ticks of the song, rising over the 480 ticks before the song.
The cross section of the tunnel, tunnel.
The cross section BuildPanels() fits to the tracks, a copy of sShape.
|
static |
The unit normal of each track in the cross section, which BuildPanels() measures from sSegments.
|
static |
The scale of the capture bursts, which BuildPanels() measures.
|
static |
The scale of a quarter line of the grids, grid_quarter_scale.
|
static |
The scale of an eighth line of the grids, grid_eighth_scale.