mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Add clang-tidy readability-redundant-inline-specifier (#1060)
* Add clang-tidy readability-redundant-inline-specifier * fix * Update CONTRIBUTING.md * format * fix
This commit is contained in:

committed by
GitHub

parent
0873b782c5
commit
bee101b1f4
@@ -34,7 +34,7 @@ public:
|
||||
|
||||
// FUNCTION: LEGO1 0x100ad980
|
||||
// FUNCTION: BETA10 0x1012bcf0
|
||||
inline const char* ClassName() const override // vtable+0x0c
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x101013f4
|
||||
return "MxDSAction";
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
// FUNCTION: LEGO1 0x100ad990
|
||||
// FUNCTION: BETA10 0x1012bd10
|
||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(p_name, MxDSAction::ClassName()) || MxDSObject::IsA(p_name);
|
||||
}
|
||||
@@ -62,48 +62,48 @@ public:
|
||||
void AppendExtra(MxU16 p_extraLength, const char* p_extraData);
|
||||
|
||||
// FUNCTION: BETA10 0x1003a560
|
||||
inline void GetExtra(MxU16& p_extraLength, char*& p_extraData)
|
||||
void GetExtra(MxU16& p_extraLength, char*& p_extraData)
|
||||
{
|
||||
p_extraLength = m_extraLength;
|
||||
p_extraData = m_extraData;
|
||||
}
|
||||
|
||||
// FUNCTION: BETA10 0x1003cf70
|
||||
inline MxU32 GetFlags() { return m_flags; }
|
||||
MxU32 GetFlags() { return m_flags; }
|
||||
|
||||
// FUNCTION: BETA10 0x1004daa0
|
||||
inline void SetFlags(MxU32 p_flags) { m_flags = p_flags; }
|
||||
void SetFlags(MxU32 p_flags) { m_flags = p_flags; }
|
||||
|
||||
inline char* GetExtraData() { return m_extraData; }
|
||||
inline MxU16 GetExtraLength() const { return m_extraLength; }
|
||||
char* GetExtraData() { return m_extraData; }
|
||||
MxU16 GetExtraLength() const { return m_extraLength; }
|
||||
|
||||
// FUNCTION: BETA10 0x1005a560
|
||||
inline MxLong GetStartTime() const { return m_startTime; }
|
||||
MxLong GetStartTime() const { return m_startTime; }
|
||||
|
||||
// FUNCTION: BETA10 0x1012be80
|
||||
inline MxS32 GetLoopCount() { return m_loopCount; }
|
||||
MxS32 GetLoopCount() { return m_loopCount; }
|
||||
|
||||
inline void SetLoopCount(MxS32 p_loopCount) { m_loopCount = p_loopCount; }
|
||||
void SetLoopCount(MxS32 p_loopCount) { m_loopCount = p_loopCount; }
|
||||
|
||||
// FUNCTION: BETA10 0x1003db50
|
||||
inline Mx3DPointFloat& GetLocation() { return m_location; }
|
||||
Mx3DPointFloat& GetLocation() { return m_location; }
|
||||
|
||||
// FUNCTION: BETA10 0x1003db80
|
||||
inline Mx3DPointFloat& GetDirection() { return m_direction; }
|
||||
Mx3DPointFloat& GetDirection() { return m_direction; }
|
||||
|
||||
// FUNCTION: BETA10 0x1003dbb0
|
||||
inline Mx3DPointFloat& GetUp() { return m_up; }
|
||||
Mx3DPointFloat& GetUp() { return m_up; }
|
||||
|
||||
inline void SetLocation(const Vector3& p_location) { m_location = p_location; }
|
||||
inline void SetDirection(const Vector3& p_direction) { m_direction = p_direction; }
|
||||
inline void SetUp(const Vector3& p_up) { m_up = p_up; }
|
||||
inline MxCore* GetUnknown84() { return m_unk0x84; }
|
||||
inline void SetUnknown84(MxCore* p_unk0x84) { m_unk0x84 = p_unk0x84; }
|
||||
inline MxCore* GetOrigin() { return m_origin; }
|
||||
inline void SetOrigin(MxCore* p_origin) { m_origin = p_origin; }
|
||||
void SetLocation(const Vector3& p_location) { m_location = p_location; }
|
||||
void SetDirection(const Vector3& p_direction) { m_direction = p_direction; }
|
||||
void SetUp(const Vector3& p_up) { m_up = p_up; }
|
||||
MxCore* GetUnknown84() { return m_unk0x84; }
|
||||
void SetUnknown84(MxCore* p_unk0x84) { m_unk0x84 = p_unk0x84; }
|
||||
MxCore* GetOrigin() { return m_origin; }
|
||||
void SetOrigin(MxCore* p_origin) { m_origin = p_origin; }
|
||||
|
||||
inline MxBool IsLooping() const { return m_flags & c_looping; }
|
||||
inline MxBool IsBit3() const { return m_flags & c_bit3; }
|
||||
MxBool IsLooping() const { return m_flags & c_looping; }
|
||||
MxBool IsBit3() const { return m_flags & c_bit3; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100ada60
|
||||
// SYNTHETIC: BETA10 0x1012be40
|
||||
|
Reference in New Issue
Block a user