2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CRUMBLEMANAGER_HPP__
|
|
|
|
#define __URDE_CRUMBLEMANAGER_HPP__
|
2016-02-21 06:34:42 +00:00
|
|
|
|
|
|
|
#include "CRumbleGenerator.hpp"
|
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2016-02-21 06:34:42 +00:00
|
|
|
{
|
|
|
|
class CStateManager;
|
|
|
|
class CRumbleManager
|
|
|
|
{
|
|
|
|
CRumbleGenerator x0_rumbleGenerator;
|
2017-04-03 01:39:23 +00:00
|
|
|
bool xf0_24_disabled : 1;
|
2016-02-21 06:34:42 +00:00
|
|
|
public:
|
2017-04-03 01:39:23 +00:00
|
|
|
CRumbleManager() { xf0_24_disabled = false; }
|
|
|
|
bool IsDisabled() const { return xf0_24_disabled; }
|
|
|
|
void SetDisabled(bool disabled);
|
2016-02-21 06:34:42 +00:00
|
|
|
void Update(float);
|
2017-08-26 04:36:25 +00:00
|
|
|
void StopRumble(s16) {}
|
2017-03-26 05:53:04 +00:00
|
|
|
void Rumble(CStateManager&, ERumbleFxId, ERumblePriority priority) {}
|
2017-09-02 04:06:05 +00:00
|
|
|
s16 Rumble(CStateManager&, ERumbleFxId, float, ERumblePriority priority) {return 0;}
|
2016-02-21 06:34:42 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CRUMBLEMANAGER_HPP__
|