mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +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
@@ -15,11 +15,11 @@ public:
|
||||
|
||||
virtual LegoResult VTable0x04(); // vtable+0x04
|
||||
|
||||
inline LegoU8 GetNumEdges() { return m_numEdges; }
|
||||
inline LegoEdge** GetEdges() { return m_edges; }
|
||||
inline LegoU32 IsEqual(LegoWEEdge& p_other) { return this == &p_other; }
|
||||
LegoU8 GetNumEdges() { return m_numEdges; }
|
||||
LegoEdge** GetEdges() { return m_edges; }
|
||||
LegoU32 IsEqual(LegoWEEdge& p_other) { return this == &p_other; }
|
||||
|
||||
inline void SetEdges(LegoEdge** p_edges, LegoU8 p_numEdges)
|
||||
void SetEdges(LegoEdge** p_edges, LegoU8 p_numEdges)
|
||||
{
|
||||
m_edges = p_edges;
|
||||
m_numEdges = p_numEdges;
|
||||
|
||||
@@ -40,12 +40,12 @@ public:
|
||||
|
||||
LegoResult VTable0x04() override; // vtable+0x04
|
||||
|
||||
inline LegoU32 GetFlag0x10() { return m_flags & c_bit5 ? FALSE : TRUE; }
|
||||
inline Mx4DPointFloat* GetUnknown0x14() { return &m_unk0x14; }
|
||||
inline Mx4DPointFloat* GetEdgeNormal(int index) { return &m_edgeNormals[index]; }
|
||||
inline LegoChar* GetName() { return m_name; }
|
||||
LegoU32 GetFlag0x10() { return m_flags & c_bit5 ? FALSE : TRUE; }
|
||||
Mx4DPointFloat* GetUnknown0x14() { return &m_unk0x14; }
|
||||
Mx4DPointFloat* GetEdgeNormal(int index) { return &m_edgeNormals[index]; }
|
||||
LegoChar* GetName() { return m_name; }
|
||||
|
||||
inline void SetFlag0x10(LegoU32 p_disable)
|
||||
void SetFlag0x10(LegoU32 p_disable)
|
||||
{
|
||||
if (p_disable) {
|
||||
m_flags &= ~c_bit5;
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
inline LegoU8 GetMask0x03() { return m_flags & (c_bit1 | c_bit2); }
|
||||
LegoU8 GetMask0x03() { return m_flags & (c_bit1 | c_bit2); }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1009a7e0
|
||||
// LegoWEGEdge::`scalar deleting destructor'
|
||||
|
||||
Reference in New Issue
Block a user