mirror of https://github.com/AxioDL/metaforce.git
27 lines
393 B
C++
27 lines
393 B
C++
#ifndef CRUMBLEGENERATOR_HPP
|
|
#define CRUMBLEGENERATOR_HPP
|
|
|
|
#include "CRumbleVoice.hpp"
|
|
|
|
enum class EIOPort
|
|
{
|
|
Zero,
|
|
One,
|
|
Two,
|
|
Three
|
|
};
|
|
|
|
namespace urde
|
|
{
|
|
class CRumbleGenerator
|
|
{
|
|
public:
|
|
CRumbleGenerator();
|
|
void Update(float);
|
|
void HardStopAll();
|
|
void Rumble(const SAdsrData& adsr, float, ERumblePriority prio, EIOPort port);
|
|
};
|
|
}
|
|
|
|
#endif // CRUMBLEGENERATOR_HPP
|