resonance 1.0.1
Loading...
Searching...
No Matches
durgemrowstring.h
Go to the documentation of this file.
1#pragma once
2
3struct Color;
4struct Plane;
5struct Vector3;
6namespace Rnd {
7class Mat;
8class String;
9class View;
10} // namespace Rnd
11
24public:
37 DurGemRowString(int nLane, Rnd::Mat *pMat, Rnd::View *pView, float flWidth);
38
51
66 void AddLine(const Color &color,
67 float flStartFrame,
68 float flStartBlend,
69 float flEndFrame,
70 float flEndBlend);
71
80 void Clear();
81
92 int Show(int nRow);
93
104 void Hide();
105
118 bool FindCrossing(const Plane &plane, Vector3 *pOut);
119
121 int mLane;
122 int mRow;
123 int mCount;
124};
~DurGemRowString()
Delete the ribbon.
int mLane
Definition durgemrowstring.h:121
int mRow
Definition durgemrowstring.h:122
void Clear()
Discard the segments and hide the ribbon.
int Show(int nRow)
Show the ribbon when it belongs to slice row nRow and hide it otherwise.
void Hide()
Hide the ribbon without discarding the segments.
DurGemRowString(int nLane, Rnd::Mat *pMat, Rnd::View *pView, float flWidth)
Create the ribbon, set it to draw line pairs, and add it to pView.
int mCount
Definition durgemrowstring.h:123
Rnd::String * mString
Definition durgemrowstring.h:120
void AddLine(const Color &color, float flStartFrame, float flStartBlend, float flEndFrame, float flEndBlend)
Append one straight segment in color between two tunnel positions.
bool FindCrossing(const Plane &plane, Vector3 *pOut)
Find where a segment crosses plane.
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Screen-aligned ribbon drawn through a list of world-space points.
Definition string.h:58
Root of a loadable scene.
Definition view.h:47
The rendering engine.
Definition animhelper.h:3
Linear colour with four float components.
Definition color.h:10
Plane equation, padded to a PlayStation 2 quadword.
Definition plane.h:14
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:12