Drawer of the bars and gems of one catch track ahead of the song.
More...
#include <catchtrackdisplay.h>
|
| | CatchTrackDisplay (CatchTrackState *pState, const SectionBoundaries *pSections, int nTrack, int nIntroBars, int nNumBars, int nTicksPerBar, PlayMap *pPlayMap) |
| | Construct a display that has drawn nothing.
|
| | ~CatchTrackDisplay () |
| | Withdraw the scheduled update.
|
| void | Start () |
| | Schedule the next update.
|
| void | Seek (int nTick) |
| | Move the display to a tick, drawing the bars that come into view from it.
|
| void | Stop () |
| | Withdraw the scheduled update.
|
| void | Redraw (int nFromBar, int nClear) |
| | Draw again the bars from one bar up to the last bar drawn.
|
| void | RedrawRange (int nFromBar, int nToBar, int nClear) |
| | Draw again a range of bars, limited to the bars drawn so far.
|
Drawer of the bars and gems of one catch track ahead of the song.
The RTTI includes the nested CatchTrackDisplay::UpdateDisplayCmd. The class is not polymorphic. CatchTrack has one. Once each bar the display draws the bars that come within 13000 ticks of the current tick, the updates of each track a tenth of a bar apart.
◆ CatchTrackDisplay()
Construct a display that has drawn nothing.
- Parameters
-
| pState | The state of the bars of the track. |
| pSections | The sections of the song, stored and not read here. |
| nTrack | The track. |
| nIntroBars | The bars before the first section, stored and not read here. |
| nNumBars | The length of the song in bars, stored and not read here. |
| nTicksPerBar | The song ticks in one bar. |
| pPlayMap | The play map of the song. |
- Ghidra address:
- NTSC-U/C: 0x001579f0
- Ghidra address:
- PAL: 0x00159278
◆ ~CatchTrackDisplay()
| CatchTrackDisplay::~CatchTrackDisplay |
( |
| ) |
|
Withdraw the scheduled update.
- Ghidra address:
- NTSC-U/C: 0x00157a78
- Ghidra address:
- PAL: 0x00159300
◆ Start()
| void CatchTrackDisplay::Start |
( |
| ) |
|
Schedule the next update.
- Ghidra address:
- NTSC-U/C: 0x00157b50
- Ghidra address:
- PAL: 0x001593d8
◆ Seek()
| void CatchTrackDisplay::Seek |
( |
int | nTick | ) |
|
Move the display to a tick, drawing the bars that come into view from it.
- Parameters
-
| nTick | The tick the song plays from. |
- Ghidra address:
- NTSC-U/C: 0x00157b80
- Ghidra address:
- PAL: 0x00159408
◆ Stop()
| void CatchTrackDisplay::Stop |
( |
| ) |
|
Withdraw the scheduled update.
- Ghidra address:
- NTSC-U/C: 0x00157bf0
- Ghidra address:
- PAL: 0x00159478
◆ Redraw()
| void CatchTrackDisplay::Redraw |
( |
int | nFromBar, |
|
|
int | nClear ) |
Draw again the bars from one bar up to the last bar drawn.
- Parameters
-
| nFromBar | The first bar. |
| nClear | Non-zero to remove the gems of the bars first. |
- Ghidra address:
- NTSC-U/C: 0x00157c28
- Ghidra address:
- PAL: 0x001594b0
◆ RedrawRange()
| void CatchTrackDisplay::RedrawRange |
( |
int | nFromBar, |
|
|
int | nToBar, |
|
|
int | nClear ) |
Draw again a range of bars, limited to the bars drawn so far.
- Parameters
-
| nFromBar | The first bar. |
| nToBar | The bar after the range. |
| nClear | Non-zero to remove the gems of the bars first. |
- Ghidra address:
- NTSC-U/C: 0x00157c48
- Ghidra address:
- PAL: 0x001594d0
The documentation for this class was generated from the following file: