One player's controller, with its beat pulse and its effects.
More...
#include <forcefeedbackmgrcontroller.h>
One player's controller, with its beat pulse and its effects.
The class is not polymorphic. The RTTI of a pointer to it records the name.
◆ Controller()
| ForceFeedbackMgr::Controller::Controller |
( |
int | nController, |
|
|
int | nTicksPerBar ) |
Construct the beat pulse and the effects of a controller.
- Parameters
-
| nController | The controller. |
| nTicksPerBar | The song ticks in one bar, which sets the crippler effect's duration. |
- Ghidra address:
- NTSC-U/C: 0x0010c4b8
- Ghidra address:
- PAL: 0x0010dbf0
◆ ~Controller()
| ForceFeedbackMgr::Controller::~Controller |
( |
| ) |
|
Delete the effects and the beat pulse.
- Ghidra address:
- NTSC-U/C: 0x0010c708
- Ghidra address:
- PAL: 0x0010de40
◆ CancelAll()
| void ForceFeedbackMgr::Controller::CancelAll |
( |
| ) |
|
Cancel the beat pulse and every effect.
The name is inferred.
- Ghidra address:
- NTSC-U/C: 0x0010c7f0
- Ghidra address:
- PAL: 0x0010df28
◆ IsPlayingEffect()
| bool ForceFeedbackMgr::Controller::IsPlayingEffect |
( |
| ) |
const |
|
inline |
Report whether an effect runs.
The program expands it at its one call.
The name is inferred.
- Returns
- Whether an effect runs.
◆ GetSmallMotor()
| int ForceFeedbackMgr::Controller::GetSmallMotor |
( |
| ) |
const |
|
inline |
- Returns
- The small motor's last state.
◆ SetSmallMotor()
| void ForceFeedbackMgr::Controller::SetSmallMotor |
( |
int | nSmallMotor | ) |
|
|
inline |
Set the small motor's last state.
- Parameters
-
◆ GetBigMotor()
| int ForceFeedbackMgr::Controller::GetBigMotor |
( |
| ) |
const |
|
inline |
- Returns
- The big motor's last level.
◆ SetBigMotor()
| void ForceFeedbackMgr::Controller::SetBigMotor |
( |
int | nBigMotor | ) |
|
|
inline |
Set the big motor's last level.
- Parameters
-
◆ GetVibration()
| int ForceFeedbackMgr::Controller::GetVibration |
( |
| ) |
const |
|
inline |
- Returns
- The vibration option of the game.
◆ SetVibration()
| void ForceFeedbackMgr::Controller::SetVibration |
( |
int | nVibration | ) |
|
|
inline |
Set the vibration option of the game.
- Parameters
-
◆ GetEnabled()
| int ForceFeedbackMgr::Controller::GetEnabled |
( |
| ) |
const |
|
inline |
- Returns
- Whether the beat pulse drives the controller.
◆ SetEnabled()
| void ForceFeedbackMgr::Controller::SetEnabled |
( |
int | nEnabled | ) |
|
|
inline |
Set whether the beat pulse drives the controller.
- Parameters
-
◆ GetEffects()
| const std::vector< std::unique_ptr< MotorEffect > > & ForceFeedbackMgr::Controller::GetEffects |
( |
| ) |
const |
|
inline |
- Returns
- The effects, indexed by Effect, deleted with the controller.
◆ GetBeatEffect()
| MotorEffect * ForceFeedbackMgr::Controller::GetBeatEffect |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: