mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
Work on JAISeMgr (#368)
This commit is contained in:
@@ -17,8 +17,16 @@ public:
|
||||
|
||||
JAISoundID() {}
|
||||
|
||||
bool isAnonymous() { return mId.mFullId == 0xffffffff; }
|
||||
|
||||
union {
|
||||
u32 mFullId;
|
||||
struct {
|
||||
u8 b0;
|
||||
u8 b1;
|
||||
u8 b2;
|
||||
u8 b3;
|
||||
} mBytes;
|
||||
struct {
|
||||
u16 mSoundType;
|
||||
u16 mShortId;
|
||||
@@ -41,6 +49,7 @@ struct JAISoundStatus_ {
|
||||
}
|
||||
|
||||
bool isAlive(); // used in assert
|
||||
bool isDead() { return state.unk == 6;}
|
||||
|
||||
inline bool isPlaying() { return state.unk == 5; }
|
||||
|
||||
@@ -179,6 +188,10 @@ public:
|
||||
return isStopping;
|
||||
}
|
||||
|
||||
void pause(bool param_0) {
|
||||
status_.field_0x0.flags.paused = param_0;
|
||||
}
|
||||
|
||||
/* 0x04 */ JAISoundHandle* handle_;
|
||||
/* 0x08 */ JAIAudible* audible_;
|
||||
/* 0x0C */ JAIAudience* audience_;
|
||||
|
||||
Reference in New Issue
Block a user