mirror of
https://github.com/zeldaret/ss
synced 2026-05-23 06:54:20 -04:00
25 lines
464 B
C
25 lines
464 B
C
#ifndef JPAKEYBLOCK_H
|
|
#define JPAKEYBLOCK_H
|
|
|
|
#include "common.h"
|
|
|
|
/**
|
|
* @ingroup jsystem-jparticle
|
|
*
|
|
*/
|
|
struct JPAKeyBlock {
|
|
JPAKeyBlock(u8 const*);
|
|
f32 calc(f32);
|
|
|
|
u8 getID() const { return mDataStart[8]; }
|
|
u8 getKeyNum() const { return mDataStart[9]; }
|
|
BOOL isLoop() const { return mDataStart[11]; }
|
|
const f32* getKeyData() const { return field_0x4; }
|
|
|
|
const u8* mDataStart;
|
|
const f32* field_0x4;
|
|
};
|
|
|
|
|
|
#endif /* JPAKEYBLOCK_H */
|