2016-02-21 06:34:42 +00:00
|
|
|
#ifndef CRUMBLEGENERATOR_HPP
|
|
|
|
#define CRUMBLEGENERATOR_HPP
|
|
|
|
|
|
|
|
#include "CRumbleVoice.hpp"
|
|
|
|
|
2017-01-13 00:16:26 +00:00
|
|
|
enum class EIOPort
|
|
|
|
{
|
|
|
|
Zero,
|
|
|
|
One,
|
|
|
|
Two,
|
|
|
|
Three
|
|
|
|
};
|
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2016-02-21 06:34:42 +00:00
|
|
|
{
|
|
|
|
class CRumbleGenerator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CRumbleGenerator();
|
|
|
|
void Update(float);
|
|
|
|
void HardStopAll();
|
2017-01-13 00:16:26 +00:00
|
|
|
void Rumble(const SAdsrData& adsr, float, ERumblePriority prio, EIOPort port);
|
2016-02-21 06:34:42 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CRUMBLEGENERATOR_HPP
|