Implement/match remaining MxWavePresenter functions (#294)

* Implement/match remaining MxWavePresenter functions

* Name m_unk65

* Match WriteToSoundBuffer

* Remove header

* Match StreamingTickle

* Name more variables

* Give names to some things
This commit is contained in:
Christian Semmler
2023-11-24 12:09:53 -05:00
committed by GitHub
parent a577b393bf
commit 1d3ce6b0aa
10 changed files with 242 additions and 80 deletions

View File

@@ -13,6 +13,8 @@ public:
Flag_Bit1 = 0x01,
Flag_Bit2 = 0x02,
Flag_Bit3 = 0x04,
Flag_Bit8 = 0x80,
Flag_Bit16 = 0x8000
};
MxDSChunk();
@@ -31,6 +33,7 @@ public:
return !strcmp(name, MxDSChunk::ClassName()) || MxCore::IsA(name);
}
inline void SetFlags(MxU16 flags) { m_flags = flags; }
inline void SetTime(MxLong p_time) { m_time = p_time; }
inline void SetLength(MxU32 p_length) { m_length = p_length; }
inline void SetData(MxU8* p_data) { m_data = p_data; }