2024-03-26 13:51:52 -04:00
|
|
|
#ifndef __LEGOWEEDGE_H
|
|
|
|
#define __LEGOWEEDGE_H
|
|
|
|
|
|
|
|
#include "decomp.h"
|
|
|
|
#include "misc/legotypes.h"
|
|
|
|
|
2024-08-04 15:13:12 -04:00
|
|
|
struct LegoUnknown100db7f4;
|
|
|
|
|
2024-05-11 13:55:28 -04:00
|
|
|
// might be a struct with public members
|
2024-03-26 13:51:52 -04:00
|
|
|
// VTABLE: LEGO1 0x100db7c0
|
|
|
|
// SIZE 0x0c
|
|
|
|
class LegoWEEdge {
|
|
|
|
public:
|
|
|
|
LegoWEEdge();
|
2024-04-09 05:25:24 -04:00
|
|
|
virtual ~LegoWEEdge(); // vtable+0x00
|
2024-03-26 13:51:52 -04:00
|
|
|
|
|
|
|
virtual LegoResult VTable0x04(); // vtable+0x04
|
|
|
|
|
2024-07-04 19:06:32 -04:00
|
|
|
LegoU8 GetNumEdges() { return m_numEdges; }
|
2024-07-07 08:10:46 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x1001cc30
|
2024-08-04 15:13:12 -04:00
|
|
|
LegoUnknown100db7f4** GetEdges() { return m_edges; }
|
2024-07-07 08:10:46 -04:00
|
|
|
|
2024-07-28 14:13:18 -04:00
|
|
|
// TODO: The assertion at BETA10 0x10037352 suggests that this function might take a pointer instead of a reference
|
|
|
|
// FUNCTION: BETA10 0x100373f0
|
2024-07-04 19:06:32 -04:00
|
|
|
LegoU32 IsEqual(LegoWEEdge& p_other) { return this == &p_other; }
|
2024-03-30 12:18:15 -04:00
|
|
|
|
2024-08-04 15:13:12 -04:00
|
|
|
void SetEdges(LegoUnknown100db7f4** p_edges, LegoU8 p_numEdges)
|
2024-05-11 13:55:28 -04:00
|
|
|
{
|
|
|
|
m_edges = p_edges;
|
|
|
|
m_numEdges = p_numEdges;
|
|
|
|
}
|
|
|
|
|
2024-03-26 13:51:52 -04:00
|
|
|
// SYNTHETIC: LEGO1 0x1009a570
|
|
|
|
// LegoWEEdge::`scalar deleting destructor'
|
|
|
|
|
|
|
|
protected:
|
2024-08-04 15:13:12 -04:00
|
|
|
LegoU8 m_numEdges; // 0x04
|
|
|
|
LegoUnknown100db7f4** m_edges; // 0x08
|
2024-03-26 13:51:52 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __LEGOWEEDGE_H
|