The state of one track, 0x30 bytes.
More...
#include <tnlgeom.h>
The state of one track, 0x30 bytes.
◆ TrackData()
| TnlGeom::TrackData::TrackData |
( |
| ) |
|
Construct the state of a track.
- Ghidra address:
- NTSC-U/C: 0x001d2890
- Ghidra address:
- PAL: 0x001db630
◆ Clear()
| void TnlGeom::TrackData::Clear |
( |
| ) |
|
Clear the overlay and the players of the track.
The colour is not changed.
- Ghidra address:
- NTSC-U/C: 0x001d28b8
- Ghidra address:
- PAL: 0x001db658
◆ GetOverlayMat()
| RndMat * TnlGeom::TrackData::GetOverlayMat |
( |
| ) |
const |
|
inline |
- Returns
- The material drawn over the track, or null.
◆ SetOverlayMat()
| void TnlGeom::TrackData::SetOverlayMat |
( |
RndMat * | pMat | ) |
|
|
inline |
Set the material drawn over the track.
- Parameters
-
| pMat | The material, or null. |
◆ GetOverlayMode()
| int TnlGeom::TrackData::GetOverlayMode |
( |
| ) |
const |
|
inline |
- Returns
- How the overlay is drawn.
◆ SetOverlayMode()
| void TnlGeom::TrackData::SetOverlayMode |
( |
int | nMode | ) |
|
|
inline |
Set how the overlay is drawn.
- Parameters
-
◆ GetColor() [1/2]
| Color & TnlGeom::TrackData::GetColor |
( |
| ) |
|
|
inline |
- Returns
- The colour of the panels of the track.
◆ GetColor() [2/2]
| const Color & TnlGeom::TrackData::GetColor |
( |
| ) |
const |
|
inline |
- Returns
- The colour of the panels of the track.
◆ SetColor()
| void TnlGeom::TrackData::SetColor |
( |
const Color & | color | ) |
|
|
inline |
Set the colour of the panels of the track.
- Parameters
-
◆ GetPlayers()
| unsigned char TnlGeom::TrackData::GetPlayers |
( |
| ) |
const |
|
inline |
- Returns
- One bit for each player on the track.
◆ SetPlayers()
| void TnlGeom::TrackData::SetPlayers |
( |
unsigned char | nPlayers | ) |
|
|
inline |
Set the players on the track.
- Parameters
-
| nPlayers | One bit for each player. |
The documentation for this class was generated from the following file: