mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
66a010a19f
We've confirmed that, despite a function being declared inline, msvc will still make a conventional call in some circumstances. As such, I feel like this is warranted because it's most likely what a developer would have actually written.
37 lines
807 B
C++
37 lines
807 B
C++
#ifndef MXDSOBJECT_H
|
|
#define MXDSOBJECT_H
|
|
|
|
#include "mxcore.h"
|
|
#include "mxatomid.h"
|
|
|
|
class MxDSObject : public MxCore
|
|
{
|
|
public:
|
|
__declspec(dllexport) void SetObjectName(const char *);
|
|
|
|
MxDSObject();
|
|
|
|
inline const MxAtomId& GetAtomId() { return this->m_atomId; }
|
|
inline int GetUnknown1c() { return this->m_unk1c; }
|
|
|
|
inline void SetUnknown1c(int p_unk1c) { this->m_unk1c = p_unk1c; }
|
|
inline void SetUnknown24(short p_unk24) { this->m_unk24 = p_unk24; }
|
|
|
|
// OFFSET: ISLE 0x401c40
|
|
// OFFSET: LEGO1 0x10005530
|
|
inline void SetAtomId(MxAtomId p_atomId) { this->m_atomId = p_atomId; }
|
|
|
|
private:
|
|
int m_unk08;
|
|
short m_unk0c;
|
|
char* m_unk10;
|
|
int m_unk14;
|
|
char *m_name;
|
|
int m_unk1c;
|
|
MxAtomId m_atomId;
|
|
short m_unk24;
|
|
unsigned short m_unk26;
|
|
int m_unk28;
|
|
};
|
|
|
|
#endif // MXDSOBJECT_H
|