Isle
Loading...
Searching...
No Matches
legoweedge.h
Go to the documentation of this file.
1#ifndef __LEGOWEEDGE_H
2#define __LEGOWEEDGE_H
3
4#include "decomp.h"
5#include "misc/legotypes.h"
6
8
18public:
22 LegoWEEdge();
23
28 virtual ~LegoWEEdge(); // vtable+0x00
29
37 virtual LegoS32 VTable0x04(); // vtable+0x04
38
44
50
56 LegoU32 IsEqual(LegoWEEdge* p_other) { return this == p_other; }
57
64 void SetEdges(LegoUnknown100db7f4** p_edges, LegoU8 p_numEdges)
65 {
66 m_edges = p_edges;
67 m_numEdges = p_numEdges;
68 }
69
70 // SYNTHETIC: LEGO1 0x1009a570
71 // LegoWEEdge::`scalar deleting destructor'
72
73protected:
76};
77
78#endif // __LEGOWEEDGE_H
[AI] Represents a face (polygon) composed of a list of edges in the LEGO Island world engine.
Definition: legoweedge.h:17
void SetEdges(LegoUnknown100db7f4 **p_edges, LegoU8 p_numEdges)
[AI] Assigns the edge list and count for this face.
Definition: legoweedge.h:64
virtual LegoS32 VTable0x04()
[AI] Connects and links the associated edge objects to set up adjacency across the face.
Definition: legoweedge.cpp:23
LegoU8 m_numEdges
[AI] Number of edge elements in m_edges; number of sides of the polygon. [AI]
Definition: legoweedge.h:74
LegoU8 GetNumEdges()
[AI] Returns the number of edge elements assigned to this face.
Definition: legoweedge.h:43
LegoU32 IsEqual(LegoWEEdge *p_other)
[AI] Checks if this face object is the same as another.
Definition: legoweedge.h:56
LegoUnknown100db7f4 ** m_edges
[AI] Array of pointers to edge objects (LegoUnknown100db7f4) comprising this face....
Definition: legoweedge.h:75
LegoWEEdge()
[AI] Constructs a LegoWEEdge with no edges.
Definition: legoweedge.cpp:8
virtual ~LegoWEEdge()
[AI] Destroys the LegoWEEdge object, releasing memory used by its edge list.
Definition: legoweedge.cpp:15
LegoUnknown100db7f4 ** GetEdges()
[AI] Gets the array of pointers to the edge objects that form this face.
Definition: legoweedge.h:49
[AI] Defines basic fixed-width data types and platform-neutral constants for LEGO Island codebase.
unsigned long LegoU32
[AI] Unsigned 32-bit integer type for cross-platform compatibility.
Definition: legotypes.h:71
unsigned char LegoU8
[AI] Unsigned 8-bit integer type used throughout LEGO Island.
Definition: legotypes.h:47
long LegoS32
[AI] Signed 32-bit integer type for cross-platform compatibility.
Definition: legotypes.h:65
[AI] Represents an advanced edge in the LEGO Island geometry system, with direction,...