mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-26 01:44:19 +00:00 
			
		
		
		
	 cbc3d7227e
			
		
	
	cbc3d7227e
	
	
	
		
			
			* Implement/match `LegoWEGEdge::VTable0x04` * Implement/match `LegoWEGEdge::FUN_1009aea0` * Rename
		
			
				
	
	
		
			43 lines
		
	
	
		
			918 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			918 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef __LEGOWEEDGE_H
 | |
| #define __LEGOWEEDGE_H
 | |
| 
 | |
| #include "decomp.h"
 | |
| #include "misc/legotypes.h"
 | |
| 
 | |
| struct LegoUnknown100db7f4;
 | |
| 
 | |
| // might be a struct with public members
 | |
| // VTABLE: LEGO1 0x100db7c0
 | |
| // SIZE 0x0c
 | |
| class LegoWEEdge {
 | |
| public:
 | |
| 	LegoWEEdge();
 | |
| 	virtual ~LegoWEEdge(); // vtable+0x00
 | |
| 
 | |
| 	virtual LegoS32 VTable0x04(); // vtable+0x04
 | |
| 
 | |
| 	// FUNCTION: BETA10 0x1001c980
 | |
| 	LegoU8 GetNumEdges() { return m_numEdges; }
 | |
| 
 | |
| 	// FUNCTION: BETA10 0x1001cc30
 | |
| 	LegoUnknown100db7f4** GetEdges() { return m_edges; }
 | |
| 
 | |
| 	// FUNCTION: BETA10 0x100373f0
 | |
| 	LegoU32 IsEqual(LegoWEEdge* p_other) { return this == p_other; }
 | |
| 
 | |
| 	void SetEdges(LegoUnknown100db7f4** p_edges, LegoU8 p_numEdges)
 | |
| 	{
 | |
| 		m_edges = p_edges;
 | |
| 		m_numEdges = p_numEdges;
 | |
| 	}
 | |
| 
 | |
| 	// SYNTHETIC: LEGO1 0x1009a570
 | |
| 	// LegoWEEdge::`scalar deleting destructor'
 | |
| 
 | |
| protected:
 | |
| 	LegoU8 m_numEdges;             // 0x04
 | |
| 	LegoUnknown100db7f4** m_edges; // 0x08
 | |
| };
 | |
| 
 | |
| #endif // __LEGOWEEDGE_H
 |