mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Add MxDSSound (#111)
This commit is contained in:

committed by
GitHub

parent
bb0d5be921
commit
51ac526f8a
@@ -2,7 +2,6 @@
|
||||
#define MXDSSOUND_H
|
||||
|
||||
#include "mxdsmediaaction.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
// VTABLE 0x100dcdd0
|
||||
// SIZE 0xc0
|
||||
@@ -12,6 +11,9 @@ public:
|
||||
MxDSSound();
|
||||
virtual ~MxDSSound() override;
|
||||
|
||||
void CopyFrom(MxDSSound &p_dsSound);
|
||||
MxDSSound &operator=(MxDSSound &p_dsSound);
|
||||
|
||||
// OFFSET: LEGO1 0x100c9330
|
||||
inline virtual const char *ClassName() const override // vtable+0x0c
|
||||
{
|
||||
@@ -24,10 +26,14 @@ public:
|
||||
{
|
||||
return !strcmp(name, MxDSSound::ClassName()) || MxDSMediaAction::IsA(name);
|
||||
}
|
||||
|
||||
virtual MxU32 GetSizeOnDisk(); // vtable+18;
|
||||
virtual void Deserialize(char **p_source, MxS16 p_unk24); // vtable+1c;
|
||||
virtual MxDSAction *Clone(); // vtable+2c;
|
||||
|
||||
private:
|
||||
MxS32 m_unkb8;
|
||||
MxLong m_lastField; // 0xbc
|
||||
MxU32 m_sizeOnDisk;
|
||||
MxS32 m_volume; // 0xbc
|
||||
};
|
||||
|
||||
|
||||
#endif // MXDSSOUND_H
|
||||
|
Reference in New Issue
Block a user