mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-15 16:46:08 +00:00
Match and link CRumbleGenerator, nearly match CRumbleVoice
Former-commit-id: bd48696bf3
This commit is contained in:
@@ -88,10 +88,13 @@ public:
|
||||
void HardReset();
|
||||
bool UpdateChannel(SAdsrDelta& delta, const SAdsrData& data, float dt);
|
||||
bool Update(float dt);
|
||||
uint GetFreeChannel() const;
|
||||
ushort GetFreeChannel() const;
|
||||
float GetIntensity() const;
|
||||
bool OwnsSustained(short id) const;
|
||||
short CreateRumbleHandle(ushort idx);
|
||||
ushort GetChannelId(short handle) const { return handle & 0xf; }
|
||||
ushort GetOwnerId(short handle) const { return ((handle >> 8) & 0xFF); }
|
||||
ERumblePriority GetPriority(uint idx) { return x10_deltas[idx].x1c_priority; }
|
||||
};
|
||||
|
||||
#endif // _CRUMBLEVOICE
|
||||
|
||||
Reference in New Issue
Block a user