Change of the song speed while a slowdown runs.
More...
#include <gamelogic.h>
|
| | SpeedRamp (Scheduler *pScheduler, float fSpeed) |
| | Construct the ramp at a speed.
|
| | ~SpeedRamp () override |
| | Release the ramp.
|
| void | Apply (float fValue, int nTick) override |
| | Play the song at a new speed.
|
| | Ramp (Scheduler *pScheduler, float fValue) |
| | Construct a ramp that holds a value.
|
| virtual | ~Ramp () |
| | Stop the ramp.
|
| void | MoveTo (int nTicks, int nStepTicks, float fTarget) |
| | Move from the current value to a target.
|
| void | Move (int nTicks, int nStepTicks, float fFrom, float fTarget) |
| | Move from one value to another.
|
| void | Stop () |
| | Withdraw the next step, leaving the value where it is.
|
| float | GetValue () const |
| | Report the current value.
|
Change of the song speed while a slowdown runs.
The RTTI records the class as nested in GameLogic and as deriving from Ramp.
◆ SpeedRamp()
| GameLogic::SpeedRamp::SpeedRamp |
( |
Scheduler * | pScheduler, |
|
|
float | fSpeed ) |
|
inline |
Construct the ramp at a speed.
- Parameters
-
| pScheduler | The scheduler the steps run on. |
| fSpeed | The speed to start at. |
◆ ~SpeedRamp()
| GameLogic::SpeedRamp::~SpeedRamp |
( |
| ) |
|
|
inlineoverride |
Release the ramp.
- Ghidra address:
- NTSC-U/C: 0x00337cd8
- Ghidra address:
- PAL: 0x003a5288
◆ Apply()
| void GameLogic::SpeedRamp::Apply |
( |
float | fValue, |
|
|
int | nTick ) |
|
inlineoverridevirtual |
Play the song at a new speed.
- Parameters
-
| fValue | The speed. |
| nTick | The tick of the step. |
- Ghidra address:
- NTSC-U/C: 0x00337d48
- Ghidra address:
- PAL: 0x003a52f8
Implements Ramp.
The documentation for this class was generated from the following file: