(clang-format) Add RemoveSemicolon (#506)

This commit is contained in:
Christian Semmler
2024-01-29 17:30:20 -05:00
committed by GitHub
parent bcdddd4c7e
commit baed704a38
39 changed files with 81 additions and 80 deletions

View File

@@ -14,13 +14,13 @@ public:
{
// STRING: LEGO1 0x100f0154
return "Act1State";
};
}
// FUNCTION: LEGO1 0x100338b0
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, Act1State::ClassName()) || LegoState::IsA(p_name);
};
}
virtual MxBool SetFlag() override; // vtable+0x18
virtual MxResult VTable0x1c(LegoFile* p_legoFile) override; // vtable+0x1c

View File

@@ -76,7 +76,7 @@ protected:
// SIZE 0x24
class GifManager : public GifManagerBase {
public:
GifManager() { m_ownership = TRUE; };
GifManager() { m_ownership = TRUE; }
virtual ~GifManager() override;
// SYNTHETIC: LEGO1 0x1005a580

View File

@@ -22,14 +22,14 @@ public:
}
// FUNCTION: LEGO1 0x1000e0b0
virtual MxBool VTable0x14() override { return FALSE; }; // vtable+0x14
virtual MxBool VTable0x14() override { return FALSE; } // vtable+0x14
// FUNCTION: LEGO1 0x1000e0c0
virtual MxBool SetFlag() override
{
m_unk0x08 = 0;
return TRUE;
}; // vtable+0x18
} // vtable+0x18
inline void SetUnknown8(MxU32 p_unk0x08) { m_unk0x08 = p_unk0x08; }
inline MxU32 GetUnkown8() { return m_unk0x08; }

View File

@@ -10,7 +10,7 @@
class LegoActionControlPresenter : public MxMediaPresenter {
public:
inline LegoActionControlPresenter() { m_unk0x50 = Extra::ActionType::e_none; }
virtual ~LegoActionControlPresenter() override { Destroy(TRUE); }; // vtable+0x00
virtual ~LegoActionControlPresenter() override { Destroy(TRUE); } // vtable+0x00
// FUNCTION: LEGO1 0x1000d0e0
inline virtual const char* ClassName() const override // vtable+0x0c

View File

@@ -25,7 +25,7 @@ public:
virtual MxS8 Compare(LegoCacheSound* p_a, LegoCacheSound* p_b) override
{
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
}; // vtable+0x14
} // vtable+0x14
};
// VTABLE: LEGO1 0x100d64a0

View File

@@ -25,7 +25,7 @@ public:
virtual MxS8 Compare(LegoEntity* p_a, LegoEntity* p_b) override
{
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
}; // vtable+0x14
} // vtable+0x14
};
// VTABLE: LEGO1 0x100d64e8

View File

@@ -18,7 +18,7 @@ public:
new LegoEventNotificationParam(m_type, m_sender, m_modifier, m_x, m_y, m_key);
clone->m_roi = m_roi;
return clone;
}; // vtable+0x04
} // vtable+0x04
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
inline LegoEventNotificationParam(

View File

@@ -78,7 +78,7 @@ public:
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1005b8c0
virtual MxResult PutData() override { return SUCCESS; }; // vtable+0x4c
virtual MxResult PutData() override { return SUCCESS; } // vtable+0x4c
MxResult Create(HWND p_hwnd);
void Destroy();

View File

@@ -126,7 +126,7 @@ public:
inline void SetNavController(LegoNavController* p_navController) { m_navController = p_navController; }
inline void SetWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
inline void SetExit(MxBool p_exit) { m_exit = p_exit; };
inline void SetExit(MxBool p_exit) { m_exit = p_exit; }
inline void CloseMainWindow() { PostMessageA(m_windowHandle, WM_CLOSE, 0, 0); }

View File

@@ -8,7 +8,7 @@
class LegoPathController : public MxCore {
public:
LegoPathController();
virtual ~LegoPathController() override { Destroy(); };
virtual ~LegoPathController() override { Destroy(); }
virtual MxResult Tickle() override; // vtable+08

View File

@@ -25,7 +25,7 @@ public:
virtual MxS8 Compare(LegoWorld* p_a, LegoWorld* p_b) override
{
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
}; // vtable+0x14
} // vtable+0x14
// SYNTHETIC: LEGO1 0x10059a00
// LegoWorldList::`scalar deleting destructor'

View File

@@ -12,13 +12,13 @@ public:
{
// STRING: LEGO1 0x100f0084
return "ScoreState";
};
}
// FUNCTION: LEGO1 0x1000de50
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, ScoreState::ClassName()) || LegoState::IsA(p_name);
};
}
virtual MxBool VTable0x14() override; // vtable+0x14
virtual MxBool SetFlag() override; // vtable+0x18