mirror of
https://github.com/isledecomp/isle.git
synced 2025-02-17 04:00:24 -05:00
* 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>
101 lines
2.5 KiB
C++
101 lines
2.5 KiB
C++
#ifndef LEGOENTITYLIST_H
|
|
#define LEGOENTITYLIST_H
|
|
|
|
#include "mxlist.h"
|
|
#include "mxtypes.h"
|
|
|
|
class LegoEntity;
|
|
|
|
// VTABLE: LEGO1 0x100d6410
|
|
// class MxCollection<LegoEntity *>
|
|
|
|
// VTABLE: LEGO1 0x100d6428
|
|
// class MxList<LegoEntity *>
|
|
|
|
// VTABLE: LEGO1 0x100d6440
|
|
// class MxPtrList<LegoEntity>
|
|
|
|
// VTABLE: LEGO1 0x100d6458
|
|
// SIZE 0x18
|
|
class LegoEntityList : public MxPtrList<LegoEntity> {
|
|
public:
|
|
LegoEntityList(MxBool p_ownership = FALSE) : MxPtrList<LegoEntity>(p_ownership) {}
|
|
|
|
// FUNCTION: LEGO1 0x1001e2d0
|
|
MxS8 Compare(LegoEntity* p_a, LegoEntity* p_b) override
|
|
{
|
|
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
|
|
} // vtable+0x14
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d64e8
|
|
// class MxListCursor<LegoEntity *>
|
|
|
|
// VTABLE: LEGO1 0x100d64b8
|
|
// class MxPtrListCursor<LegoEntity>
|
|
|
|
// VTABLE: LEGO1 0x100d64d0
|
|
// SIZE 0x10
|
|
class LegoEntityListCursor : public MxPtrListCursor<LegoEntity> {
|
|
public:
|
|
LegoEntityListCursor(LegoEntityList* p_list) : MxPtrListCursor<LegoEntity>(p_list){};
|
|
};
|
|
|
|
// TEMPLATE: LEGO1 0x1001e2f0
|
|
// MxCollection<LegoEntity *>::Compare
|
|
|
|
// TEMPLATE: LEGO1 0x1001e300
|
|
// MxCollection<LegoEntity *>::~MxCollection<LegoEntity *>
|
|
|
|
// TEMPLATE: LEGO1 0x1001e350
|
|
// MxCollection<LegoEntity *>::Destroy
|
|
|
|
// TEMPLATE: LEGO1 0x1001e360
|
|
// MxList<LegoEntity *>::~MxList<LegoEntity *>
|
|
|
|
// TEMPLATE: LEGO1 0x1001e3f0
|
|
// MxPtrList<LegoEntity>::Destroy
|
|
|
|
// SYNTHETIC: LEGO1 0x1001e400
|
|
// LegoEntityList::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x1001e470
|
|
// MxPtrList<LegoEntity>::~MxPtrList<LegoEntity>
|
|
|
|
// SYNTHETIC: LEGO1 0x1001e4c0
|
|
// MxCollection<LegoEntity *>::`scalar deleting destructor'
|
|
|
|
// SYNTHETIC: LEGO1 0x1001e530
|
|
// MxList<LegoEntity *>::`scalar deleting destructor'
|
|
|
|
// SYNTHETIC: LEGO1 0x1001e5e0
|
|
// MxPtrList<LegoEntity>::`scalar deleting destructor'
|
|
|
|
// SYNTHETIC: LEGO1 0x1001f110
|
|
// LegoEntityListCursor::`scalar deleting destructor'
|
|
|
|
// FUNCTION: LEGO1 0x1001f180
|
|
// MxPtrListCursor<LegoEntity>::~MxPtrListCursor<LegoEntity>
|
|
|
|
// SYNTHETIC: LEGO1 0x1001f1d0
|
|
// MxListCursor<LegoEntity *>::`scalar deleting destructor'
|
|
|
|
// SYNTHETIC: LEGO1 0x1001f240
|
|
// MxPtrListCursor<LegoEntity>::`scalar deleting destructor'
|
|
|
|
// FUNCTION: LEGO1 0x1001f2b0
|
|
// MxListCursor<LegoEntity *>::~MxListCursor<LegoEntity *>
|
|
|
|
// FUNCTION: LEGO1 0x1001f300
|
|
// LegoEntityListCursor::~LegoEntityListCursor
|
|
|
|
// TEMPLATE: LEGO1 0x100207d0
|
|
// MxListCursor<LegoEntity *>::MxListCursor<LegoEntity *>
|
|
|
|
// TEMPLATE: LEGO1 0x10022430
|
|
// MxList<LegoEntity *>::InsertEntry
|
|
|
|
// TEMPLATE: LEGO1 0x10022630
|
|
// MxList<LegoEntity *>::DeleteEntry
|
|
|
|
#endif // LEGOENTITYLIST_H
|