mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-26 01:44:19 +00:00 
			
		
		
		
	 9e686e2a87
			
		
	
	9e686e2a87
	
	
	
		
			
			* 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>
		
	
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef MXSTREAMCHUNKLIST_H
 | |
| #define MXSTREAMCHUNKLIST_H
 | |
| 
 | |
| #include "decomp.h"
 | |
| #include "mxlist.h"
 | |
| 
 | |
| class MxStreamChunk;
 | |
| 
 | |
| // VTABLE: LEGO1 0x100dc5d0
 | |
| // class MxCollection<MxStreamChunk *>
 | |
| 
 | |
| // VTABLE: LEGO1 0x100dc5e8
 | |
| // class MxList<MxStreamChunk *>
 | |
| 
 | |
| // VTABLE: LEGO1 0x100dc600
 | |
| // SIZE 0x18
 | |
| class MxStreamChunkList : public MxList<MxStreamChunk*> {
 | |
| public:
 | |
| 	MxStreamChunkList() { m_customDestructor = Destroy; }
 | |
| 
 | |
| 	// FUNCTION: LEGO1 0x100b5900
 | |
| 	MxS8 Compare(MxStreamChunk* p_a, MxStreamChunk* p_b) override
 | |
| 	{
 | |
| 		return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
 | |
| 	} // vtable+0x14
 | |
| 
 | |
| 	// FUNCTION: LEGO1 0x100b5920
 | |
| 	static void Destroy(MxStreamChunk* p_chunk) { delete p_chunk; }
 | |
| 
 | |
| 	// SYNTHETIC: LEGO1 0x100b5a30
 | |
| 	// MxStreamChunkList::`scalar deleting destructor'
 | |
| };
 | |
| 
 | |
| // VTABLE: LEGO1 0x100dc510
 | |
| // SIZE 0x10
 | |
| class MxStreamChunkListCursor : public MxListCursor<MxStreamChunk*> {
 | |
| public:
 | |
| 	MxStreamChunkListCursor(MxStreamChunkList* p_list) : MxListCursor<MxStreamChunk*>(p_list){};
 | |
| };
 | |
| 
 | |
| // VTABLE: LEGO1 0x100dc528
 | |
| // class MxListCursor<MxStreamChunk *>
 | |
| 
 | |
| // TEMPLATE: LEGO1 0x100b5930
 | |
| // MxCollection<MxStreamChunk *>::Compare
 | |
| 
 | |
| // TEMPLATE: LEGO1 0x100b5940
 | |
| // MxCollection<MxStreamChunk *>::~MxCollection<MxStreamChunk *>
 | |
| 
 | |
| // TEMPLATE: LEGO1 0x100b5990
 | |
| // MxCollection<MxStreamChunk *>::Destroy
 | |
| 
 | |
| // TEMPLATE: LEGO1 0x100b59a0
 | |
| // MxList<MxStreamChunk *>::~MxList<MxStreamChunk *>
 | |
| 
 | |
| // SYNTHETIC: LEGO1 0x100b5aa0
 | |
| // MxCollection<MxStreamChunk *>::`scalar deleting destructor'
 | |
| 
 | |
| // SYNTHETIC: LEGO1 0x100b5b10
 | |
| // MxList<MxStreamChunk *>::`scalar deleting destructor'
 | |
| 
 | |
| #endif // MXSTREAMCHUNKLIST_H
 |