mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
cmake+ci: run clang-tidy (#512)
* cmake+ci: run clang-tidy
* Remove DESCRIPTION from LEGO1/LegoOmni.mingw.def
* Add initial .clang-tidy and fixes
* fix file perms
* Comment out DESCRIPTION
* Remove LegoEntity::~LegoEntity and MxPresenter::~MxPresenter from mingw's LEGO1.def
* Looks like clang is allergic to the libs in the directx5 SDK
* Update .clang-tidy
* Fix typo in .clang-tidy
* Attempt to generate an action error
* Revert "Attempt to generate an action error"
This reverts commit 96c4c65fed
.
* cmake: test with -Wparentheses + optionally with -Werror
* ci: -k0 is a Ninja argument
* Use -Werror only for msys2 builds
* cmake: only emit warnings for specific warnings
* cmake: and don't do -Werror/-WX anymore
* Fix warnings
* Fix mingw warnings
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:

committed by
GitHub

parent
97d1ba7c71
commit
9e686e2a87
@@ -20,7 +20,7 @@ class LegoNavController;
|
||||
class LegoMouseController : public MxCore {
|
||||
public:
|
||||
LegoMouseController();
|
||||
virtual ~LegoMouseController() override;
|
||||
~LegoMouseController() override;
|
||||
|
||||
virtual void LeftDown(int, int); // vtable+0x14
|
||||
virtual void LeftDrag(int, int); // vtable+0x18
|
||||
@@ -44,14 +44,14 @@ private:
|
||||
class LegoPointOfViewController : public LegoMouseController {
|
||||
public:
|
||||
LegoPointOfViewController();
|
||||
virtual ~LegoPointOfViewController() override;
|
||||
~LegoPointOfViewController() override;
|
||||
|
||||
virtual MxResult Tickle() override; // vtable+0x08
|
||||
virtual void LeftDown(int p_x, int p_y) override; // vtable+0x0c
|
||||
virtual void LeftDrag(int p_x, int p_y) override; // vtable+0x10
|
||||
MxResult Tickle() override; // vtable+0x08
|
||||
void LeftDown(int p_x, int p_y) override; // vtable+0x0c
|
||||
void LeftDrag(int p_x, int p_y) override; // vtable+0x10
|
||||
|
||||
// FUNCTION: LEGO1 0x10011e40
|
||||
virtual void LeftUp(int p_x, int p_y) override
|
||||
void LeftUp(int p_x, int p_y) override
|
||||
{
|
||||
LegoMouseController::LeftUp(p_x, p_y);
|
||||
AffectPointOfView();
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
// vtable+0x14
|
||||
|
||||
// FUNCTION: LEGO1 0x10011e60
|
||||
virtual void RightDown(int p_x, int p_y) override
|
||||
void RightDown(int p_x, int p_y) override
|
||||
{
|
||||
LegoMouseController::RightDown(p_x, p_y);
|
||||
AffectPointOfView();
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
// vtable+0x20
|
||||
|
||||
// FUNCTION: LEGO1 0x10011e80
|
||||
virtual void RightDrag(int p_x, int p_y) override
|
||||
void RightDrag(int p_x, int p_y) override
|
||||
{
|
||||
LegoMouseController::RightDrag(p_x, p_y);
|
||||
AffectPointOfView();
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
// vtable+0x24
|
||||
|
||||
// FUNCTION: LEGO1 0x10011ea0
|
||||
virtual void RightUp(int p_x, int p_y) override
|
||||
void RightUp(int p_x, int p_y) override
|
||||
{
|
||||
LegoMouseController::RightUp(p_x, p_y);
|
||||
AffectPointOfView();
|
||||
|
Reference in New Issue
Block a user